Bank System
createcreaccountdialog.h
Go to the documentation of this file.
1#ifndef CREATECREACCOUNTDIALOG_H
2#define CREATECREACCOUNTDIALOG_H
3
4#include <QDialog>
5#include <QDebug>
6
7namespace Ui {
9}
10
11class CreateCreAccountDialog : public QDialog
12{
13 Q_OBJECT
14
15public:
16 explicit CreateCreAccountDialog(QWidget *parent = nullptr);
18 QString username;
19 QString account_name;
20 double rate;
21 double annual_fee;
22 double credit;
23
24 // validat input
25 bool verifyInput();
26
27 // show username
28 void showUsername(QString m_username);
29
30private slots:
31 void on_lineEdit_account_name_textChanged(const QString &arg1);
32
33 void on_lineEdit_credit_textChanged(const QString &arg1);
34
35 void on_lineEdit_rate_textChanged(const QString &arg1);
36
37 void on_lineEdit_annual_fee_textChanged(const QString &arg1);
38
39private:
40 Ui::CreateCreAccountDialog *ui;
41};
42
43#endif // CREATECREACCOUNTDIALOG_H
Definition: createcreaccountdialog.h:12
CreateCreAccountDialog(QWidget *parent=nullptr)
Definition: createcreaccountdialog.cpp:4
QString account_name
Definition: createcreaccountdialog.h:19
Ui::CreateCreAccountDialog * ui
Definition: createcreaccountdialog.h:40
void showUsername(QString m_username)
Definition: createcreaccountdialog.cpp:37
double rate
Definition: createcreaccountdialog.h:20
~CreateCreAccountDialog()
Definition: createcreaccountdialog.cpp:11
double annual_fee
Definition: createcreaccountdialog.h:21
void on_lineEdit_annual_fee_textChanged(const QString &arg1)
Definition: createcreaccountdialog.cpp:60
void on_lineEdit_account_name_textChanged(const QString &arg1)
Definition: createcreaccountdialog.cpp:42
bool verifyInput()
Definition: createcreaccountdialog.cpp:16
void on_lineEdit_rate_textChanged(const QString &arg1)
Definition: createcreaccountdialog.cpp:54
double credit
Definition: createcreaccountdialog.h:22
void on_lineEdit_credit_textChanged(const QString &arg1)
Definition: createcreaccountdialog.cpp:48
QString username
Definition: createcreaccountdialog.h:18
Definition: createcreaccountdialog.h:7