mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
60 lines
1.4 KiB
C++
60 lines
1.4 KiB
C++
#ifndef TRAINEESWIDGET_H
|
||
#define TRAINEESWIDGET_H
|
||
|
||
#include "traineesview.h"
|
||
#include "ammtaskswidget.h"
|
||
#include "fimtaskswidget.h"
|
||
|
||
namespace Ui {
|
||
class ViewerTrainees;
|
||
}
|
||
|
||
//Виджет только для просмотра БД Обучаемых
|
||
|
||
class ViewerTrainees : public TraineesView
|
||
{
|
||
Q_OBJECT
|
||
|
||
public:
|
||
explicit ViewerTrainees(ConnectorToServer* connectorToServer, QWidget *parent = nullptr);
|
||
~ViewerTrainees();
|
||
|
||
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_treeWidget_itemClicked(QTreeWidgetItem *item, int column);
|
||
void on_btnEditorTrainees_clicked();
|
||
private Q_SLOTS:
|
||
void on_treeWidget_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
|
||
|
||
public Q_SLOTS:
|
||
//слот обработки сигнала об изменении вкладки диалога в мессенджере
|
||
void slot_tabMessengerChanged(QString login);
|
||
|
||
Q_SIGNALS:
|
||
//сигнал о выборе обучаемого
|
||
void signal_traineeSelected(QString login);
|
||
|
||
private:
|
||
void updateButtons() override;
|
||
|
||
private:
|
||
AMMtasksWidget* ammTasksWidget;
|
||
FIMtasksWidget* fimTasksWidget;
|
||
|
||
private:
|
||
Ui::ViewerTrainees *ui;
|
||
};
|
||
|
||
#endif // TRAINEESWIDGET_H
|