KDDockWidgets API Documentation 2.1
|
#include <SideBar_c.h>
Public Types | |
typedef void(* | Callback_setParentView_impl) (void *, KDDockWidgets::Core::View *parent) |
Public Member Functions | |
~SideBar_wrapper () | |
void | addDockWidget (KDDockWidgets::Core::DockWidget *dw) |
void | clear () |
bool | containsDockWidget (KDDockWidgets::Core::DockWidget *arg__1) const |
bool | isEmpty () const |
bool | isVertical () const |
KDDockWidgets::Core::MainWindow * | mainWindow () const |
void | onButtonClicked (KDDockWidgets::Core::DockWidget *dw) |
void | removeDockWidget (KDDockWidgets::Core::DockWidget *dw) |
virtual void | setParentView_impl (KDDockWidgets::Core::View *parent) |
virtual void | setParentView_impl_nocallback (KDDockWidgets::Core::View *parent) |
void | toggleOverlay (KDDockWidgets::Core::DockWidget *arg__1) |
Public Member Functions inherited from KDDockWidgets::Core::SideBar | |
SideBar (SideBarLocation, MainWindow *parent=nullptr) | |
~SideBar () override | |
void | addDockWidget (DockWidget *dw) |
void | clear () |
clears the sidebar (removes all dock widgets from it) | |
bool | containsDockWidget (DockWidget *) const |
Vector< DockWidget * > | dockWidgets () const |
returns the list of dock widgets in this sidebar | |
bool | isEmpty () const |
returns whether there's no dock widgets | |
bool | isVertical () const |
returns if this side bar has vertical orientation | |
SideBarLocation | location () const |
returns the sidebar's location in the main window | |
MainWindow * | mainWindow () const |
Returns the main window this side bar belongs to. | |
void | onButtonClicked (DockWidget *dw) |
Qt::Orientation | orientation () const |
Returns this side bar's orientation. | |
void | removeDockWidget (DockWidget *dw) |
Vector< QString > | serialize () const |
returns a serialization of this sidebar's state Currently it's just a list of dock widget ids | |
void | toggleOverlay (DockWidget *) |
Toggles the dock widget overlay. Equivalent to the user clicking on the button. | |
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_setParentView_impl | m_setParentView_implCallback = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from KDDockWidgets::Core::Controller | |
bool | m_inDtor = false |
Definition at line 20 of file SideBar_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::Callback_setParentView_impl) (void *, KDDockWidgets::Core::View *parent) |
Definition at line 35 of file SideBar_c.h.
KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::~SideBar_wrapper | ( | ) |
Definition at line 82 of file SideBar_c.cpp.
void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::addDockWidget | ( | KDDockWidgets::Core::DockWidget * | dw | ) |
Definition at line 33 of file SideBar_c.cpp.
References KDDockWidgets::Core::SideBar::addDockWidget().
void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::clear | ( | ) |
Definition at line 37 of file SideBar_c.cpp.
References KDDockWidgets::Core::SideBar::clear().
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::containsDockWidget | ( | KDDockWidgets::Core::DockWidget * | arg__1 | ) | const |
Definition at line 41 of file SideBar_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::isEmpty | ( | ) | const |
Definition at line 45 of file SideBar_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::isVertical | ( | ) | const |
Definition at line 49 of file SideBar_c.cpp.
KDDockWidgets::Core::MainWindow * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::mainWindow | ( | ) | const |
Definition at line 53 of file SideBar_c.cpp.
void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::onButtonClicked | ( | KDDockWidgets::Core::DockWidget * | dw | ) |
Definition at line 57 of file SideBar_c.cpp.
References KDDockWidgets::Core::SideBar::onButtonClicked().
void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::removeDockWidget | ( | KDDockWidgets::Core::DockWidget * | dw | ) |
Definition at line 61 of file SideBar_c.cpp.
References KDDockWidgets::Core::SideBar::removeDockWidget().
|
virtual |
Reimplemented from KDDockWidgets::Core::Controller.
Definition at line 65 of file SideBar_c.cpp.
References m_setParentView_implCallback, and KDDockWidgets::Core::Controller::setParentView_impl().
|
virtual |
Definition at line 74 of file SideBar_c.cpp.
References KDDockWidgets::Core::Controller::setParentView_impl().
Referenced by c_KDDockWidgets__Core__SideBar__setParentView_impl_View().
void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::toggleOverlay | ( | KDDockWidgets::Core::DockWidget * | arg__1 | ) |
Definition at line 78 of file SideBar_c.cpp.
References KDDockWidgets::Core::SideBar::toggleOverlay().
Callback_setParentView_impl KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::m_setParentView_implCallback = nullptr |
Definition at line 36 of file SideBar_c.h.
Referenced by setParentView_impl().