Project Documentation Manager BRIGADOON-0002
Project Documentation Manager
Loading...
Searching...
No Matches
projectidentifier.h
Go to the documentation of this file.
1
8#ifndef PROJECTIDENTIFIER_H
9#define PROJECTIDENTIFIER_H
10
11#include <QObject>
12#include <ui_mainwindow.h>
13#include "logger.h"
14#include "common_definitions.h"
15
20class ProjectIdentifier : public QObject
21{
22 Q_OBJECT
23public:
24
30 ProjectIdentifier(Ui::MainWindow* UI_Window);
31
37 void SetSite(int SiteId);
38
39
40public slots:
41
46 void DoClear();
47
53 void ReadProjectId(PROJECT_INFORMATION* ProjectId);
54
55private:
56
61 Ui::MainWindow* ui;
62
70 void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message);
71
76 void LoadSiteList(void);
77
82 void LoadContactList(void);
83
88 void LoadInAssociationList(void);
89
101 QString GetFile(QString InitialName);
102
103private slots:
104
109 void SavePreferredProject(void);
110
115 void SelectIconImage(void);
116
122 void UpdateProjectName(QString Name);
123
129 void UpdateDepartureURL(QString Name);
130
136 void UpdateProjectIcon(QString Name);
137
143 void UpdateProjectBrief(QString Name);
144
150 void UpdateProjectContact(int Index);
151
157 void UpdateInAssociation(int Index);
158
159signals:
160
167
174
180 void SendLicenceState(LICENCE_STATE LicenceState);
181
188
195
201 void SendLoadSubsTable(int ProjectId);
202
208 void SendProjectOptions(uint ProjectOptions);
209
215 void SendProjectName(QString ProjectName);
216
222 void SendDepartureURL(QString DepartureURL);
223
229 void SendProjectIcon(QString ProjectIcon);
230
236 void SendProjectBrief(QString ProjectBrief);
237
243 void SendProjectContact(QString ProjectContact);
244
250 void SendInAssociation(QString InAssocGroup);
251};
252
253#endif // PROJECTIDENTIFIER_H
void ReadProjectId(PROJECT_INFORMATION *ProjectId)
Read the Project Identifiers from Disk.
void SendInAssociation(QString InAssocGroup)
Send Associated Group name via signal/slot.
void LoadSiteList(void)
Load the Site Name List from Database.
void LoadInAssociationList(void)
Read known Association Lilst from Database.
void SendProjectId(PROJECT_INFORMATION ProjectId)
Send the Project Identification using Signal Slot.
void SendProjectOptions(uint ProjectOptions)
Send Project Options via signal/slot.
Ui::MainWindow * ui
Pointer to the Main Window.
void SendLicenceState(LICENCE_STATE LicenceState)
Send the Licence State using Signal Slot.
void UpdateProjectContact(int Index)
Update Project Contact from User Interface.
void SetSite(int SiteId)
Set the Destination Site using the Site Index.
void UpdateInAssociation(int Index)
Update Associated Organisation from User Interface.
void DoClear()
Clear User Interface of Project identifiers.
void SendProjectName(QString ProjectName)
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message)
Send Message to the Log.
void SendProjectIcon(QString ProjectIcon)
void SavePreferredProject(void)
Save the Preferred Project and related Information.
void SendLoadSubsTable(int ProjectId)
void UpdateProjectName(QString Name)
Update Project Name from User Interface.
void UpdateProjectIcon(QString Name)
Update Project Icon from User Interface.
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
Send Log Entry to the Log \LogEntry Structure holding Log information.
QString GetFile(QString InitialName)
Read contents of file into string.
void SendVersionInfo(REMOTE_VERSION_ENTRY VersionInfo)
Send the Version Info using Signal Slot.
void LoadContactList(void)
Load Contact List from the Database.
void SendDepartureURL(QString DepartureURL)
void SendProjectBrief(QString ProjectBrief)
Send Project Brief Description via signal/slot.
void UpdateDepartureURL(QString Name)
Update Departure URL from User Interface.
void UpdateProjectBrief(QString Name)
Update Project Brief Description from User Interface.
ProjectIdentifier(Ui::MainWindow *UI_Window)
ProjectIdentifier Class Constructor.
void SendProjectContact(QString ProjectContact)
Send Project Contact name via signal/slot.
void SelectIconImage(void)
Select Icon triggered by User Selection.
void SendDevelopmentFamily(DEVELOPMENT_FAMILY DevFamily)
Send the Development Family using Signal Slot.
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
Summary of Project Types.
Assigned Software, Hardware and COgumenttaion Licences.
Project Information Passed Between Functions.
Definition logger.h:60
Version Structure used between functions.