mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
42 lines
790 B
C++
42 lines
790 B
C++
#ifndef DIALOGEDITINSTRUCTOR_H
|
|
#define DIALOGEDITINSTRUCTOR_H
|
|
|
|
#include <QDialog>
|
|
#include "instructor.h"
|
|
#include "ui_dialogeditinstructor.h"
|
|
|
|
namespace Ui {
|
|
class DialogEditInstructor;
|
|
}
|
|
|
|
class DialogEditInstructor : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DialogEditInstructor(QWidget *parent = nullptr);
|
|
~DialogEditInstructor();
|
|
|
|
void setInstructor(Instructor instructor);
|
|
Instructor getInstructor();
|
|
|
|
private slots:
|
|
void on_editName_textChanged(const QString &arg1);
|
|
|
|
void on_editLogin_textChanged(const QString &arg1);
|
|
|
|
void on_editPassword_textChanged(const QString &arg1);
|
|
|
|
void on_btnOK_clicked();
|
|
|
|
private:
|
|
void verify();
|
|
|
|
private:
|
|
Ui::DialogEditInstructor *ui;
|
|
|
|
Instructor instructorInput;
|
|
};
|
|
|
|
#endif // DIALOGEDITINSTRUCTOR_H
|