mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
add SIP bindings
This commit is contained in:
parent
9e41b8222b
commit
a537c0c052
@ -134,6 +134,7 @@
|
||||
%Include qgsowssourceselect.sip
|
||||
%Include qgspanelwidget.sip
|
||||
%Include qgspanelwidgetstack.sip
|
||||
%Include qgspasswordlineedit.sip
|
||||
%Include qgspixmaplabel.sip
|
||||
%Include qgspluginmanagerinterface.sip
|
||||
%Include qgspresetcolorrampdialog.sip
|
||||
|
28
python/gui/qgspasswordlineedit.sip
Normal file
28
python/gui/qgspasswordlineedit.sip
Normal file
@ -0,0 +1,28 @@
|
||||
/** \class QgsPasswordLineEdit
|
||||
* \ingroup gui
|
||||
* QLineEdit subclass with built in support for showing/hiding
|
||||
* entered password.
|
||||
* @note added in QGIS 3.0
|
||||
**/
|
||||
class QgsPasswordLineEdit : QLineEdit
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <qgspasswordlineedit.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
|
||||
/** Constructor for QgsPasswordLineEdit.
|
||||
* @param parent parent widget
|
||||
*/
|
||||
QgsPasswordLineEdit( QWidget *parent = nullptr );
|
||||
|
||||
/** Define if a lock icon shall be shown on the left of the widget
|
||||
* @param visible set to false to hide the lock icon
|
||||
*/
|
||||
void setShowLockIcon( bool visible );
|
||||
|
||||
/** Returns if a lock icon shall be shown on the left of the widget
|
||||
*/
|
||||
bool showLockIcon() const;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user