Add logick for user workers

This commit is contained in:
E. Kozlovskaya 2021-01-05 16:44:30 +07:00
parent e7be0f23d6
commit 2bf8ff0f59
6 changed files with 42 additions and 17 deletions

View file

@ -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