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,51 @@
#ifndef INSTRUCTORSWIDGET_H
#define INSTRUCTORSWIDGET_H
#include "instructorsview.h"
#include "dialogredactorinstructors.h"
namespace Ui {
class ViewerInstructors;
}
//Виджет только для просмотра БД Инструкторов
class ViewerInstructors : public InstructorsView
{
Q_OBJECT
public:
explicit ViewerInstructors(ConnectorToServer* connectorToServer, QWidget *parent = nullptr);
~ViewerInstructors();
public:
void setAuthComplited(bool authComplited);
void deactivate();
protected:
void changeEvent(QEvent * event) override;
public slots:
void slot_receiveMessage(ClientMessage clientMessage);
public Q_SLOTS:
void on_btnEditorInstructors_clicked();
void on_treeWidgetItemClicked(QTreeWidgetItem *item, int column);
Q_SIGNALS:
//сигнал о выборе инструктора
void signal_instructorSelected(int id_instructor);
private:
void updateButtons() override;
private:
DialogRedactorInstructors* dlgRedactor;
private:
Ui::ViewerInstructors *ui;
};
#endif // INSTRUCTORSWIDGET_H