#include <DockAreaTitleBar_p.h>
Public Types | |
using | Super = tTitleBarButton |
Public Member Functions | |
CTitleBarButton (bool visible=true, QWidget *parent=nullptr) | |
virtual void | setVisible (bool visible) override |
Protected Member Functions | |
bool | event (QEvent *ev) override |
Private Attributes | |
bool | HideWhenDisabled = false |
bool | Visible = true |
Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour according to various config flags such as: CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled
Definition at line 48 of file DockAreaTitleBar_p.h.
Definition at line 57 of file DockAreaTitleBar_p.h.
ads::CTitleBarButton::CTitleBarButton | ( | bool | visible = true , |
QWidget * | parent = nullptr |
||
) |
Definition at line 606 of file DockAreaTitleBar.cpp.
|
overrideprotected |
Handle EnabledChanged signal to set button invisible if the configured
Definition at line 630 of file DockAreaTitleBar.cpp.
|
overridevirtual |
Adjust this visibility change request with our internal settings:
Definition at line 615 of file DockAreaTitleBar.cpp.
|
private |
Definition at line 54 of file DockAreaTitleBar_p.h.
|
private |
Definition at line 53 of file DockAreaTitleBar_p.h.