classic fourtf commit

This commit is contained in:
fourtf
2017-01-01 02:30:42 +01:00
parent a175c0a54c
commit 8b8b9706b3
40 changed files with 645 additions and 75 deletions
+10
View File
@@ -21,6 +21,13 @@ public:
bool getSelected();
void setSelected(bool value);
int getHighlightStyle();
void setHighlightStyle(int style);
static const int HighlightNone = 0;
static const int HighlightHighlighted = 1;
static const int HighlightNewMessage = 2;
protected:
void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
@@ -29,12 +36,15 @@ protected:
void enterEvent(QEvent *) Q_DECL_OVERRIDE;
void leaveEvent(QEvent *) Q_DECL_OVERRIDE;
void dragEnterEvent(QDragEnterEvent *event) Q_DECL_OVERRIDE;
private:
Notebook *notebook;
bool selected = false;
bool mouseOver = false;
bool mouseDown = false;
int highlightStyle;
};
#endif // NOTEBOOKTAB_H