QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsHighlightableComboBox Class Reference

A QComboBox subclass with the ability to "highlight" the edges of the widget. More...

#include <qgshighlightablecombobox.h>

Inheritance diagram for QgsHighlightableComboBox:

Public Member Functions

 QgsHighlightableComboBox (QWidget *parent=nullptr)
 Constructor for QgsHighlightableComboBox with the specified parent widget.
bool isHighlighted () const
 Returns true if the combo box is currently highlighted.
void setHighlighted (bool highlighted)
 Sets whether the combo box is currently highlighted.

Protected Member Functions

void paintEvent (QPaintEvent *e) override

Detailed Description

A QComboBox subclass with the ability to "highlight" the edges of the widget.

Since
QGIS 3.12

Definition at line 34 of file qgshighlightablecombobox.h.

Constructor & Destructor Documentation

◆ QgsHighlightableComboBox()

QgsHighlightableComboBox::QgsHighlightableComboBox ( QWidget * parent = nullptr)

Constructor for QgsHighlightableComboBox with the specified parent widget.

Definition at line 22 of file qgshighlightablecombobox.cpp.

Member Function Documentation

◆ isHighlighted()

bool QgsHighlightableComboBox::isHighlighted ( ) const
inline

Returns true if the combo box is currently highlighted.

See also
setHighlighted()

Definition at line 47 of file qgshighlightablecombobox.h.

◆ paintEvent()

void QgsHighlightableComboBox::paintEvent ( QPaintEvent * e)
overrideprotected

Definition at line 26 of file qgshighlightablecombobox.cpp.

◆ setHighlighted()

void QgsHighlightableComboBox::setHighlighted ( bool highlighted)

Sets whether the combo box is currently highlighted.

See also
isHighlighted()

Definition at line 39 of file qgshighlightablecombobox.cpp.


The documentation for this class was generated from the following files: