|
QtCanpool 3.3.0
|
A dock widget Side tab that shows a title or an icon. 更多...
#include <qxdock/docksidetab.h>

Public 类型 | |
| using | Super = DockButton |
Public 类型 继承自 QxDock::DockButton | |
| enum | Orientation { Horizontal , VerticalTopToBottom , VerticalBottomToTop } |
Public 成员函数 | |
| DockSideTab (QWidget *parent=nullptr) | |
| virtual | ~DockSideTab () |
| DockWidget * | dockWidget () const |
| void | setDockWidget (DockWidget *w) |
| Qt::Orientation | orientation () const |
| void | setOrientation (Qt::Orientation orientation) |
| Set orientation vertical or horizontal | |
| void | updateStyle () |
| Qx::DockSideBarArea | sideBarArea () const |
| bool | isActiveTab () const |
| Returns true, if this is the active tab. | |
| bool | iconOnly () const |
| Returns true if the auto hide config flag AutoHideSideBarsIconOnly is set and if the tab has an icon - that means the icon is not null | |
| DockSideBar * | sideBar () const |
| Returns the side bar that contains this tab or a nullptr if the tab is not in a side bar | |
| int | tabIndex () const |
| Returns the index of this tab in the sideBar | |
| void | setDockWidgetFloating () |
| void | unpinDockWidget () |
| void | requestCloseDockWidget () |
| void | onAutoHideToActionClicked () |
Public 成员函数 继承自 QxDock::DockButton | |
| DockButton (QWidget *parent=nullptr) | |
| virtual | ~DockButton () |
| virtual QSize | sizeHint () const override |
| Orientation | buttonOrientation () const |
| void | setButtonOrientation (Orientation orientation) |
Protected 成员函数 | |
| void | setSideBar (DockSideBar *sideBar) |
| void | removeFromSideBar () |
| virtual bool | event (QEvent *e) override |
| virtual void | mousePressEvent (QMouseEvent *e) override |
| virtual void | mouseReleaseEvent (QMouseEvent *e) override |
| virtual void | mouseMoveEvent (QMouseEvent *e) override |
| virtual void | contextMenuEvent (QContextMenuEvent *e) override |
Protected 成员函数 继承自 QxDock::DockButton | |
| virtual void | paintEvent (QPaintEvent *event) override |
友元 | |
| class | DockSideBar |
| class | DockAutoHideContainer |
A dock widget Side tab that shows a title or an icon.
The dock widget tab is shown in the side tab bar to switch between pinned dock widgets
在文件 docksidetab.h 第 22 行定义.
| using QxDock::DockSideTab::Super = DockButton |
在文件 docksidetab.h 第 30 行定义.
|
explicit |
在文件 docksidetab.cpp 第 156 行定义.
|
virtual |
在文件 docksidetab.cpp 第 164 行定义.
|
overrideprotectedvirtual |
在文件 docksidetab.cpp 第 428 行定义.
| DockWidget * QxDock::DockSideTab::dockWidget | ( | ) | const |
在文件 docksidetab.cpp 第 169 行定义.
|
overrideprotectedvirtual |
在文件 docksidetab.cpp 第 316 行定义.
| bool QxDock::DockSideTab::iconOnly | ( | ) | const |
Returns true if the auto hide config flag AutoHideSideBarsIconOnly is set and if the tab has an icon - that means the icon is not null
在文件 docksidetab.cpp 第 244 行定义.
| bool QxDock::DockSideTab::isActiveTab | ( | ) | const |
Returns true, if this is the active tab.
The tab is active if the auto hide widget is visible
在文件 docksidetab.cpp 第 230 行定义.
|
overrideprotectedvirtual |
在文件 docksidetab.cpp 第 388 行定义.
|
overrideprotectedvirtual |
在文件 docksidetab.cpp 第 335 行定义.
|
overrideprotectedvirtual |
在文件 docksidetab.cpp 第 358 行定义.
| void QxDock::DockSideTab::onAutoHideToActionClicked | ( | ) |
在文件 docksidetab.cpp 第 290 行定义.
| Qt::Orientation QxDock::DockSideTab::orientation | ( | ) | const |
在文件 docksidetab.cpp 第 187 行定义.
|
protected |
在文件 docksidetab.cpp 第 306 行定义.
| void QxDock::DockSideTab::requestCloseDockWidget | ( | ) |
在文件 docksidetab.cpp 第 284 行定义.
| void QxDock::DockSideTab::setDockWidget | ( | DockWidget * | w | ) |
在文件 docksidetab.cpp 第 175 行定义.
| void QxDock::DockSideTab::setDockWidgetFloating | ( | ) |
在文件 docksidetab.cpp 第 272 行定义.
| void QxDock::DockSideTab::setOrientation | ( | Qt::Orientation | orientation | ) |
Set orientation vertical or horizontal
在文件 docksidetab.cpp 第 196 行定义.
|
protected |
在文件 docksidetab.cpp 第 297 行定义.
| DockSideBar * QxDock::DockSideTab::sideBar | ( | ) | const |
Returns the side bar that contains this tab or a nullptr if the tab is not in a side bar
在文件 docksidetab.cpp 第 253 行定义.
| Qx::DockSideBarArea QxDock::DockSideTab::sideBarArea | ( | ) | const |
在文件 docksidetab.cpp 第 216 行定义.
| int QxDock::DockSideTab::tabIndex | ( | ) | const |
Returns the index of this tab in the sideBar
在文件 docksidetab.cpp 第 262 行定义.
| void QxDock::DockSideTab::unpinDockWidget | ( | ) |
在文件 docksidetab.cpp 第 278 行定义.
| void QxDock::DockSideTab::updateStyle | ( | ) |
在文件 docksidetab.cpp 第 210 行定义.
|
friend |
在文件 docksidetab.h 第 68 行定义.
|
friend |
在文件 docksidetab.h 第 67 行定义.