25 QComboBox::paintEvent( e );
30 p.setPen( QPen( palette().highlight(), width ) );
31 const QRect r = rect().adjusted( width, width, -width, -width );
38 mHighlight = highlighted;
QgsHighlightableComboBox(QWidget *parent=nullptr)
Constructor for QgsHighlightableComboBox with the specified parent widget.
void paintEvent(QPaintEvent *e) override
void setHighlighted(bool highlighted)
Sets whether the combo box is currently highlighted.