KDDockWidgets API Documentation 1.7
Loading...
Searching...
No Matches
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 correlation purposes for saving layouts
 
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
static QSize hardcodedMinimumSize ()
 
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.

◆ ~Widget_quick()

Widget_quick::~Widget_quick ( )
override

Definition at line 20 of file Widget_quick.cpp.

Member Function Documentation

◆ createQQuickItem()

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

Definition at line 128 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 59 of file Widget_quick.cpp.

References Layouting::Widget::rect().

◆ geometry()

QRect Widget_quick::geometry ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 30 of file Widget_quick.cpp.

References QRectF::toRect().

Referenced by move().

◆ hide()

void Widget_quick::hide ( )
overridevirtual

Implements Layouting::Widget.

Definition at line 96 of file Widget_quick.cpp.

◆ isVisible()

bool Widget_quick::isVisible ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 65 of file Widget_quick.cpp.

◆ maxSizeHint()

QSize Widget_quick::maxSizeHint ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 84 of file Widget_quick.cpp.

References QSize::isEmpty().

◆ minSize()

QSize Widget_quick::minSize ( ) const
overridevirtual

Implements Layouting::Widget.

Definition at line 24 of file Widget_quick.cpp.

References QSize::expandedTo(), and minSize().

Referenced by minSize().

◆ 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 75 of file Widget_quick.cpp.

◆ setGeometry()

void Widget_quick::setGeometry ( QRect  rect)
overridevirtual

Implements Layouting::Widget.

Definition at line 37 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 118 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 43 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 108 of file Widget_quick.cpp.

◆ setVisible()

void Widget_quick::setVisible ( bool  is) const
overridevirtual

Implements Layouting::Widget.

Definition at line 70 of file Widget_quick.cpp.

◆ setWidth()

void Widget_quick::setWidth ( int  width)
overridevirtual

Implements Layouting::Widget.

Definition at line 113 of file Widget_quick.cpp.

◆ show()

void Widget_quick::show ( )
overridevirtual

Implements Layouting::Widget.

Definition at line 91 of file Widget_quick.cpp.

◆ update()

void Widget_quick::update ( )
overridevirtual

Implements Layouting::Widget.

Definition at line 123 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-2023 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 Wed Nov 1 2023 00:02:31 for KDDockWidgets API Documentation by doxygen 1.9.8