Add logick for user workers
This commit is contained in:
parent
e7be0f23d6
commit
2bf8ff0f59
6 changed files with 42 additions and 17 deletions
|
|
@ -3,20 +3,24 @@
|
|||
|
||||
#include <QMainWindow>
|
||||
|
||||
namespace Ui {
|
||||
class WorkerPanel;
|
||||
}
|
||||
#include "objects/user.h"
|
||||
#include "viewmodels/userprofessionviewmodel.h"
|
||||
|
||||
class WorkerPanel : public QMainWindow
|
||||
{
|
||||
namespace Ui { class WorkerPanel; }
|
||||
|
||||
class WorkerPanel : public QMainWindow {
|
||||
private:
|
||||
Q_OBJECT
|
||||
|
||||
Ui::WorkerPanel *ui;
|
||||
UserProfessionViewModel *upvm;
|
||||
User *mUser;
|
||||
|
||||
public:
|
||||
explicit WorkerPanel(QWidget *parent = nullptr);
|
||||
~WorkerPanel();
|
||||
|
||||
private:
|
||||
Ui::WorkerPanel *ui;
|
||||
void setUser(User *user);
|
||||
};
|
||||
|
||||
#endif // WORKERPANEL_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue