KDDockWidgets API Documentation  1.5
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Layouting::Widget_quick Class Reference

A Layouting::Widget that's deals in QQuickItem Allows to host a QQuickItem in the layout. More...

#include <Widget_quick.h>

Inheritance diagram for Layouting::Widget_quick:
Inheritance graph
[legend]
Collaboration diagram for Layouting::Widget_quick:
Collaboration graph
[legend]

Public Member Functions

 Widget_quick (QQuickItem *thisWidget)
 
 ~Widget_quick () override
 
QDebugdumpDebug (QDebug &) const override
 
QRect geometry () const override
 
void hide () override
 
bool isVisible () const override
 
QSize maxSizeHint () const override
 
QSize minSize () const override
 
void move (int x, int y) override
 
std::unique_ptr< WidgetparentWidget () const override
 
void setGeometry (QRect) override
 
void setHeight (int height) override
 
void setLayoutItem (Item *) override
 
void setParent (Widget *) override
 
void setSize (int width, int height) override
 
void setVisible (bool) const override
 
void setWidth (int width) override
 
void show () override
 
void update () override
 
- Public Member Functions inherited from Layouting::Widget
 Widget (QObject *thisObj)
 
virtual ~Widget ()
 
QObjectasQObject () const
 
virtual QWidgetasQWidget () const
 
QString id () const
 returns an id for corelation purposes for saving layouts More...
 
bool operator== (const QObject *obj) const
 
QObjectparent () const
 
QRect rect () const
 
QSize size () const
 
virtual QSize sizeHint () const
 
int x () const
 
int y () const
 

Static Public Member Functions

static QSize widgetMinSize (const QWidget *w)
 
- Static Public Member Functions inherited from Layouting::Widget
template<typename T >
static QSize widgetMaxSize (const T *w)
 
template<typename T >
static QSize widgetMinSize (const T *w)
 

Protected Member Functions

QQuickItem * createQQuickItem (const QString &filename, QQuickItem *parent) const
 

Additional Inherited Members

- Static Protected Member Functions inherited from Layouting::Widget
static QSize boundedMaxSize (QSize min, QSize max)
 

Detailed Description

A Layouting::Widget that's deals in QQuickItem Allows to host a QQuickItem in the layout.

Definition at line 29 of file Widget_quick.h.

Constructor & Destructor Documentation

◆ Widget_quick()

Layouting::Widget_quick::Widget_quick ( QQuickItem *  thisWidget)
inlineexplicit

Definition at line 32 of file Widget_quick.h.

Referenced by parentWidget().

◆ ~Widget_quick()

Widget_quick::~Widget_quick ( )
override

Definition at line 19 of file Widget_quick.cpp.

Member Function Documentation

◆ createQQuickItem()

QQuickItem * Widget_quick::createQQuickItem ( const QString filename,
QQuickItem *  parent 
) const
protected

Definition at line 127 of file Widget_quick.cpp.

References Layouting::Widget::parent().

Referenced by Layouting::SeparatorQuick::SeparatorQuick().

◆ dumpDebug()

QDebug & Widget_quick::dumpDebug ( QDebug d) const
overridevirtual

Implements Layouting::Widget.

Definition at line 58 of file Widget_quick.cpp.

References Layouting::Widget::rect().

◆ geometry()

QRect Widget_quick::geometry ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 29 of file Widget_quick.cpp.

References QRectF::toRect().

Referenced by move().

◆ hide()

void Widget_quick::hide ( )
overridevirtual

Implements Layouting::Widget.

Definition at line 95 of file Widget_quick.cpp.

◆ isVisible()

bool Widget_quick::isVisible ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 64 of file Widget_quick.cpp.

◆ maxSizeHint()

QSize Widget_quick::maxSizeHint ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 83 of file Widget_quick.cpp.

References QSize::isEmpty().

◆ minSize()

QSize Widget_quick::minSize ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 23 of file Widget_quick.cpp.

References QSize::expandedTo().

◆ move()

void Widget_quick::move ( int  x,
int  y 
)
overridevirtual

◆ parentWidget()

std::unique_ptr< Widget > Widget_quick::parentWidget ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 74 of file Widget_quick.cpp.

References Widget_quick().

◆ setGeometry()

void Widget_quick::setGeometry ( QRect  rect)
overridevirtual

Implements Layouting::Widget.

Definition at line 36 of file Widget_quick.cpp.

References Layouting::Widget::rect(), QRect::size(), and QRect::topLeft().

Referenced by move().

◆ setHeight()

void Widget_quick::setHeight ( int  height)
overridevirtual

Implements Layouting::Widget.

Definition at line 117 of file Widget_quick.cpp.

◆ setLayoutItem()

void Layouting::Widget_quick::setLayoutItem ( Item *  )
inlineoverridevirtual

Implements Layouting::Widget.

Definition at line 49 of file Widget_quick.h.

◆ setParent()

void Widget_quick::setParent ( Widget parent)
overridevirtual

Implements Layouting::Widget.

Definition at line 42 of file Widget_quick.cpp.

References Layouting::Widget::parent().

◆ setSize()

void Widget_quick::setSize ( int  width,
int  height 
)
overridevirtual

Implements Layouting::Widget.

Definition at line 107 of file Widget_quick.cpp.

◆ setVisible()

void Widget_quick::setVisible ( bool  is) const
overridevirtual

Implements Layouting::Widget.

Definition at line 69 of file Widget_quick.cpp.

◆ setWidth()

void Widget_quick::setWidth ( int  width)
overridevirtual

Implements Layouting::Widget.

Definition at line 112 of file Widget_quick.cpp.

◆ show()

void Widget_quick::show ( )
overridevirtual

Implements Layouting::Widget.

Definition at line 90 of file Widget_quick.cpp.

◆ update()

void Widget_quick::update ( )
overridevirtual

Implements Layouting::Widget.

Definition at line 122 of file Widget_quick.cpp.

◆ widgetMinSize()

static QSize Layouting::Widget_quick::widgetMinSize ( const QWidget w)
static

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

© 2019-2022 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 on Mon Mar 7 2022 02:01:21 for KDDockWidgets API Documentation by doxygen 1.8.20