QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A QComboBox subclass with the ability to "highlight" the edges of the widget. More...
#include <qgshighlightablecombobox.h>
Public Member Functions | |
QgsHighlightableComboBox (QWidget *parent=nullptr) | |
Constructor for QgsHighlightableComboBox with the specified parent widget. More... | |
bool | isHighlighted () const |
Returns true if the combo box is currently highlighted. More... | |
void | setHighlighted (bool highlighted) |
Sets whether the combo box is currently highlighted. More... | |
Protected Member Functions | |
void | paintEvent (QPaintEvent *e) override |
A QComboBox subclass with the ability to "highlight" the edges of the widget.
Definition at line 34 of file qgshighlightablecombobox.h.
QgsHighlightableComboBox::QgsHighlightableComboBox | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsHighlightableComboBox with the specified parent widget.
Definition at line 19 of file qgshighlightablecombobox.cpp.
|
inline |
Returns true
if the combo box is currently highlighted.
Definition at line 48 of file qgshighlightablecombobox.h.
|
overrideprotected |
Definition at line 23 of file qgshighlightablecombobox.cpp.
void QgsHighlightableComboBox::setHighlighted | ( | bool | highlighted | ) |
Sets whether the combo box is currently highlighted.
Definition at line 36 of file qgshighlightablecombobox.cpp.