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

#include <FloatingWindow_c.h>

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

Public Types

typedef bool(* Callback_isMDI) (void *)
 
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

 FloatingWindow_wrapper (KDDockWidgets::Core::Group *group, KDDockWidgets::Rect suggestedGeometry, KDDockWidgets::Core::MainWindow *parent=nullptr)
 
 FloatingWindow_wrapper (KDDockWidgets::Rect suggestedGeometry, KDDockWidgets::Core::MainWindow *parent=nullptr)
 
 ~FloatingWindow_wrapper ()
 
void addDockWidget (KDDockWidgets::Core::DockWidget *arg__1, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget *relativeTo, KDDockWidgets::InitialOption arg__4={})
 
bool allDockWidgetsHave (KDDockWidgets::DockWidgetOption arg__1) const
 
bool allDockWidgetsHave (KDDockWidgets::LayoutSaverOption arg__1) const
 
bool anyDockWidgetsHas (KDDockWidgets::DockWidgetOption arg__1) const
 
bool anyDockWidgetsHas (KDDockWidgets::LayoutSaverOption arg__1) const
 
bool anyNonClosable () const
 
bool anyNonDockable () const
 
bool beingDeleted () const
 
KDDockWidgets::Margins contentMargins () const
 
KDDockWidgets::Rect dragRect () const
 
KDDockWidgets::Core::DropAreadropArea () const
 
bool hasSingleDockWidget () const
 
bool hasSingleFrame () const
 
bool isInDragArea (KDDockWidgets::Point globalPoint) const
 
virtual bool isMDI () const
 
virtual bool isMDI_nocallback () const
 
bool isUtilityWindow () const
 
virtual bool isWindow () const
 
virtual bool isWindow_nocallback () const
 
KDDockWidgets::Core::Layoutlayout () const
 
KDDockWidgets::Core::MainWindowmainWindow () const
 
void maybeCreateResizeHandler ()
 
KDDockWidgets::Core::DropAreamultiSplitter () const
 
void scheduleDeleteLater ()
 
virtual void setParentView_impl (KDDockWidgets::Core::View *parent)
 
virtual void setParentView_impl_nocallback (KDDockWidgets::Core::View *parent)
 
void setSuggestedGeometry (KDDockWidgets::Rect suggestedRect)
 
KDDockWidgets::Core::GroupsingleFrame () const
 
bool supportsMaximizeButton () const
 
bool supportsMinimizeButton () const
 
KDDockWidgets::Core::TitleBartitleBar () const
 
void updateTitleAndIcon ()
 
void updateTitleBarVisibility ()
 
int userType () const
 
- Public Member Functions inherited from KDDockWidgets::Core::FloatingWindow
 FloatingWindow (Core::Group *group, Rect suggestedGeometry, MainWindow *parent=nullptr)
 
 FloatingWindow (Rect suggestedGeometry, MainWindow *parent=nullptr, FloatingWindowFlags requestedFlags=FloatingWindowFlag::FromGlobalConfig)
 
virtual ~FloatingWindow () override
 
void addDockWidget (DockWidget *, KDDockWidgets::Location location, DockWidget *relativeTo, InitialOption={})
 Adds the dock widget to the specified location.
 
Vector< QStringaffinities () const
 
bool allDockWidgetsHave (DockWidgetOption) const
 Returns whether all dock widgets have the specified option set.
 
bool allDockWidgetsHave (LayoutSaverOption) const
 Returns whether all dock widgets have the specified layout saver option set.
 
bool anyDockWidgetsHas (DockWidgetOption) const
 Returns whether at least one dock widget has the specified option set.
 
bool anyDockWidgetsHas (LayoutSaverOption) const
 Returns whether at least one dock widget has the specified layout saver option set.
 
bool anyNonClosable () const
 
bool anyNonDockable () const
 
bool beingDeleted () const
 Returns whether a deleteLater has already been issued.
 
Margins contentMargins () const
 Returns the contents margins.
 
bool deserialize (const LayoutSaver::FloatingWindow &)
 
Vector< DockWidget * > dockWidgets () const
 
Private * dptr () const
 
Rect dragRect () const
 
DropAreadropArea () const
 
FloatingWindowFlags floatingWindowFlags () const
 Returns the per-floating window flags.
 
void focus (Qt::FocusReason reason)
 
Core::Group::List groups () const
 
bool hasSingleDockWidget () const
 checks if this FloatingWindow only has one dockwidget. This is a more specific case than hasSingleFrame(), it implies not only a single group, but that group must only have 1 dock widget.
 
bool hasSingleFrame () const
 checks if this FloatingWindow only has one group. If true it means there's no side-by-side dock widgets here. There's only 1 group. Note that despite having only 1 group it can still have multiple DockWidgets, as they can be tabbed into the single group.
 
bool isInDragArea (Point globalPoint) const
 Returns whether globalPoint is inside the title bar (or, when there's no title-bar, the draggable empty area of a tab bar)
 
bool isMDI () const override
 
bool isUtilityWindow () const
 Returns whether this window is a tool window Tool windows don't usually appear in the task bar.
 
bool isWindow () const override
 
WindowState lastWindowManagerState () const
 
Layoutlayout () const
 Returns the Layout.
 
MainWindowmainWindow () const
 Returns the MainWindow which is the transient parent of this FloatingWindow Can be nullptr if you create dock widgets before the main window. Can also be some arbitrary value if you have more than one main window.
 
std::unique_ptr< WindowBeingDragged > makeWindow () override
 
void maybeCreateResizeHandler ()
 
Core::DropAreamultiSplitter () const
 Returns the MultiSplitter.
 
void scheduleDeleteLater ()
 Equivalent to deleteLater() but sets beingDeleted() to true.
 
LayoutSaver::FloatingWindow serialize () const
 
void setLastWindowManagerState (WindowState)
 
void setSuggestedGeometry (Rect suggestedRect, SuggestedGeometryHints=SuggestedGeometryHint_None)
 Equivalent to setGeometry(), but the value might be adjusted.
 
Core::DockWidgetsingleDockWidget () const override final
 
Core::GroupsingleFrame () const
 If this floating window has only one Frame, it's returned, otherwise nullptr.
 
bool supportsMaximizeButton () const
 Returns whether this floating window supports showing a maximize button.
 
bool supportsMinimizeButton () const
 Returns whether this floating window supports showing a minimize button.
 
Core::TitleBartitleBar () const
 Returns the title bar.
 
void updateTitleAndIcon ()
 updates the title and the icon
 
void updateTitleBarVisibility ()
 
int userType () 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 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
 

Static Public Member Functions

static void ensureRectIsOnScreen (KDDockWidgets::Rect &geometry)
 
- Static Public Member Functions inherited from KDDockWidgets::Core::FloatingWindow
static void ensureRectIsOnScreen (Rect &geometry)
 

Public Attributes

Callback_isMDI m_isMDICallback = nullptr
 
Callback_isWindow m_isWindowCallback = nullptr
 
Callback_setParentView_impl m_setParentView_implCallback = nullptr
 
Callback_singleDockWidget m_singleDockWidgetCallback = nullptr
 

Additional Inherited Members

- Static Public Attributes inherited from KDDockWidgets::Core::FloatingWindow
static Qt::WindowFlags s_windowFlagsOverride = {}
 Allows the user app to specify which window flags to use, instead of KDDWs default ones Bugs caused by this won't be supported, as the amount of combinations that could go wrong can be open ended.
 
- Protected Attributes inherited from KDDockWidgets::Core::FloatingWindow
WindowState m_lastWindowManagerState = WindowState::None
 
Core::TitleBar *const m_titleBar
 
- Protected Attributes inherited from KDDockWidgets::Core::Controller
bool m_inDtor = false
 

Detailed Description

Definition at line 25 of file FloatingWindow_c.h.

Member Typedef Documentation

◆ Callback_isMDI

typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::Callback_isMDI) (void *)

Definition at line 66 of file FloatingWindow_c.h.

◆ Callback_isWindow

typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::Callback_isWindow) (void *)

Definition at line 68 of file FloatingWindow_c.h.

◆ Callback_setParentView_impl

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

Definition at line 70 of file FloatingWindow_c.h.

◆ Callback_singleDockWidget

typedef KDDockWidgets::Core::DockWidget *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::Callback_singleDockWidget) (void *)

Definition at line 72 of file FloatingWindow_c.h.

Constructor & Destructor Documentation

◆ ~FloatingWindow_wrapper()

KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::~FloatingWindow_wrapper ( )

Definition at line 196 of file FloatingWindow_c.cpp.

◆ FloatingWindow_wrapper() [1/2]

KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::FloatingWindow_wrapper ( KDDockWidgets::Core::Group group,
KDDockWidgets::Rect  suggestedGeometry,
KDDockWidgets::Core::MainWindow parent = nullptr 
)

Definition at line 33 of file FloatingWindow_c.cpp.

◆ FloatingWindow_wrapper() [2/2]

KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::FloatingWindow_wrapper ( KDDockWidgets::Rect  suggestedGeometry,
KDDockWidgets::Core::MainWindow parent = nullptr 
)

Definition at line 37 of file FloatingWindow_c.cpp.

Member Function Documentation

◆ addDockWidget()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::addDockWidget ( KDDockWidgets::Core::DockWidget arg__1,
KDDockWidgets::Location  location,
KDDockWidgets::Core::DockWidget relativeTo,
KDDockWidgets::InitialOption  arg__4 = {} 
)

◆ allDockWidgetsHave() [1/2]

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::allDockWidgetsHave ( KDDockWidgets::DockWidgetOption  arg__1) const

Definition at line 45 of file FloatingWindow_c.cpp.

◆ allDockWidgetsHave() [2/2]

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::allDockWidgetsHave ( KDDockWidgets::LayoutSaverOption  arg__1) const

Definition at line 49 of file FloatingWindow_c.cpp.

◆ anyDockWidgetsHas() [1/2]

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::anyDockWidgetsHas ( KDDockWidgets::DockWidgetOption  arg__1) const

Definition at line 53 of file FloatingWindow_c.cpp.

◆ anyDockWidgetsHas() [2/2]

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::anyDockWidgetsHas ( KDDockWidgets::LayoutSaverOption  arg__1) const

Definition at line 57 of file FloatingWindow_c.cpp.

◆ anyNonClosable()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::anyNonClosable ( ) const

Definition at line 61 of file FloatingWindow_c.cpp.

◆ anyNonDockable()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::anyNonDockable ( ) const

Definition at line 65 of file FloatingWindow_c.cpp.

◆ beingDeleted()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::beingDeleted ( ) const

Definition at line 69 of file FloatingWindow_c.cpp.

◆ contentMargins()

KDDockWidgets::Margins KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::contentMargins ( ) const

Definition at line 73 of file FloatingWindow_c.cpp.

◆ dragRect()

KDDockWidgets::Rect KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::dragRect ( ) const

Definition at line 77 of file FloatingWindow_c.cpp.

◆ dropArea()

KDDockWidgets::Core::DropArea * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::dropArea ( ) const

Definition at line 81 of file FloatingWindow_c.cpp.

◆ ensureRectIsOnScreen()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::ensureRectIsOnScreen ( KDDockWidgets::Rect &  geometry)
static

◆ hasSingleDockWidget()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::hasSingleDockWidget ( ) const

Definition at line 89 of file FloatingWindow_c.cpp.

◆ hasSingleFrame()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::hasSingleFrame ( ) const

Definition at line 93 of file FloatingWindow_c.cpp.

◆ isInDragArea()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::isInDragArea ( KDDockWidgets::Point  globalPoint) const

Definition at line 97 of file FloatingWindow_c.cpp.

◆ isMDI()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::isMDI ( ) const
virtual

Definition at line 101 of file FloatingWindow_c.cpp.

References m_isMDICallback.

◆ isMDI_nocallback()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::isMDI_nocallback ( ) const
virtual

Definition at line 110 of file FloatingWindow_c.cpp.

Referenced by c_KDDockWidgets__Core__FloatingWindow__isMDI().

◆ isUtilityWindow()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::isUtilityWindow ( ) const

Definition at line 114 of file FloatingWindow_c.cpp.

◆ isWindow()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::isWindow ( ) const
virtual

Definition at line 118 of file FloatingWindow_c.cpp.

References m_isWindowCallback.

◆ isWindow_nocallback()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::isWindow_nocallback ( ) const
virtual

◆ layout()

KDDockWidgets::Core::Layout * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::layout ( ) const

Definition at line 131 of file FloatingWindow_c.cpp.

◆ mainWindow()

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

Definition at line 135 of file FloatingWindow_c.cpp.

◆ maybeCreateResizeHandler()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::maybeCreateResizeHandler ( )

◆ multiSplitter()

KDDockWidgets::Core::DropArea * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::multiSplitter ( ) const

Definition at line 143 of file FloatingWindow_c.cpp.

◆ scheduleDeleteLater()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::scheduleDeleteLater ( )

◆ setParentView_impl()

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

◆ setParentView_impl_nocallback()

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

◆ setSuggestedGeometry()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::setSuggestedGeometry ( KDDockWidgets::Rect  suggestedRect)

◆ singleFrame()

KDDockWidgets::Core::Group * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::singleFrame ( ) const

Definition at line 168 of file FloatingWindow_c.cpp.

◆ supportsMaximizeButton()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::supportsMaximizeButton ( ) const

Definition at line 172 of file FloatingWindow_c.cpp.

◆ supportsMinimizeButton()

bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::supportsMinimizeButton ( ) const

Definition at line 176 of file FloatingWindow_c.cpp.

◆ titleBar()

KDDockWidgets::Core::TitleBar * KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::titleBar ( ) const

Definition at line 180 of file FloatingWindow_c.cpp.

◆ updateTitleAndIcon()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::updateTitleAndIcon ( )

◆ updateTitleBarVisibility()

void KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::updateTitleBarVisibility ( )

◆ userType()

int KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::userType ( ) const

Definition at line 192 of file FloatingWindow_c.cpp.

Member Data Documentation

◆ m_isMDICallback

Callback_isMDI KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::m_isMDICallback = nullptr

Definition at line 67 of file FloatingWindow_c.h.

Referenced by isMDI().

◆ m_isWindowCallback

Callback_isWindow KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::m_isWindowCallback = nullptr

Definition at line 69 of file FloatingWindow_c.h.

Referenced by isWindow().

◆ m_setParentView_implCallback

Callback_setParentView_impl KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::m_setParentView_implCallback = nullptr

Definition at line 71 of file FloatingWindow_c.h.

Referenced by setParentView_impl().

◆ m_singleDockWidgetCallback

Callback_singleDockWidget KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::FloatingWindow_wrapper::m_singleDockWidgetCallback = nullptr

Definition at line 73 of file FloatingWindow_c.h.


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