KDDockWidgets API Documentation
1.5
|
A Layouting::Widget that's deals in QWidget Allows to host a QWidget in the layout. More...
#include <Widget_qwidget.h>
Public Member Functions | |
Widget_qwidget (QWidget *thisWidget) | |
~Widget_qwidget () override | |
QWidget * | asQWidget () const override |
QDebug & | dumpDebug (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< Widget > | parentWidget () 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 |
QSize | sizeHint () const override |
void | update () override |
Public Member Functions inherited from Layouting::Widget | |
Widget (QObject *thisObj) | |
virtual | ~Widget () |
QObject * | asQObject () const |
QString | id () const |
returns an id for corelation purposes for saving layouts More... | |
bool | operator== (const QObject *obj) const |
QObject * | parent () const |
QRect | rect () const |
QSize | size () const |
int | x () const |
int | y () const |
Additional Inherited Members | |
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) |
Static Protected Member Functions inherited from Layouting::Widget | |
static QSize | boundedMaxSize (QSize min, QSize max) |
A Layouting::Widget that's deals in QWidget Allows to host a QWidget in the layout.
Definition at line 27 of file Widget_qwidget.h.
|
explicit |
Definition at line 20 of file Widget_qwidget.cpp.
Referenced by parentWidget().
|
override |
Definition at line 26 of file Widget_qwidget.cpp.
|
inlineoverridevirtual |
Reimplemented from Layouting::Widget.
Definition at line 33 of file Widget_qwidget.h.
Implements Layouting::Widget.
Definition at line 70 of file Widget_qwidget.cpp.
References QPaintDevice::devicePixelRatio(), and Layouting::Widget::rect().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 45 of file Widget_qwidget.cpp.
References QWidget::geometry.
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 102 of file Widget_qwidget.cpp.
References QWidget::hide().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 78 of file Widget_qwidget.cpp.
References QWidget::isVisible().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 40 of file Widget_qwidget.cpp.
References Layouting::Widget::widgetMaxSize().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 35 of file Widget_qwidget.cpp.
References Layouting::Widget::widgetMinSize().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 107 of file Widget_qwidget.cpp.
References QWidget::move(), Layouting::Widget::x(), and Layouting::Widget::y().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 88 of file Widget_qwidget.cpp.
References Widget_qwidget(), and QWidget::parentWidget().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 50 of file Widget_qwidget.cpp.
References Layouting::Widget::rect(), and QWidget::setGeometry().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 122 of file Widget_qwidget.cpp.
References setSize(), and QWidget::width.
|
inlineoverridevirtual |
Implements Layouting::Widget.
Definition at line 48 of file Widget_qwidget.h.
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 55 of file Widget_qwidget.cpp.
References Layouting::Widget::parent(), and QWidget::setParent().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 112 of file Widget_qwidget.cpp.
References QWidget::resize().
Referenced by setHeight(), and setWidth().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 83 of file Widget_qwidget.cpp.
References QWidget::setVisible().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 117 of file Widget_qwidget.cpp.
References QWidget::height, and setSize().
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 97 of file Widget_qwidget.cpp.
References QWidget::show().
|
overridevirtual |
Reimplemented from Layouting::Widget.
Definition at line 30 of file Widget_qwidget.cpp.
References QWidget::sizeHint.
|
overridevirtual |
Implements Layouting::Widget.
Definition at line 127 of file Widget_qwidget.cpp.
References QWidget::update().