iFacilityProject/iFacility/workerpanel.h
2021-01-05 16:44:30 +07:00

26 lines
463 B
C++

#ifndef WORKERPANEL_H
#define WORKERPANEL_H
#include <QMainWindow>
#include "objects/user.h"
#include "viewmodels/userprofessionviewmodel.h"
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();
void setUser(User *user);
};
#endif // WORKERPANEL_H