mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
28 lines
685 B
C++
28 lines
685 B
C++
#ifndef INSTRUCTORSVIEW_H
|
|
#define INSTRUCTORSVIEW_H
|
|
|
|
#include "instructorsAndTrainees_global.h"
|
|
#include "databaseinstructors.h"
|
|
#include "commonview.h"
|
|
|
|
//Родительский класс представления БД Инструкторов (для просмотра и управления)
|
|
|
|
class InstructorsView: public CommonView
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
InstructorsView(DataBaseInstructors* db, TypeView type, bool adminMode, QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
void preparationTreeWidget(QTreeWidget* tree);
|
|
void loadInstructorsFromDB();
|
|
|
|
void reSetHeadTreeWidget();
|
|
|
|
protected:
|
|
DataBaseInstructors* dbInstructors;
|
|
};
|
|
|
|
#endif // INSTRUCTORSVIEW_H
|