48 #ifndef _MIRA_TITLEBAR_H_ 49 #define _MIRA_TITLEBAR_H_ 52 #include <QToolButton> 53 #include <QHBoxLayout> 81 void setHighlight(
bool on);
96 QWidget* takeRightButtons();
99 void putBackRightButtons();
109 QWidget* takeLeftButtons();
112 void putBackLeftButtons();
120 void insertRightButton(QToolButton* button,
int index = 0);
129 void insertLeftButton(QToolButton* button,
int index = -1);
141 bool eventFilter( QObject* obj, QEvent* event);
143 void paintEvent(QPaintEvent*);
144 void resizeEvent(QResizeEvent*);
148 void updateBackground();
bool mIsHighlighted
Definition: TitleBar.h:170
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
QWidget * mParent
Definition: TitleBar.h:167
QToolButton * mMenuBtn
Definition: TitleBar.h:155
QWidget * mLeftButtons
Definition: TitleBar.h:162
QToolButton * mDock
Definition: TitleBar.h:157
QHBoxLayout * mLeftLayout
Definition: TitleBar.h:153
QMenu * mMenu
Definition: TitleBar.h:165
Base class for all window title bars (EditorPartTitleBar, ViewPartTitleBar).
Definition: TitleBar.h:70
QToolButton * mClose
Definition: TitleBar.h:156
Gui export macro declaration.
QHBoxLayout * mLayout
Definition: TitleBar.h:152
QPixmap * mBackground
Definition: TitleBar.h:168
QToolButton * mRestore
Definition: TitleBar.h:161
#define MIRA_GUI_RCP_EXPORT
Definition: GuiRCPExports.h:61
QToolButton * mUndock
Definition: TitleBar.h:158
QHBoxLayout * mRightLayout
Definition: TitleBar.h:154
QToolButton * mMinimize
Definition: TitleBar.h:160
QToolButton * mMaximize
Definition: TitleBar.h:159
QWidget * mRightButtons
Definition: TitleBar.h:163