Files
RRJServer/DB_IaT/InstructorsAndTrainees/instructors/instructorsview.h
2024-11-06 16:06:32 +03:00

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