some work

This commit is contained in:
arcan1s
2014-09-18 21:57:59 +04:00
parent e64ca5ec08
commit 0b3832cc32
5 changed files with 18 additions and 9 deletions

View File

@ -18,22 +18,22 @@
#ifndef CUSTOMLABEL_H
#define CUSTOMLABEL_H
#include <Plasma/Label>
#include <QLabel>
class AwesomeWidget;
class CustomLabel : public Plasma::Label
class CustomLabel : public QLabel
{
Q_OBJECT
public:
CustomLabel(AwesomeWidget *wid, const bool debugCmd);
CustomLabel(AwesomeWidget *wid, const bool debugCmd = false);
~CustomLabel();
void setPopupEnabled(const bool state);
protected:
void mousePressEvent(QGraphicsSceneMouseEvent *event);
void mousePressEvent(QMouseEvent *event);
private:
AwesomeWidget *widget;