KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper Class Reference

#include <SideBar_c.h>

Inheritance diagram for KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper:
Inheritance graph
[legend]
Collaboration diagram for KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper:
Collaboration graph
[legend]

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::MainWindowmainWindow () 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
 
MainWindowmainWindow () 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< QStringserialize () 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 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.
 
Viewview () const
 Returns the view associated with this controller, if any.
 
int width () const
 
std::shared_ptr< Viewwindow () 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
 

Detailed Description

Definition at line 20 of file SideBar_c.h.

Member Typedef Documentation

◆ Callback_setParentView_impl

typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::Callback_setParentView_impl) (void *, KDDockWidgets::Core::View *parent)

Definition at line 35 of file SideBar_c.h.

Constructor & Destructor Documentation

◆ ~SideBar_wrapper()

KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::~SideBar_wrapper ( )

Definition at line 82 of file SideBar_c.cpp.

Member Function Documentation

◆ addDockWidget()

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().

◆ clear()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::clear ( )

Definition at line 37 of file SideBar_c.cpp.

References KDDockWidgets::Core::SideBar::clear().

◆ containsDockWidget()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::containsDockWidget ( KDDockWidgets::Core::DockWidget arg__1) const

Definition at line 41 of file SideBar_c.cpp.

◆ isEmpty()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::isEmpty ( ) const

Definition at line 45 of file SideBar_c.cpp.

◆ isVertical()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::isVertical ( ) const

Definition at line 49 of file SideBar_c.cpp.

◆ mainWindow()

KDDockWidgets::Core::MainWindow * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::mainWindow ( ) const

Definition at line 53 of file SideBar_c.cpp.

◆ onButtonClicked()

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().

◆ removeDockWidget()

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().

◆ setParentView_impl()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::setParentView_impl ( KDDockWidgets::Core::View parent)
virtual

◆ setParentView_impl_nocallback()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::SideBar_wrapper::setParentView_impl_nocallback ( KDDockWidgets::Core::View parent)
virtual

◆ toggleOverlay()

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().

Member Data Documentation

◆ m_setParentView_implCallback

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().


The documentation for this class was generated from the following files:

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8