Custom widget for displaying subheaders within a QMenu in a standard style.
More...
#include <qgsmenuheader.h>
Custom widget for displaying subheaders within a QMenu in a standard style.
- See also
- QgsMenuHeaderWidgetAction()
- Since
- QGIS 3.0
Definition at line 32 of file qgsmenuheader.h.
◆ QgsMenuHeader()
QgsMenuHeader::QgsMenuHeader |
( |
const QString & |
text, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ minimumSizeHint()
QSize QgsMenuHeader::minimumSizeHint |
( |
| ) |
const |
|
override |
◆ paintEvent()
void QgsMenuHeader::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ sizeHint()
QSize QgsMenuHeader::sizeHint |
( |
| ) |
const |
|
override |
The documentation for this class was generated from the following files: