Project Documentation Manager BRIGADOON-0002
Project Documentation Manager
Loading...
Searching...
No Matches
projectstatus.h
Go to the documentation of this file.
1
6#ifndef PROJECTSTATUS_H
7#define PROJECTSTATUS_H
8
9#include <QObject>
10#include <QComboBox>
11#include "common_definitions.h"
12#include "logger.h"
13
14
15class ProjectStatus : public QObject
16{
17 Q_OBJECT
18public:
19
25 ProjectStatus(Ui::MainWindow* UI_Window);
26
31 void LoadStatus(void);
32
33public slots:
34
39 void TriggerSendStatus(void);
40
45 void DoClear(void);
46
53
54private:
55
60 Ui::MainWindow* ui;
61
67
73
79
87 void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message);
88
94 void SetNextStatusPrompt(int NewStatus);
95
100 void PostStatus(void);
101
102private slots:
103
109 void StatusChanged(int StatusIndex);
110
115 void DoIncrement(void);
116
122 void SetStatusEditing(int EditStatus);
123
128 void DoStatusDateNow(void);
129
130signals:
131
138
144 void SendStatus(int StatusIndex);
145
151 void SendStatusInfo(STATUS_INFO StatusInfo);
152};
153
154#endif // PROJECTSTATUS_H
uint project_suffix_size
Number of digits in the Project Idenifier.
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message)
Add a Log Entry.
void LoadStatus(void)
Load Status definitions from the Database.
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
Send Log Entry to the Log \LogEntry Structure holding Log information.
QString project_ident_prefix
The text prefix of the Project Identifier.
void StatusChanged(int StatusIndex)
When Status Changes Update the Next Status Level Button.
ProjectStatus(Ui::MainWindow *UI_Window)
ProjectStatus Constructor.
void ReadProjectInfo(PROJECT_INFORMATION *Info)
Read teh Status from the Project Info to the User Interface.
void SendStatusInfo(STATUS_INFO StatusInfo)
Emit the current Status Information Structure.
void PostStatus(void)
Get Current Status from User Inface, Save to Database & Forward.
void DoStatusDateNow(void)
Set the Status Date as the current DateTime.
void SetStatusEditing(int EditStatus)
Turn Custom Status Setting On or Off.
Ui::MainWindow * ui
Pointer to the Main Window.
void DoIncrement(void)
Increment the Project's Status to the Next Level.
void SendStatus(int StatusIndex)
Emit the current Status Database Index.
void DoClear(void)
Reset the Uer Interface Status Display.
void SetNextStatusPrompt(int NewStatus)
Set the Next Available Status Level in the Increment Button.
void TriggerSendStatus(void)
Respond to Request for Status by Sending it.
int project_index
The Database Table index of the Project.
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
Project Information Passed Between Functions.
Definition logger.h:60
Information about the Development Status.