12345678910111213141516171819202122232425262728293031323334 |
- #ifndef QSCREENLOCKWIDGET_H
- #define QSCREENLOCKWIDGET_H
- #include <QWidget>
- #include <QDialog>
- class QLabel;
- class QLineEdit;
- class QScreenLockWidget : public QDialog
- {
- Q_OBJECT
- public:
- explicit QScreenLockWidget(QWidget *parent = 0);
- ~QScreenLockWidget();
- void reset();
- QString password;
- int iAlphaPosY;
- protected:
- QLabel* infoLabel;
- QLineEdit * passwordEdit;
- void paintEvent(QPaintEvent *);
- //¹ýÂËʼþ
- void keyPressEvent(QKeyEvent *event);
- signals:
- public slots:
- void onUnlockBtnClicked();
- };
- #endif // QSCREENLOCKWIDGET_H
|