Project Documentation Manager BRIGADOON-0002
Project Documentation Manager
Loading...
Searching...
No Matches
mainwindow.h
Go to the documentation of this file.
1#ifndef MAINWINDOW_H
2#define MAINWINDOW_H
3
4#include "ui_mainwindow.h"
6#include "logger.h"
7#include "programversion.h"
8#include "databasemanager.h"
9#include "developmentfamily.h"
10#include "licencemanager.h"
11#include "projectstatus.h"
12#include "projectidentifier.h"
13
14QT_BEGIN_NAMESPACE
15
20namespace Ui { class MainWindow; }
21
22QT_END_NAMESPACE
23
28class MainWindow : public QMainWindow
29{
30 Q_OBJECT
31
32public:
38 MainWindow(QWidget *parent = nullptr);
39
45
51
52private:
53
58 Ui::MainWindow *ui;
59
65
71
77
83
89
95
101
106 QString red_stylesheet = "color: rgb(224, 27, 36)";
107
112 QString purple_stylesheet = "color: rgb(192, 97, 203)";
113
118 QString grey_stylesheet = "color: rgb(200, 200, 200)";
119
125
126private slots:
127
133 void SetProjectNameColor(QString TextString);
134
140 void SetProjectIdentColor(QString TextString);
141
147 void SetBriefDescriptionColor(QString TextString);
148
154 void SetDepartureURLColor(QString TextString);
155
162
171
177 void SetProjectIconColor(QString TextString);
178
184 void SetDoxyProjectLogoColor(QString TextString);
185
191 void SetDoxyHeaderColor(QString TextString);
192
198 void SetDoxyFooterColor(QString TextString);
199
205 void SetDoxyStylesheetColor(QString TextString);
206
212 void SetExeDirColor(QString TextString);
213
219 void SetProgramName(QString ProgramName);
220
225 void SelectExeDir(void);
226
232 void SetExeNameColor(QString TextString);
233
238 void SetDefaultDeparture(void);
239
240signals:
241
247 void UpdateFullDescription(QString DescText);
248};
249#endif // MAINWINDOW_H
Class to control the opening of the Database.
Clasas to Control the Project's Development Family Information.
Class to Manager the Project Licences.
main window of this Program
Definition mainwindow.h:29
ProgramIdentification * program_id
Point to the Program's identification.
Definition mainwindow.h:64
void SetBriefDescriptionColor(QString TextString)
Set the Colour of the Project's Brief Description.
void SetDoxyProjectLogoColor(QString TextString)
Set the Colour of the Doxygen Project Logo.
QString grey_stylesheet
Stylesheet for the colour grey.
Definition mainwindow.h:118
void SetDoxyFooterColor(QString TextString)
Set the Colour of the Doxygen Footer Colour.
QString red_stylesheet
Stylesheet for the colour red.
Definition mainwindow.h:106
LicenceManager * licence_manager
Pointer to the Licence Class.
Definition mainwindow.h:82
Ui::MainWindow * ui
POinter to the Main Window.
Definition mainwindow.h:58
DevelopmentFamily * dev_manager
Pointer to the Development Class.
Definition mainwindow.h:76
ProgramVersion * version_manager
Pointer to the Progra's Version Class.
Definition mainwindow.h:100
void SetProgramName(QString ProgramName)
Set the Program Name.
void UpdateFullDescription(QString DescText)
Emit the Full Description text.
void SetVersionDesriptionColor()
Set the Colour of the Version Description.
void SelectExeDir(void)
QString no_color_stylesheet
Stylesheet for no colour definition.
Definition mainwindow.h:124
ProjectStatus * status_manager
Pointer to the Status Class.
Definition mainwindow.h:88
void SetDoxyHeaderColor(QString TextString)
Set the Colour of the Doxygen Header Colour.
Logger * log
Pointer to the Log Class.
Definition mainwindow.h:50
void SetProjectIconColor(QString TextString)
Set the Colour of the Project Icon.
MainWindow(QWidget *parent=nullptr)
Constructor for Main Window.
ProjectIdentifier * project_id_manager
Pointer to the Project Id3entification Class.
Definition mainwindow.h:94
void SetDoxyStylesheetColor(QString TextString)
Set the Colour of the Doxygen Stylesheet Colour.
void SetExeNameColor(QString TextString)
Set the Colour of the Exe Name Stylesheet Colour.
void SetDepartureURLColor(QString TextString)
Set the Colour of the Project's Departure URL.
void SetProjectNameColor(QString TextString)
Set the Colour of the Project Name.
DatabaseManager * db_manager
Pointer to the Database Class.
Definition mainwindow.h:70
QString purple_stylesheet
Stylesheet for the colour purple.
Definition mainwindow.h:112
void SetExeDirColor(QString TextString)
Set the Colour of the Exe Directory Stylesheet Colour.
~MainWindow()
Main Window Deconstructor.
void SetDefaultDeparture(void)
Set the Default Departure URL.
void SetFullDesriptionColor()
void SetProjectIdentColor(QString TextString)
Set the Colour of the Project Identifier.
Program Identification Class.
Class for Program Vesrion.
Class Controlling the Database Creation.
Class Controlling the project's Licences.
Common Structure Defintitions.
Program Version Class.
Project Identifier Class.
Class Controlling the Project Status COntrol & Display.