Project Documentation Manager BRIGADOON-0002
Project Documentation Manager
Loading...
Searching...
No Matches
readprojectinfo.h
Go to the documentation of this file.
1
6#ifndef READPROJECTINFO_H
7#define READPROJECTINFO_H
8
9#include <QObject>
10#include <QTableWidget>
11#include "logger.h"
12#include "common_definitions.h"
13
14
15
16class ReadProjectInfo : public QObject
17{
18 Q_OBJECT
19public:
20
26 explicit ReadProjectInfo(QObject *parent = nullptr);
27
34 bool LoadProjectInfo(PROJECT_INFORMATION* Store, int ProjectIndex, int ProjManIndex);
35
42 QString FindQtBuildVersion(QString ConfigFile);
43
52 bool SetProjectStatus(int ProjectIndex, bool LockState, bool QueueState);
53
54public slots:
55
56private:
57
62 QList<PROJECT_INFORMATION> ProjectList;
63
71 void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message);
72
80 bool LoadLicenceData(LICENCE_INFO *Licence, int LicenceIndex);
81
89 bool LoadAssocGroupData(ASSOCIATED_GROUP_INFO* Assoc, int AssociationIndex);
90
98 bool LoadDevFamilyData(DEV_FAMILY_INFO* DevFam, int DevFamilyIndex);
99
107 bool LoadLangFamilyData(LANG_FAMILY_INFO* LangFam, int LangFamilyIndex);
108
116 bool LoadCompilerFamilyData(COMP_FAMILY_INFO* CompFam, int CompFamilyIndex);
117
125 bool LoadTargetFamilyData(TARGET_FAMILY_INFO* TargetFam, int TargetFamilyIndex);
126
134 bool LoadFullHistory(VERSION_INFO* Version, int ProjectIndex);
135
143 bool LoadVersionInfo(VERSION_INFO* Version, int ProjectIndex);
144
152 bool LoadStatusInfo(STATUS_INFO* Status, int StatusIndex);
153
161 bool LoadDeveloperData(DEVELOPER_INFO* person, int DevIndex);
162
171 QString FormatVersion(int MajorVersion, int MinorVersion, int Revision);
172
173private slots:
174
175signals:
176
183};
184
185#endif // READPROJECTINFO_H
bool SetProjectStatus(int ProjectIndex, bool LockState, bool QueueState)
Set the Locked and Queued State of the Project.
QString FormatVersion(int MajorVersion, int MinorVersion, int Revision)
Format the Version information into a String.
bool LoadAssocGroupData(ASSOCIATED_GROUP_INFO *Assoc, int AssociationIndex)
Load the In Association Information for the Selected Licence.
bool LoadCompilerFamilyData(COMP_FAMILY_INFO *CompFam, int CompFamilyIndex)
Load the Compiler Family Information for the Selected Licence.
bool LoadFullHistory(VERSION_INFO *Version, int ProjectIndex)
Load the Compiler Family Information for the Selected Licence.
ReadProjectInfo(QObject *parent=nullptr)
Read Project Info Clawss Constructor.
bool LoadTargetFamilyData(TARGET_FAMILY_INFO *TargetFam, int TargetFamilyIndex)
Load the Compiler Family Information for the Selected Licence.
bool LoadLangFamilyData(LANG_FAMILY_INFO *LangFam, int LangFamilyIndex)
Load the Licence Information for the Selected Licence.
bool LoadProjectInfo(PROJECT_INFORMATION *Store, int ProjectIndex, int ProjManIndex)
Load Project & relevant System Information into the Structure.
QList< PROJECT_INFORMATION > ProjectList
List of Projects to be Processed.
QString FindQtBuildVersion(QString ConfigFile)
Find the Qt Builder Version.
Definition worker.cpp:613
bool LoadLicenceData(LICENCE_INFO *Licence, int LicenceIndex)
Load the Licence Information for the Selected Licence.
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
Send Log Entry to the Log \LogEntry Structure holding Log information.
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message)
Send Message to the Log.
bool LoadDevFamilyData(DEV_FAMILY_INFO *DevFam, int DevFamilyIndex)
Load the Licence Information for the Selected Licence.
bool LoadDeveloperData(DEVELOPER_INFO *person, int DevIndex)
Load the Developer Information for the Selected Licence.
bool LoadVersionInfo(VERSION_INFO *Version, int ProjectIndex)
Load the Compiler Family Information for the Selected Licence.
bool LoadStatusInfo(STATUS_INFO *Status, int StatusIndex)
Load the Status Information for the Selected Licence.
Common Structure Defintitions.
LOGGING_SEVERITY
Log Severity allow the selection of logging events based on Severity.
Definition logger.h:48
LOGGING_MODE
Log Severity allow the selection of logging events based on the mode.
Definition logger.h:21
Inforamtion about Group Associated with the Project.
Information about the Primary Tool.
Personal Information about the Developer.
Project Groups like Home Automation, Houseboat, Sensors, etc.
Language groups like C++, Javascript, CAD etc.
Fields describing a Licence.
Project Information Passed Between Functions.
Definition logger.h:60
Information about the Development Status.
Target Systems like Linux, Windows, Arduino.
Information about the Project's Version.