#include <rcp/ViewPartTitleBar.h>
◆ ViewPartTitleBar()
◆ onFloating
◆ setHighlight()
void setHighlight |
( |
bool |
on | ) |
|
|
inherited |
enables/disables highlighted title bar
◆ update()
updates the TitleBar (e.g. necessary after the title was changed)
◆ takeRightButtons()
QWidget* takeRightButtons |
( |
| ) |
|
|
inherited |
Returns a widget containing all buttons of the title bars right side.
The widget can be placed somewhere else and later put back using putBackRightButtons(). This is useful, when the icons should be placed into a different widget than this title bar, e.g. when the window is maximized and the title bar is hidden.
◆ putBackRightButtons()
void putBackRightButtons |
( |
| ) |
|
|
inherited |
Puts back the right buttons, that were taken using the above method.
◆ takeLeftButtons()
QWidget* takeLeftButtons |
( |
| ) |
|
|
inherited |
Returns a widget containing all buttons of the title bars left side.
The widget can be placed somewhere else and late put back using putBackLeftButtons(). This is useful, when the icons should be placed into a different widget than this title bar, e.g. when the window is maximized and the title bar is hidden.
◆ putBackLeftButtons()
void putBackLeftButtons |
( |
| ) |
|
|
inherited |
Puts back the left buttons, that were taken using the above method.
◆ insertRightButton()
void insertRightButton |
( |
QToolButton * |
button, |
|
|
int |
index = 0 |
|
) |
| |
|
inherited |
Inserts the specified button within the right button group at the given index.
The default index is 0 which will add the button on the left side. Note that the parent of the button will be changed to the right button group widget.
◆ insertLeftButton()
void insertLeftButton |
( |
QToolButton * |
button, |
|
|
int |
index = -1 |
|
) |
| |
|
inherited |
Inserts the specified button within the left button group at the given index.
The default index is -1 which will add the button on the right side. Note that the parent of the button will be changed to the left button group widget.
◆ getMenu()
Returns the menu of the menu button in order to add new items to the menu.
Calling this method also makes the menu button visible.
◆ eventFilter()
bool eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
event |
|
) |
| |
|
protectedinherited |
◆ paintEvent()
void paintEvent |
( |
QPaintEvent * |
| ) |
|
|
protectedinherited |
◆ resizeEvent()
void resizeEvent |
( |
QResizeEvent * |
| ) |
|
|
protectedinherited |
◆ updateBackground()
void updateBackground |
( |
| ) |
|
|
protectedinherited |
◆ ViewPart
◆ mParent
◆ mLayout
◆ mLeftLayout
◆ mRightLayout
QHBoxLayout* mRightLayout |
|
protectedinherited |
◆ mMenuBtn
◆ mClose
◆ mDock
◆ mUndock
◆ mMaximize
◆ mMinimize
◆ mRestore
◆ mLeftButtons
◆ mRightButtons
◆ mMenu
◆ mBackground
◆ mIsHighlighted
The documentation for this class was generated from the following file: