#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