В основном работает

This commit is contained in:
krivoshein
2024-12-12 17:20:06 +03:00
parent d28453440f
commit 1c9e0510a9
51 changed files with 634 additions and 810 deletions

View File

@@ -5,7 +5,6 @@
#include <QTranslator>
#include <QMutex>
#include "instructorsAndTrainees_global.h"
#include "interfacedatabaselms.h"
#include "connectortoserver.h"
//Родительский класс представления БД Инструкторов/Обучаемых (самого верхнего уровня)
@@ -21,6 +20,13 @@ public:
control
};
enum TypeObject
{
objInstructor,
objTrainee,
objGroup
};
public:
CommonView(ConnectorToServer* connectorToServer, TypeView type, QWidget *parent = nullptr);
@@ -56,7 +62,6 @@ private:
QString loadStyleSheet();
protected:
InterfaceDataBaseLMS* dbLMS;
ConnectorToServer* connectorToServer;
QTreeWidget* treeWidget;
QMutex mtxTreeWidget;
@@ -65,6 +70,8 @@ protected:
bool notLoggedInVisible;
bool adminMode;
bool authComplited;
int lastCurrentID;
TypeObject typeObject;
};
#endif // COMMONVIEW_H