KDDockWidgets API Documentation 2.1
|
#include <Stack_c.h>
Public Types | |
typedef bool(* | Callback_isMDI) (void *) |
typedef bool(* | Callback_isPositionDraggable) (void *, KDDockWidgets::Point *p) |
typedef bool(* | Callback_isWindow) (void *) |
typedef void(* | Callback_setParentView_impl) (void *, KDDockWidgets::Core::View *parent) |
typedef KDDockWidgets::Core::DockWidget *(* | Callback_singleDockWidget) (void *) |
Public Member Functions | |
~Stack_wrapper () | |
void | addDockWidget (KDDockWidgets::Core::DockWidget *arg__1) |
bool | contains (KDDockWidgets::Core::DockWidget *dw) const |
KDDockWidgets::Core::Group * | group () const |
bool | insertDockWidget (KDDockWidgets::Core::DockWidget *dockwidget, int index) |
virtual bool | isMDI () const |
virtual bool | isMDI_nocallback () const |
virtual bool | isPositionDraggable (KDDockWidgets::Point p) const |
virtual bool | isPositionDraggable_nocallback (KDDockWidgets::Point p) const |
virtual bool | isWindow () const |
virtual bool | isWindow_nocallback () const |
int | numDockWidgets () const |
bool | onMouseDoubleClick (KDDockWidgets::Point localPos) |
void | setDocumentMode (bool arg__1) |
virtual void | setParentView_impl (KDDockWidgets::Core::View *parent) |
virtual void | setParentView_impl_nocallback (KDDockWidgets::Core::View *parent) |
void | setTabBarAutoHide (bool arg__1) |
KDDockWidgets::Core::TabBar * | tabBar () const |
bool | tabBarAutoHide () const |
Public Member Functions inherited from KDDockWidgets::Core::Stack | |
Stack (Group *, StackOptions) | |
virtual | ~Stack () override |
void | addDockWidget (DockWidget *) |
appends a dock widget into this TabWidget | |
bool | buttonHidesIfDisabled (TitleBarButtonType) const |
bool | contains (DockWidget *dw) const |
Returns whether dockwidget dw is contained in this tab widget Equivalent to indexOf(dw) != -1. | |
Group * | group () const |
getter for the group | |
bool | insertDockWidget (DockWidget *dockwidget, int index) |
inserts dockwidget into the TabWidget, at index | |
bool | isMDI () const override |
bool | isPositionDraggable (Point p) const override |
bool | isWindow () const override |
std::unique_ptr< WindowBeingDragged > | makeWindow () override |
int | numDockWidgets () const |
returns the number of dock widgets in this TabWidget | |
bool | onMouseDoubleClick (Point localPos) |
StackOptions | options () const |
void | setDocumentMode (bool) |
Enables document mode. Default is false. | |
void | setHideDisabledButtons (TitleBarButtonTypes) |
void | setTabBarAutoHide (bool) |
DockWidget * | singleDockWidget () const override final |
Core::TabBar * | tabBar () const |
Returns the tab bar. | |
bool | tabBarAutoHide () const |
Public Member Functions inherited from KDDockWidgets::Core::Controller | |
Controller (ViewType type, View *) | |
virtual | ~Controller () |
bool | close () |
void | destroyLater () |
Controller::Private * | dptr () const |
Rect | geometry () const |
int | height () const |
bool | inDtor () const |
bool | is (ViewType) const |
Returns whether this controller is of the specified type. | |
bool | isFixedHeight () const |
bool | isFixedWidth () const |
bool | isVisible () const |
Point | mapToGlobal (Point) const |
Point | pos () const |
Rect | rect () const |
void | setParentView (View *parent) |
void | setVisible (bool) |
void | show () const |
Size | size () const |
ViewType | type () const |
Returns the type of this controller. | |
View * | view () const |
Returns the view associated with this controller, if any. | |
int | width () const |
std::shared_ptr< View > | window () const |
int | x () const |
int | y () const |
Public Attributes | |
Callback_isMDI | m_isMDICallback = nullptr |
Callback_isPositionDraggable | m_isPositionDraggableCallback = nullptr |
Callback_isWindow | m_isWindowCallback = nullptr |
Callback_setParentView_impl | m_setParentView_implCallback = nullptr |
Callback_singleDockWidget | m_singleDockWidgetCallback = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from KDDockWidgets::Core::Controller | |
bool | m_inDtor = false |
Definition at line 21 of file KDDWBindingsCore/Stack_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::Callback_isMDI) (void *) |
Definition at line 43 of file KDDWBindingsCore/Stack_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::Callback_isPositionDraggable) (void *, KDDockWidgets::Point *p) |
Definition at line 45 of file KDDWBindingsCore/Stack_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::Callback_isWindow) (void *) |
Definition at line 47 of file KDDWBindingsCore/Stack_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::Callback_setParentView_impl) (void *, KDDockWidgets::Core::View *parent) |
Definition at line 49 of file KDDWBindingsCore/Stack_c.h.
typedef KDDockWidgets::Core::DockWidget *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::Callback_singleDockWidget) (void *) |
Definition at line 51 of file KDDWBindingsCore/Stack_c.h.
KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::~Stack_wrapper | ( | ) |
Definition at line 125 of file KDDWBindingsCore/Stack_c.cpp.
void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::addDockWidget | ( | KDDockWidgets::Core::DockWidget * | arg__1 | ) |
Definition at line 33 of file KDDWBindingsCore/Stack_c.cpp.
References KDDockWidgets::Core::Stack::addDockWidget().
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::contains | ( | KDDockWidgets::Core::DockWidget * | dw | ) | const |
Definition at line 37 of file KDDWBindingsCore/Stack_c.cpp.
KDDockWidgets::Core::Group * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::group | ( | ) | const |
Definition at line 41 of file KDDWBindingsCore/Stack_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::insertDockWidget | ( | KDDockWidgets::Core::DockWidget * | dockwidget, |
int | index | ||
) |
Definition at line 45 of file KDDWBindingsCore/Stack_c.cpp.
|
virtual |
Definition at line 49 of file KDDWBindingsCore/Stack_c.cpp.
References m_isMDICallback.
|
virtual |
Definition at line 58 of file KDDWBindingsCore/Stack_c.cpp.
Referenced by c_KDDockWidgets__Core__Stack__isMDI().
|
virtual |
Definition at line 62 of file KDDWBindingsCore/Stack_c.cpp.
References m_isPositionDraggableCallback.
|
virtual |
Definition at line 71 of file KDDWBindingsCore/Stack_c.cpp.
Referenced by c_KDDockWidgets__Core__Stack__isPositionDraggable_Point().
|
virtual |
Definition at line 75 of file KDDWBindingsCore/Stack_c.cpp.
References m_isWindowCallback.
|
virtual |
Definition at line 84 of file KDDWBindingsCore/Stack_c.cpp.
Referenced by c_KDDockWidgets__Core__Stack__isWindow().
int KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::numDockWidgets | ( | ) | const |
Definition at line 88 of file KDDWBindingsCore/Stack_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::onMouseDoubleClick | ( | KDDockWidgets::Point | localPos | ) |
Definition at line 92 of file KDDWBindingsCore/Stack_c.cpp.
void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::setDocumentMode | ( | bool | arg__1 | ) |
Definition at line 96 of file KDDWBindingsCore/Stack_c.cpp.
References KDDockWidgets::Core::Stack::setDocumentMode().
|
virtual |
Reimplemented from KDDockWidgets::Core::Controller.
Definition at line 100 of file KDDWBindingsCore/Stack_c.cpp.
References m_setParentView_implCallback, and KDDockWidgets::Core::Controller::setParentView_impl().
|
virtual |
Definition at line 109 of file KDDWBindingsCore/Stack_c.cpp.
References KDDockWidgets::Core::Controller::setParentView_impl().
Referenced by c_KDDockWidgets__Core__Stack__setParentView_impl_View().
void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::setTabBarAutoHide | ( | bool | arg__1 | ) |
Definition at line 113 of file KDDWBindingsCore/Stack_c.cpp.
References KDDockWidgets::Core::Stack::setTabBarAutoHide().
KDDockWidgets::Core::TabBar * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::tabBar | ( | ) | const |
Definition at line 117 of file KDDWBindingsCore/Stack_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::tabBarAutoHide | ( | ) | const |
Definition at line 121 of file KDDWBindingsCore/Stack_c.cpp.
Callback_isMDI KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::m_isMDICallback = nullptr |
Definition at line 44 of file KDDWBindingsCore/Stack_c.h.
Referenced by isMDI().
Callback_isPositionDraggable KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::m_isPositionDraggableCallback = nullptr |
Definition at line 46 of file KDDWBindingsCore/Stack_c.h.
Referenced by isPositionDraggable().
Callback_isWindow KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::m_isWindowCallback = nullptr |
Definition at line 48 of file KDDWBindingsCore/Stack_c.h.
Referenced by isWindow().
Callback_setParentView_impl KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::m_setParentView_implCallback = nullptr |
Definition at line 50 of file KDDWBindingsCore/Stack_c.h.
Referenced by setParentView_impl().
Callback_singleDockWidget KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Stack_wrapper::m_singleDockWidgetCallback = nullptr |
Definition at line 52 of file KDDWBindingsCore/Stack_c.h.