26 QgsFilterLineEdit::paintEvent( e );
31 p.setPen( QPen( palette().highlight(), width ) );
32 const QRect r = rect().adjusted( width, width, -width, -width );
39 mHighlight = highlighted;
QLineEdit subclass with built in support for clearing the widget's value and handling custom null val...
void paintEvent(QPaintEvent *e) override
QgsHighlightableLineEdit(QWidget *parent=nullptr)
Constructor for QgsHighlightableLineEdit, with the specified parent widget.
void setHighlighted(bool highlighted)
Sets whether the line edit is currently highlighted.