This commit is contained in:
2025-12-05 12:20:47 +03:00
parent 57673d0ee4
commit 05fce073f1
450 changed files with 58 additions and 58 deletions

View File

@@ -0,0 +1,26 @@
#ifndef INSTRUCTORSVIEW_H
#define INSTRUCTORSVIEW_H
#include "instructorsAndTrainees_global.h"
#include "commonview.h"
//Родительский класс представления БД Инструкторов (для просмотра и управления)
class InstructorsView: public CommonView
{
Q_OBJECT
public:
InstructorsView(ConnectorToServer* connectorToServer, TypeView type, QWidget *parent = nullptr);
public Q_SLOTS:
//Слот обработки сигнала необходимости обновления интерфейса
void slot_NeedUpdateUI(bool treeInstructor, bool treeTrainee);
protected:
virtual void updateButtons(){};
void loadInstructorsFromDB();
void setCurrentInstructor(int id);
};
#endif // INSTRUCTORSVIEW_H