File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 134
134
%Include qgsowssourceselect.sip
135
135
%Include qgspanelwidget.sip
136
136
%Include qgspanelwidgetstack.sip
137
+ %Include qgspasswordlineedit.sip
137
138
%Include qgspixmaplabel.sip
138
139
%Include qgspluginmanagerinterface.sip
139
140
%Include qgspresetcolorrampdialog.sip
Original file line number Diff line number Diff line change
1
+ /** \class QgsPasswordLineEdit
2
+ * \ingroup gui
3
+ * QLineEdit subclass with built in support for showing/hiding
4
+ * entered password.
5
+ * @note added in QGIS 3.0
6
+ **/
7
+ class QgsPasswordLineEdit : QLineEdit
8
+ {
9
+ %TypeHeaderCode
10
+ #include <qgspasswordlineedit.h>
11
+ %End
12
+
13
+ public:
14
+
15
+ /** Constructor for QgsPasswordLineEdit.
16
+ * @param parent parent widget
17
+ */
18
+ QgsPasswordLineEdit( QWidget *parent = nullptr );
19
+
20
+ /** Define if a lock icon shall be shown on the left of the widget
21
+ * @param visible set to false to hide the lock icon
22
+ */
23
+ void setShowLockIcon( bool visible );
24
+
25
+ /** Returns if a lock icon shall be shown on the left of the widget
26
+ */
27
+ bool showLockIcon() const;
28
+ };
You can’t perform that action at this time.
0 commit comments