#ifndef CUSTOMERINFO_H #define CUSTOMERINFO_H #include #include #include #include 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