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.
37 lines
594 B
37 lines
594 B
#ifndef CUSTOMERINFO_H
|
|
#define CUSTOMERINFO_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QSqlDatabase>
|
|
#include <QSqlQuery>
|
|
#include <QLabel>
|
|
|
|
namespace Ui {
|
|
class customerinfo;
|
|
}
|
|
|
|
class customerinfo : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit customerinfo(QWidget *parent = nullptr);
|
|
~customerinfo();
|
|
void setDB(QSqlDatabase db);
|
|
void setroomNum(int roomNum);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent*);
|
|
|
|
private slots:
|
|
void on_pushButton_clicked();
|
|
|
|
private:
|
|
Ui::customerinfo *ui;
|
|
QSqlDatabase db;
|
|
int roomNum;
|
|
QLabel *bg;
|
|
};
|
|
|
|
#endif // CUSTOMERINFO_H
|