Implemented tab switch for diff. user types
This commit is contained in:
parent
8c9cb25c6f
commit
b6fb78bb75
4 changed files with 29 additions and 6 deletions
|
|
@ -20,8 +20,7 @@ namespace Ui {
|
|||
class AdminPanel;
|
||||
}
|
||||
|
||||
class AdminPanel : public QMainWindow
|
||||
{
|
||||
class AdminPanel : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
user_entity user;
|
||||
|
|
@ -36,7 +35,11 @@ public:
|
|||
|
||||
AdminPanel& set_user(const user_entity &user);
|
||||
|
||||
signals:
|
||||
void user_set();
|
||||
|
||||
private slots:
|
||||
void on_user_set();
|
||||
|
||||
private:
|
||||
Ui::AdminPanel *ui;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue