You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
434 B
C
30 lines
434 B
C
9 years ago
|
#ifndef LOGINDIALOG_H
|
||
|
#define LOGINDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
namespace Ui {
|
||
|
class LoginDialog;
|
||
|
}
|
||
|
|
||
|
class LoginDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit LoginDialog(QWidget *parent = 0);
|
||
|
~LoginDialog();
|
||
|
QString login() const;
|
||
|
QString password() const;
|
||
|
void reset();
|
||
|
|
||
|
private:
|
||
|
Ui::LoginDialog *ui;
|
||
|
|
||
|
// QDialog interface
|
||
|
public slots:
|
||
|
void accept() override;
|
||
|
};
|
||
|
|
||
|
#endif // LOGINDIALOG_H
|