mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
42 lines
933 B
C++
42 lines
933 B
C++
#ifndef TRAINEESVIEW_H
|
|
#define TRAINEESVIEW_H
|
|
|
|
#include "instructorsAndTrainees_global.h"
|
|
#include "interfacedatabaselms.h"
|
|
#include "commonview.h"
|
|
|
|
//Родительский класс представления БД Обучаемых (для просмотра и управления)
|
|
|
|
class TraineesView: public CommonView
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TraineesView(InterfaceDataBaseLMS* dbLMS, TypeView type, bool adminMode, QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
enum ColumnsTreeTrainees{
|
|
clmn_Trainee = 0,
|
|
clmn_Login,
|
|
clmn_Password,
|
|
clmn_Class,
|
|
clmn_Computer,
|
|
clmn_IP_address,
|
|
clmn_Archived,
|
|
clmn_Logged,
|
|
clmn_Tasks,
|
|
clmn_ID
|
|
};
|
|
|
|
protected:
|
|
void preparationTreeWidget(QTreeWidget* tree);
|
|
void loadTraineesFromDB();
|
|
|
|
void reSetHeadTreeWidget();
|
|
|
|
protected:
|
|
InterfaceDataBaseLMS* dbLMS;
|
|
};
|
|
|
|
#endif // TRAINEESVIEW_H
|