Files
RRJServer/InstructorsAndTrainees/instructors/viewerinstructors.h
2025-09-09 17:57:14 +03:00

50 lines
1.0 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef INSTRUCTORSWIDGET_H
#define INSTRUCTORSWIDGET_H
#include "instructorsview.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;
Q_SIGNALS:
//сигнал о блокировке авторизации
void signal_BlockAutorization(bool block);
public Q_SLOTS:
void on_btnEditorInstructors_clicked();
public slots:
void on_treeWidget_itemClicked(QTreeWidgetItem *item, int column);
Q_SIGNALS:
//сигнал о выборе инструктора
void signal_instructorSelected(QString login);
private:
void updateButtons() override;
private:
Ui::ViewerInstructors *ui;
};
#endif // INSTRUCTORSWIDGET_H