mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Unhide password temporarily utility function
This commit is contained in:
@@ -30,6 +30,7 @@ class QCheckBox;
|
||||
class QComboBox;
|
||||
class QLayout;
|
||||
class QMimeData;
|
||||
class QLineEdit;
|
||||
class QTabWidget;
|
||||
class QGraphicsOpacityEffect;
|
||||
class QAbstractItemModel;
|
||||
@@ -141,6 +142,9 @@ namespace BlackGui
|
||||
//! Pseudo readonly state for checkboxes of widget
|
||||
static void checkBoxesReadOnly(QWidget *parent, bool readOnly);
|
||||
|
||||
//! Temp. unhide password
|
||||
static void tempUnhidePassword(QLineEdit *lineEdit, int unhideMs = 5000);
|
||||
|
||||
//! Enable/disable all child widgets
|
||||
template <class WIDGET>
|
||||
static void childrenSetEnabled(QWidget *parent, bool enabled)
|
||||
|
||||
Reference in New Issue
Block a user