mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
reverting 3fb0f66 (followup #45348) Using --no-public-is-protected (default on Windows) also works on Linux and fixes #45331 too
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* 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(signature="appended")
|
|
|
|
A :py:class:`QgsFilterLineEdit` subclass with the ability to "highlight" the edges of the widget.
|
|
|
|
.. versionadded:: 3.14
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgshighlightablelineedit.h"
|
|
%End
|
|
public:
|
|
|
|
QgsHighlightableLineEdit( QWidget *parent /TransferThis/ = 0 );
|
|
%Docstring
|
|
Constructor for QgsHighlightableLineEdit, with the specified ``parent`` widget.
|
|
%End
|
|
|
|
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 *
|
|
************************************************************************/
|