@@ -2,6 +2,7 @@
|
||||
|
||||
#include "widgets/basewidget.hpp"
|
||||
|
||||
#include <QMenu>
|
||||
#include <QPropertyAnimation>
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
#include <boost/signals2.hpp>
|
||||
@@ -64,8 +65,12 @@ private:
|
||||
|
||||
Notebook *notebook;
|
||||
|
||||
QString title = "<no title>";
|
||||
QString title;
|
||||
|
||||
public:
|
||||
bool useDefaultBehaviour = true;
|
||||
|
||||
private:
|
||||
bool selected = false;
|
||||
bool mouseOver = false;
|
||||
bool mouseDown = false;
|
||||
@@ -74,6 +79,8 @@ private:
|
||||
|
||||
HighlightStyle highlightStyle = HighlightStyle::HighlightNone;
|
||||
|
||||
QMenu menu;
|
||||
|
||||
QRect getXRect()
|
||||
{
|
||||
return QRect(this->width() - 20, 4, 16, 16);
|
||||
|
||||
Reference in New Issue
Block a user