You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
685 B
32 lines
685 B
#ifndef DP4LOGINWIDGET_H
|
|
#define DP4LOGINWIDGET_H
|
|
|
|
#include <QWidget>
|
|
|
|
class Dp4LoginWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit Dp4LoginWidget(QWidget *parent = nullptr);
|
|
~Dp4LoginWidget() override;
|
|
|
|
private:
|
|
void Logon();
|
|
void ResetPassword();
|
|
void initUi();
|
|
bool eventFilter(QObject *watchd, QEvent *event) override;
|
|
|
|
private:
|
|
QWidget *m_topWidget;
|
|
class QLabel *m_labelImage;
|
|
QLabel *m_labelOtherUser;
|
|
QLabel *m_labelText;
|
|
class QVBoxLayout *m_layout;
|
|
class QComboBox *m_environment;
|
|
class QLineEdit *m_username;
|
|
class QLineEdit *m_password;
|
|
class QPushButton *m_pbForgetPassword;
|
|
};
|
|
|
|
#endif // TESTWIDGET_H
|
|
|