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.
calculate-utils-2.2-install.../src/userinfodialog.h

40 lines
639 B

#pragma once
#include <QtGui/QDialog>
#include "commons.h"
class QLabel;
class QLineEdit;
class UserInfoDialog: public QDialog
{
Q_OBJECT
public:
UserInfoDialog(QWidget* parent = 0, const UserInfo& userInfo = UserInfo() );
~UserInfoDialog();
UserInfo getUserInfo() { return m_UserInfo; }
private slots:
void checkPasswords();
void preAccept();
private:
void setupUi();
private:
QLabel* m_labUserName;
QLineEdit* m_edUserName;
QLabel* m_labPsw;
QLineEdit* m_edPsw;
QLabel* m_labPswRep;
QLineEdit* m_edPswRep;
QLabel* m_labMatch;
QPushButton* m_butOk;
QPushButton* m_butCancel;
UserInfo m_UserInfo;
};