QGIS/python/gui/auto_generated/qgspasswordlineedit.sip.in

61 lines
1.8 KiB
Plaintext
Raw Normal View History

2017-06-07 16:16:21 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgspasswordlineedit.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2017-03-13 21:13:39 +02:00
class QgsPasswordLineEdit : QLineEdit
{
2017-06-07 16:16:21 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
QLineEdit subclass with built in support for showing/hiding
entered password.
2017-06-07 16:16:21 +02:00
.. versionadded:: 3.0
2017-03-13 21:13:39 +02:00
%End
2017-06-07 16:16:21 +02:00
%TypeHeaderCode
#include "qgspasswordlineedit.h"
%End
2017-03-13 21:13:39 +02:00
public:
2017-06-07 16:16:21 +02:00
QgsPasswordLineEdit( QWidget *parent = 0, bool passwordVisible = false );
%Docstring
2017-12-15 10:36:55 -04:00
Constructor for QgsPasswordLineEdit.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param parent: parent widget
:param passwordVisible: Initial state of the password's visibility
2017-06-07 16:16:21 +02:00
%End
2017-03-13 21:13:39 +02:00
void setShowLockIcon( bool visible );
2017-06-07 16:16:21 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Define if a lock icon shall be shown on the left of the widget
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param visible: set to false to hide the lock icon
2017-06-07 16:16:21 +02:00
%End
2017-03-13 21:13:39 +02:00
bool showLockIcon() const;
2017-06-07 16:16:21 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns if a lock icon shall be shown on the left of the widget
2017-06-07 16:16:21 +02:00
%End
void setPasswordVisibility( bool visible );
2017-06-07 16:16:21 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Set state of the password's visibility
2017-06-07 16:16:21 +02:00
%End
2017-03-13 21:13:39 +02:00
};
2017-06-07 16:16:21 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgspasswordlineedit.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/