|
QtCanpool 3.3.0
|
Title bar button of a dock area that customizes QToolButton appearance/behaviour according to various config flags such as: DockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible DockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled 更多...
#include <qxdock/docktitlebar_p.h>

Public 类型 | |
| using | Super = QToolButton |
Public 成员函数 | |
| TitleBarButton (bool showInTitleBar, bool hideWhenDisabled, Qx::DockTitleBarButton id, QWidget *parent=nullptr) | |
| void | setShowInTitleBar (bool show) |
| DockTitleBar * | titleBar () const |
| bool | isInAutoHideArea () const |
| virtual void | setVisible (bool visible) override |
| Adjust this visibility change request with our internal settings: | |
Public 属性 | |
| Qx::DockTitleBarButton | m_id |
| bool | m_showInTitleBar = true |
| bool | m_hideWhenDisabled = false |
Protected 成员函数 | |
| bool | event (QEvent *e) override |
| Handle EnabledChanged signal to set button invisible if the configured | |
Title bar button of a dock area that customizes QToolButton appearance/behaviour according to various config flags such as: DockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible DockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled
在文件 docktitlebar_p.h 第 20 行定义.
| using QxDock::TitleBarButton::Super = QToolButton |
在文件 docktitlebar_p.h 第 24 行定义.
| QxDock::TitleBarButton::TitleBarButton | ( | bool | showInTitleBar, |
| bool | hideWhenDisabled, | ||
| Qx::DockTitleBarButton | id, | ||
| QWidget * | parent = nullptr |
||
| ) |
在文件 docktitlebar.cpp 第 30 行定义.
|
overrideprotected |
Handle EnabledChanged signal to set button invisible if the configured
在文件 docktitlebar.cpp 第 78 行定义.
| bool QxDock::TitleBarButton::isInAutoHideArea | ( | ) | const |
在文件 docktitlebar.cpp 第 52 行定义.
| void QxDock::TitleBarButton::setShowInTitleBar | ( | bool | show | ) |
在文件 docktitlebar.cpp 第 39 行定义.
|
overridevirtual |
Adjust this visibility change request with our internal settings:
在文件 docktitlebar.cpp 第 61 行定义.
| DockTitleBar * QxDock::TitleBarButton::titleBar | ( | ) | const |
在文件 docktitlebar.cpp 第 47 行定义.
| bool QxDock::TitleBarButton::m_hideWhenDisabled = false |
在文件 docktitlebar_p.h 第 37 行定义.
| Qx::DockTitleBarButton QxDock::TitleBarButton::m_id |
在文件 docktitlebar_p.h 第 35 行定义.
| bool QxDock::TitleBarButton::m_showInTitleBar = true |
在文件 docktitlebar_p.h 第 36 行定义.