PSQL 30.10.2024

This commit is contained in:
krivoshein
2024-10-30 15:33:26 +03:00
commit 024cd38bd6
256 changed files with 31332 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
#ifndef DIALOGINSTRUCTORS_H
#define DIALOGINSTRUCTORS_H
#include <QDialog>
#include <QTreeWidget>
#include "databaseinstructors.h"
#include "instructorsview.h"
namespace Ui {
class EditorInstructors;
}
//Диалог для просмотра и управления БД Инструкторов
class EditorInstructors : /*public QDialog,*/ public InstructorsView
{
Q_OBJECT
public:
explicit EditorInstructors(DataBaseInstructors* db, QWidget *parent = nullptr);
~EditorInstructors();
private Q_SLOTS:
void on_btnNewInstructor_clicked();
void on_btnDeleteInstructor_clicked();
void on_btnToOrFromArchive_clicked();
void on_btnEdit_clicked();
void on_btnArchive_clicked();
void on_treeWidget_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
private:
void setCurrentInstructor(QString name);
private:
Ui::EditorInstructors *ui;
};
#endif // DIALOGINSTRUCTORS_H