QGIS/python/gui/qgspasswordlineedit.sip
2017-06-08 08:52:02 +02:00

60 lines
1.9 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
:rtype: bool
%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 *
************************************************************************/