Add admin panel
This commit is contained in:
parent
2c72beab6a
commit
9f2eb3c573
6 changed files with 276 additions and 7 deletions
28
sea_transport/adminpanel.h
Normal file
28
sea_transport/adminpanel.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef ADMINPANEL_H
|
||||
#define ADMINPANEL_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
#include "entities/user_entity.h"
|
||||
|
||||
namespace Ui {
|
||||
class AdminPanel;
|
||||
}
|
||||
|
||||
class AdminPanel : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
user_entity user;
|
||||
|
||||
public:
|
||||
explicit AdminPanel(QWidget *parent = nullptr);
|
||||
~AdminPanel();
|
||||
|
||||
AdminPanel& set_user(const user_entity &user);
|
||||
|
||||
private:
|
||||
Ui::AdminPanel *ui;
|
||||
};
|
||||
|
||||
#endif // ADMINPANEL_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue