|
QtCanpool 3.3.0
|
Auto hide container for hosting an auto hide dock widget 更多...
#include <qxdock/dockautohidecontainer.h>

Public 类型 | |
| using | Super = QFrame |
Public 成员函数 | |
| DockAutoHideContainer (DockWidget *w, Qx::DockSideBarArea area, DockContainer *parent) | |
| virtual | ~DockAutoHideContainer () |
| DockSideBar * | autoHideSideBar () const |
| DockSideTab * | autoHideTab () const |
| int | tabIndex () const |
| Returns the index of this container in the sidebar | |
| DockWidget * | dockWidget () const |
| void | addDockWidget (DockWidget *w) |
| DockContainer * | dockContainer () const |
| Qx::DockSideBarArea | sideBarArea () const |
| void | cleanupAndDelete () |
| Cleanups up the side tab widget and then deletes itself | |
| void | moveContentsToParent () |
| Moves the contents to the parent container widget Used before removing this Auto Hide dock container | |
| void | moveToNewSideBarArea (Qx::DockSideBarArea area, int tabIndex=-1) |
| Removes the AutoHide container from the current side bar and adds it to the new side bar given in area | |
| void | toggleView (bool enable) |
| void | collapseView (bool enable) |
| void | toggleCollapseState () |
| Toggles the current collapse state | |
| void | setSize (int size) |
| Use this instead of resize. | |
| void | resetToInitialDockWidgetSize () |
| Resets the width or height to the initial dock widget size dependinng on the orientation. | |
| Qt::Orientation | orientation () const |
| Returns orientation of this container. | |
Protected 成员函数 | |
| virtual bool | eventFilter (QObject *watched, QEvent *event) override |
| virtual void | resizeEvent (QResizeEvent *event) override |
| virtual void | leaveEvent (QEvent *event) override |
| virtual bool | event (QEvent *event) override |
| void | updateSize () |
| Updates the size considering the size limits and the resize margins | |
| void | saveState (QXmlStreamWriter &s) const |
友元 | |
| class | DockSideBar |
Auto hide container for hosting an auto hide dock widget
在文件 dockautohidecontainer.h 第 24 行定义.
| using QxDock::DockAutoHideContainer::Super = QFrame |
在文件 dockautohidecontainer.h 第 29 行定义.
| QxDock::DockAutoHideContainer::DockAutoHideContainer | ( | DockWidget * | w, |
| Qx::DockSideBarArea | area, | ||
| DockContainer * | parent | ||
| ) |
在文件 dockautohidecontainer.cpp 第 176 行定义.
|
virtual |
在文件 dockautohidecontainer.cpp 第 215 行定义.
| void QxDock::DockAutoHideContainer::addDockWidget | ( | DockWidget * | w | ) |
在文件 dockautohidecontainer.cpp 第 262 行定义.
| DockSideBar * QxDock::DockAutoHideContainer::autoHideSideBar | ( | ) | const |
在文件 dockautohidecontainer.cpp 第 230 行定义.
| DockSideTab * QxDock::DockAutoHideContainer::autoHideTab | ( | ) | const |
在文件 dockautohidecontainer.cpp 第 241 行定义.
| void QxDock::DockAutoHideContainer::cleanupAndDelete | ( | ) |
Cleanups up the side tab widget and then deletes itself
在文件 dockautohidecontainer.cpp 第 323 行定义.
| void QxDock::DockAutoHideContainer::collapseView | ( | bool | enable | ) |
在文件 dockautohidecontainer.cpp 第 399 行定义.
| DockContainer * QxDock::DockAutoHideContainer::dockContainer | ( | ) | const |
在文件 dockautohidecontainer.cpp 第 289 行定义.
| DockWidget * QxDock::DockAutoHideContainer::dockWidget | ( | ) | const |
在文件 dockautohidecontainer.cpp 第 256 行定义.
|
overrideprotectedvirtual |
在文件 dockautohidecontainer.cpp 第 548 行定义.
|
overrideprotectedvirtual |
在文件 dockautohidecontainer.cpp 第 472 行定义.
|
overrideprotectedvirtual |
在文件 dockautohidecontainer.cpp 第 535 行定义.
| void QxDock::DockAutoHideContainer::moveContentsToParent | ( | ) |
Moves the contents to the parent container widget Used before removing this Auto Hide dock container
在文件 dockautohidecontainer.cpp 第 342 行定义.
| void QxDock::DockAutoHideContainer::moveToNewSideBarArea | ( | Qx::DockSideBarArea | area, |
| int | tabIndex = -1 |
||
| ) |
Removes the AutoHide container from the current side bar and adds it to the new side bar given in area
在文件 dockautohidecontainer.cpp 第 358 行定义.
| Qt::Orientation QxDock::DockAutoHideContainer::orientation | ( | ) | const |
Returns orientation of this container.
Left and right containers have a Qt::Vertical orientation and top / bottom containers have a Qt::Horizontal orientation. The function returns the orientation of the corresponding auto hide side bar.
在文件 dockautohidecontainer.cpp 第 466 行定义.
| void QxDock::DockAutoHideContainer::resetToInitialDockWidgetSize | ( | ) |
Resets the width or height to the initial dock widget size dependinng on the orientation.
If the orientation is Qt::Horizontal, then the height is reset to the initial size and if orientation is Qt::Vertical, then the width is reset to the initial size
在文件 dockautohidecontainer.cpp 第 449 行定义.
|
overrideprotectedvirtual |
在文件 dockautohidecontainer.cpp 第 525 行定义.
|
protected |
在文件 dockautohidecontainer.cpp 第 616 行定义.
| void QxDock::DockAutoHideContainer::setSize | ( | int | size | ) |
Use this instead of resize.
Depending on the sidebar area this will set the width or height of this auto hide container.
在文件 dockautohidecontainer.cpp 第 430 行定义.
| Qx::DockSideBarArea QxDock::DockAutoHideContainer::sideBarArea | ( | ) | const |
在文件 dockautohidecontainer.cpp 第 294 行定义.
| int QxDock::DockAutoHideContainer::tabIndex | ( | ) | const |
Returns the index of this container in the sidebar
在文件 dockautohidecontainer.cpp 第 250 行定义.
| void QxDock::DockAutoHideContainer::toggleCollapseState | ( | ) |
Toggles the current collapse state
在文件 dockautohidecontainer.cpp 第 420 行定义.
| void QxDock::DockAutoHideContainer::toggleView | ( | bool | enable | ) |
在文件 dockautohidecontainer.cpp 第 379 行定义.
|
protected |
Updates the size considering the size limits and the resize margins
在文件 dockautohidecontainer.cpp 第 571 行定义.
|
friend |
在文件 dockautohidecontainer.h 第 69 行定义.