6#ifndef PROJECTSUBSTITUTE_H
7#define PROJECTSUBSTITUTE_H
20#define DEFAULT_RETURN_ADDRESS "https://www.little.id.au/projects/index.php"
68#define MAXIMUM_KEY_VALUE_PAIRS 60
74#define PROJECT_KEY_COLUMN_WIDTH 150
367 void AddKeyValue(QString Key, QString Value,
int RowIndex);
378 bool SaveKeyValuePair(
int ProjectId, QString Key, QString Value,
bool Lock);
bool UpdateItem(QString Key, QString Value)
Update the Value of an Entry in the Substitution List.
void ReadProjectId(PROJECT_INFORMATION *ProjectInfo)
Load the Substitution Table for th Project.
void ReadMinorVersion(int MinorVersion)
Update the Minor Version in the Substitute Table.
QTableWidgetItem * FindItemByKey(QString Key)
Find a Substitution Entry in the Substitution List by Name.
ProjectSubstitute(Ui::MainWindow *UI_Window, ProjectOptionsManager *ProjectOptsManager)
LicenceManager Construction routine.
void ReadRevision(int Revision)
Update the Revision in the Substitute Table.
void UpdateDevFamily(DEVELOPMENT_FAMILY DevelopmentTypes)
Update the Dev Families Information in the Substitute Table.
void SaveLocalSubstitutes(void)
Save the Local Substitutes to the Database.
int DecodeProjectOptions(uint Options, int RowIndex, bool NewProject)
Add Key-Value items for all Project Options.
void UpdateProjectIcon(QString Name)
void UpdateDoxyFooter(QString DoxyFooter)
Update Doxygen's Footer Filename in Substitute Table.
void LoadBasePresets(int RowIndex, int ProjectNo)
void UpdateInAssocation(QString Association)
ProjectOptionsManager * project_opts_manager
Pointer the Project Options Manager Class.
void LoadFileSubsList(PROJECT_INFORMATION *Project)
Load the Substitution table from the Project Information.
void UpdateProjectContact(QString ContactName)
void UpdateVersion(REMOTE_VERSION_ENTRY Version)
Update the Version Information in the Substitute Table.
void SetEditableState(QTableWidgetItem *Item)
void AddKeyValue(QString Key, QString Value, int RowIndex)
Add a New Key-Value pair to the Substitution List.
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
void UpdateDoxyHeader(QString DoxyHeader)
Update Doxygen's Header Filename in Substitute Table.
void SetOptionState(uint Options)
void DoClear(void)
Clear the Substitution lists and display.
QStringList sys_item_name
List of System Names for Subtitution process.
void UpdateProjectBrief(QString Text)
Update Project Brief in Substitute Table.
void LoadUserSubstitutes(PROJECT_INFORMATION *Project)
void LoadSubsTable(int ProjectNo)
QString GetProjectEmail(int Index)
void UpdateDocumentationLicence(QString LicenceName)
Update the Documentation Licence Information in the Substitute Table.
void LoadPresets(void)
Load the Substitution Table.
void ReadMajorVersion(int MajorVersion)
Update the Major Version in the Substitute Table.
void ReloadSubstituteTable(void)
Reload the Substituition Table & Display.
bool SaveKeyValuePair(int ProjectId, QString Key, QString Value, bool Lock)
void SetSubstituteState(bool State)
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message)
Add a Log Entry.
Ui::MainWindow * ui
Pointer to the Main Window.
PROJECT_INFORMATION * project_info
Structure to hold Project Information.
void UpdateProjectName(QString Name)
Update Project Name in Substitute Table.
void UpdateDoxyProjectLogo(QString DoxyProjectLogo)
Update Doxygen's Project Logo Filename in Substitute Table.
void UpdateHardwareLicence(QString LicenceName)
Update the Hardware Licence Information in the Substitute Table.
QString leadin_string
Lead in Characters for substitution blocks.
QStringList option_name
List of Option Names for Subtitution process.
void UpdateDepartureURL(QString Name)
Update Exit URL in Substitute Table.
void UpdateSoftwareLicence(QString LicenceName)
Update the Software Licence Information in the Substitute Table.
void UpdateProjectDateTime(QString ProjectDateTime)
Update Project's DateTime in Substitute Table.
void UpdateStatus(STATUS_INFO StatusInfo)
Update the Deve Families Information in the Substitute Table.
QColor system_colour
table Background Colour
QString leadout_string
Lead out Characters for substitution blocks.
void UpdateFullDescription(QString FullDescription)
Update the Full Description in the Substitute Table.
void UpdateDoxyStylesheet(QString DoxyStylesheet)
Update Doxygen's Stylesheet Filename in Substitute Table.
void ClearSubstituteEntry(void)
Clear the Select Substitution Row & data.
LOGGING_SEVERITY
Log Severity allow the selection of logging events based on Severity.
LOGGING_MODE
Log Severity allow the selection of logging events based on the mode.
Class Controlling the Database Creation.
PROJECT_ITEM
A sequential list of Project Parameters.
Summary of Project Types.
Version Structure used between functions.
Information about the Development Status.