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.
34 lines
559 B
34 lines
559 B
#ifndef ADD_ADMINISTRATION_H
|
|
#define ADD_ADMINISTRATION_H
|
|
|
|
#include <QDialog>
|
|
#include <qsqldatabase.h>
|
|
#include <administration.h>
|
|
#include <QLabel>
|
|
|
|
namespace Ui {
|
|
class add_administration;
|
|
}
|
|
|
|
class add_administration : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit add_administration(QWidget *parent = nullptr);
|
|
~add_administration();
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent*);
|
|
|
|
private slots:
|
|
void on_pushButton_clicked();
|
|
|
|
private:
|
|
Ui::add_administration *ui;
|
|
QSqlDatabase db;
|
|
QLabel *bg;
|
|
};
|
|
|
|
#endif // ADD_ADMINISTRATION_H
|