KDDockWidgets API Documentation 2.1
|
The interface that Stack views share. More...
#include <StackViewInterface.h>
Public Member Functions | |
StackViewInterface (Stack *) | |
virtual | ~StackViewInterface () |
virtual bool | isPositionDraggable (Point p) const |
Reimplement if you want to support dragging by QTabWidget instead of TitleBar This is only implemented by QtWidgets. Instead of reimplementing this, consider reimplementing TabBarViewInterface::isPositionDraggable() instead. This exists only because the background of QTabBar is the QTabWidget, which probably isn't true for other frontends. | |
virtual void | setDocumentMode (bool) |
Sets QTabWidget::documentMode(). Only implemented for QtWidgets. Probably not interesting for other frontends to implement, therefore it's not pure-virtual. | |
Protected Member Functions | |
StackViewInterface (const StackViewInterface &)=delete | |
StackViewInterface & | operator= (const StackViewInterface &)=delete |
Protected Attributes | |
Stack *const | m_stack |
The interface that Stack views share.
Definition at line 24 of file StackViewInterface.h.
|
explicit |
Definition at line 18 of file StackViewInterface.cpp.
|
virtualdefault |
|
protecteddelete |
|
virtual |
Reimplement if you want to support dragging by QTabWidget instead of TitleBar This is only implemented by QtWidgets. Instead of reimplementing this, consider reimplementing TabBarViewInterface::isPositionDraggable() instead. This exists only because the background of QTabBar is the QTabWidget, which probably isn't true for other frontends.
Reimplemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper, and KDDockWidgets::flutter::Stack.
Definition at line 25 of file StackViewInterface.cpp.
|
protecteddelete |
|
virtual |
Sets QTabWidget::documentMode(). Only implemented for QtWidgets. Probably not interesting for other frontends to implement, therefore it's not pure-virtual.
Reimplemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper, KDDockWidgets::flutter::Stack, and KDDockWidgets::QtWidgets::Stack.
Definition at line 30 of file StackViewInterface.cpp.
|
protected |
Definition at line 42 of file StackViewInterface.h.
Referenced by KDDockWidgets::QtWidgets::Stack::init(), KDDockWidgets::QtWidgets::Stack::mouseDoubleClickEvent(), KDDockWidgets::QtWidgets::Stack::mousePressEvent(), KDDockWidgets::QtWidgets::Stack::stack(), and KDDockWidgets::QtWidgets::Stack::tabBar().