2020-03-25 13:29:06 +10:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgshighlightablelineedit.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsHighlightableLineEdit: QgsFilterLineEdit
|
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
|
|
|
|
A QgsFilterLineEdit subclass with the ability to "highlight" the edges of the widget.
|
|
|
|
|
|
|
|
.. versionadded:: 3.14
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgshighlightablelineedit.h"
|
|
|
|
%End
|
|
|
|
public:
|
2020-03-25 16:40:07 +10:00
|
|
|
|
2020-03-25 13:29:06 +10:00
|
|
|
QgsHighlightableLineEdit( QWidget *parent /TransferThis/ = 0 );
|
2020-03-25 16:40:07 +10:00
|
|
|
%Docstring
|
|
|
|
Constructor for QgsHighlightableLineEdit, with the specified ``parent`` widget.
|
|
|
|
%End
|
2020-03-25 13:29:06 +10:00
|
|
|
|
|
|
|
bool isHighlighted() const;
|
|
|
|
%Docstring
|
|
|
|
Returns ``True`` if the line edit is currently highlighted.
|
|
|
|
|
|
|
|
.. seealso:: :py:func:`setHighlighted`
|
|
|
|
%End
|
|
|
|
|
|
|
|
void setHighlighted( bool highlighted );
|
|
|
|
%Docstring
|
|
|
|
Sets whether the line edit is currently ``highlighted``.
|
|
|
|
|
|
|
|
.. seealso:: :py:func:`isHighlighted`
|
|
|
|
%End
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void paintEvent( QPaintEvent *e );
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgshighlightablelineedit.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|