KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
KDDockWidgets::MainWindowMDIInstantiator Class Reference

A wrapper to workaround the limitation that QtQuick can't pass arguments through MainWindow's ctor So instead, user instantiates a MainWindowWrapper in QML and calls init. More...

#include <MainWindowMDIInstantiator.h>

Inheritance diagram for KDDockWidgets::MainWindowMDIInstantiator:
Inheritance graph
[legend]
Collaboration diagram for KDDockWidgets::MainWindowMDIInstantiator:
Collaboration graph
[legend]

Signals

void optionsChanged ()
 
void uniqueNameChanged ()
 

Public Member Functions

 MainWindowMDIInstantiator ()
 ctor, called by QML engine
 
Q_INVOKABLE void addDockWidget (QQuickItem *dockWidget, QPoint localPos, const KDDockWidgets::InitialOption &addingOption={})
 
QVector< QStringaffinities () const
 
Q_INVOKABLE bool closeDockWidgets (bool force=false)
 
void setUniqueName (const QString &)
 
QString uniqueName () const
 

Protected Member Functions

void classBegin () override
 
void componentComplete () override
 

Properties

QVector< QStringaffinities
 
QString uniqueName
 

Detailed Description

A wrapper to workaround the limitation that QtQuick can't pass arguments through MainWindow's ctor So instead, user instantiates a MainWindowWrapper in QML and calls init.

Definition at line 30 of file MainWindowMDIInstantiator.h.

Constructor & Destructor Documentation

◆ MainWindowMDIInstantiator()

MainWindowMDIInstantiator::MainWindowMDIInstantiator ( )

ctor, called by QML engine

Definition at line 26 of file MainWindowMDIInstantiator.cpp.

Member Function Documentation

◆ addDockWidget()

void MainWindowMDIInstantiator::addDockWidget ( QQuickItem *  dockWidget,
QPoint  localPos,
const KDDockWidgets::InitialOption addingOption = {} 
)

◆ affinities()

QVector< QString > MainWindowMDIInstantiator::affinities ( ) const

◆ classBegin()

void MainWindowMDIInstantiator::classBegin ( )
overrideprotected

Definition at line 64 of file MainWindowMDIInstantiator.cpp.

◆ closeDockWidgets()

bool MainWindowMDIInstantiator::closeDockWidgets ( bool  force = false)

◆ componentComplete()

void MainWindowMDIInstantiator::componentComplete ( )
overrideprotected

◆ optionsChanged

void KDDockWidgets::MainWindowMDIInstantiator::optionsChanged ( )
signal

◆ setUniqueName()

void MainWindowMDIInstantiator::setUniqueName ( const QString name)

Definition at line 35 of file MainWindowMDIInstantiator.cpp.

References uniqueNameChanged().

◆ uniqueName()

QString MainWindowMDIInstantiator::uniqueName ( ) const

Definition at line 30 of file MainWindowMDIInstantiator.cpp.

◆ uniqueNameChanged

void KDDockWidgets::MainWindowMDIInstantiator::uniqueNameChanged ( )
signal

Referenced by setUniqueName().

Property Documentation

◆ affinities

QVector<QString> KDDockWidgets::MainWindowMDIInstantiator::affinities
read

Definition at line 34 of file MainWindowMDIInstantiator.h.

◆ uniqueName

QString KDDockWidgets::MainWindowMDIInstantiator::uniqueName
readwrite

Definition at line 33 of file MainWindowMDIInstantiator.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