mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
43 lines
856 B
C++
43 lines
856 B
C++
#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();
|
||
|
||
private:
|
||
void updateButtons() override;
|
||
|
||
private:
|
||
Ui::ViewerInstructors *ui;
|
||
};
|
||
|
||
#endif // INSTRUCTORSWIDGET_H
|