A custom layout which can be used to overlay child widgets over a parent widget.
More...
#include <qgsoverlaywidgetlayout.h>
A custom layout which can be used to overlay child widgets over a parent widget.
- Since
- QGIS 3.38
Definition at line 30 of file qgsoverlaywidgetlayout.h.
◆ QgsOverlayWidgetLayout()
QgsOverlayWidgetLayout::QgsOverlayWidgetLayout |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~QgsOverlayWidgetLayout()
QgsOverlayWidgetLayout::~QgsOverlayWidgetLayout |
( |
| ) |
|
|
override |
◆ addItem()
void QgsOverlayWidgetLayout::addItem |
( |
QLayoutItem * |
item | ) |
|
|
final |
◆ addWidget()
void QgsOverlayWidgetLayout::addWidget |
( |
QWidget * |
widget, |
|
|
Qt::Edge |
edge |
|
) |
| |
Adds a widget to the layout, which will be bound to the specified edge.
- Note
- Widgets on the left and right edges will always be positioned first, with top and bottom edge widgets expanding to take the remaining horizontal space.
Definition at line 159 of file qgsoverlaywidgetlayout.cpp.
◆ count()
int QgsOverlayWidgetLayout::count |
( |
| ) |
const |
|
final |
◆ horizontalSpacing()
int QgsOverlayWidgetLayout::horizontalSpacing |
( |
| ) |
const |
|
inline |
◆ itemAt()
QLayoutItem * QgsOverlayWidgetLayout::itemAt |
( |
int |
index | ) |
const |
|
final |
◆ minimumSize()
QSize QgsOverlayWidgetLayout::minimumSize |
( |
| ) |
const |
|
final |
◆ setGeometry()
void QgsOverlayWidgetLayout::setGeometry |
( |
const QRect & |
rect | ) |
|
|
final |
◆ setHorizontalSpacing()
void QgsOverlayWidgetLayout::setHorizontalSpacing |
( |
int |
spacing | ) |
|
◆ setVerticalSpacing()
void QgsOverlayWidgetLayout::setVerticalSpacing |
( |
int |
spacing | ) |
|
◆ sizeHint()
QSize QgsOverlayWidgetLayout::sizeHint |
( |
| ) |
const |
|
final |
◆ takeAt()
QLayoutItem * QgsOverlayWidgetLayout::takeAt |
( |
int |
index | ) |
|
|
final |
◆ verticalSpacing()
int QgsOverlayWidgetLayout::verticalSpacing |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: