mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
39 lines
894 B
C++
39 lines
894 B
C++
#ifndef INSTRUCTORSVIEW_H
|
|
#define INSTRUCTORSVIEW_H
|
|
|
|
#include "instructorsAndTrainees_global.h"
|
|
#include "interfacedatabaselms.h"
|
|
#include "commonview.h"
|
|
|
|
//Родительский класс представления БД Инструкторов (для просмотра и управления)
|
|
|
|
class InstructorsView: public CommonView
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
InstructorsView(InterfaceDataBaseLMS* dbLMS, TypeView type, bool adminMode, QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
enum ColumnsTreeInsructors{
|
|
clmn_Instructor = 0,
|
|
clmn_Login,
|
|
clmn_Password,
|
|
clmn_Administrator,
|
|
clmn_Archived,
|
|
clmn_Logged,
|
|
clmn_ID
|
|
};
|
|
|
|
protected:
|
|
void preparationTreeWidget(QTreeWidget* tree);
|
|
void loadInstructorsFromDB();
|
|
|
|
void reSetHeadTreeWidget();
|
|
|
|
protected:
|
|
InterfaceDataBaseLMS* dbLMS;
|
|
};
|
|
|
|
#endif // INSTRUCTORSVIEW_H
|