KDDockWidgets API Documentation 2.1
|
The interface that Frame views should implement. More...
#include <GroupViewInterface.h>
Public Member Functions | |
GroupViewInterface (Group *) | |
virtual | ~GroupViewInterface () |
virtual Rect | dragRect () const |
the rect that should start a drag. Only relevant if the title bar isn't visible. For normal KDDW usage this method doesn't need to be reimplemented. | |
Group * | group () const |
virtual void | insertDockWidget (DockWidget *, int index) |
bool | isMDI () const |
virtual int | nonContentsHeight () const =0 |
Returns the height of the "non-dockwidget" part. i.e.: the height of the titlebar (if any), + height of tabbar (if any) + any margins. Should be implemented by frontend developers, as KDDW doesn't know the layout of the group. This is used to honour minimum-sizes of dock widgets. | |
virtual void | removeDockWidget (DockWidget *) |
Protected Member Functions | |
GroupViewInterface (const GroupViewInterface &)=delete | |
GroupViewInterface & | operator= (const GroupViewInterface &)=delete |
Protected Attributes | |
Group *const | m_group |
The interface that Frame views should implement.
Definition at line 24 of file GroupViewInterface.h.
|
explicit |
Definition at line 19 of file GroupViewInterface.cpp.
|
virtualdefault |
|
protecteddelete |
|
virtual |
the rect that should start a drag. Only relevant if the title bar isn't visible. For normal KDDW usage this method doesn't need to be reimplemented.
Reimplemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Group_wrapper, KDDockWidgets::flutter::Group, and KDDockWidgets::QtWidgets::Group.
Definition at line 36 of file GroupViewInterface.cpp.
Group * KDDockWidgets::Core::GroupViewInterface::group | ( | ) | const |
Definition at line 31 of file GroupViewInterface.cpp.
References m_group.
|
virtual |
Reimplemented in KDDockWidgets::QtQuick::Group.
Definition at line 46 of file GroupViewInterface.cpp.
References KDDockWidgets::Core::Stack::insertDockWidget(), m_group, and KDDockWidgets::Core::Group::stack().
bool KDDockWidgets::Core::GroupViewInterface::isMDI | ( | ) | const |
Definition at line 26 of file GroupViewInterface.cpp.
References KDDockWidgets::Core::Group::isMDI(), and m_group.
|
pure virtual |
Returns the height of the "non-dockwidget" part. i.e.: the height of the titlebar (if any), + height of tabbar (if any) + any margins. Should be implemented by frontend developers, as KDDW doesn't know the layout of the group. This is used to honour minimum-sizes of dock widgets.
Implemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Group_wrapper, KDDockWidgets::flutter::Group, KDDockWidgets::QtQuick::Group, and KDDockWidgets::QtWidgets::Group.
|
protecteddelete |
|
virtual |
Reimplemented in KDDockWidgets::QtQuick::Group.
Definition at line 41 of file GroupViewInterface.cpp.
References m_group, KDDockWidgets::Core::TabBar::removeDockWidget(), and KDDockWidgets::Core::Group::tabBar().
|
protected |
Definition at line 47 of file GroupViewInterface.h.
Referenced by KDDockWidgets::QtQuick::Group::actualTitleBar(), KDDockWidgets::QtQuick::Group::currentIndex(), KDDockWidgets::QtWidgets::Group::dragRect(), group(), KDDockWidgets::QtWidgets::Group::init(), KDDockWidgets::QtQuick::Group::insertDockWidget(), insertDockWidget(), isMDI(), KDDockWidgets::QtQuick::Group::maxSizeHint(), KDDockWidgets::QtWidgets::Group::maxSizeHint(), KDDockWidgets::flutter::Group::minSize(), KDDockWidgets::QtQuick::Group::minSize(), KDDockWidgets::QtWidgets::Group::nonContentsHeight(), KDDockWidgets::QtWidgets::Group::paintEvent(), KDDockWidgets::QtQuick::Group::removeDockWidget(), removeDockWidget(), KDDockWidgets::QtQuick::Group::setMDISize(), KDDockWidgets::QtQuick::Group::startMDIResize(), KDDockWidgets::QtQuick::Group::titleBar(), and KDDockWidgets::QtQuick::Group::updateConstraints().