mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgspasswordlineedit.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsPasswordLineEdit : QLineEdit
|
|
{
|
|
%Docstring
|
|
QLineEdit subclass with built in support for showing/hiding
|
|
entered password.
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgspasswordlineedit.h"
|
|
%End
|
|
public:
|
|
|
|
QgsPasswordLineEdit( QWidget *parent = 0, bool passwordVisible = false );
|
|
%Docstring
|
|
Constructor for QgsPasswordLineEdit.
|
|
|
|
:param parent: parent widget
|
|
:param passwordVisible: Initial state of the password's visibility
|
|
%End
|
|
|
|
void setShowLockIcon( bool visible );
|
|
%Docstring
|
|
Define if a lock icon shall be shown on the left of the widget
|
|
|
|
:param visible: set to false to hide the lock icon
|
|
%End
|
|
|
|
bool showLockIcon() const;
|
|
%Docstring
|
|
Returns if a lock icon shall be shown on the left of the widget
|
|
%End
|
|
|
|
void setPasswordVisibility( bool visible );
|
|
%Docstring
|
|
Set state of the password's visibility
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgspasswordlineedit.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|