|
Project Documentation Manager BRIGADOON-0002
Project Documentation Manager
|
#include <projectidentifier.h>
Public Slots | |
| void | DoClear () |
| Clear User Interface of Project identifiers. | |
| void | ReadProjectId (PROJECT_INFORMATION *ProjectId) |
| Read the Project Identifiers from Disk. | |
Signals | |
| void | SendLogEntry (REMOTE_LOG_ENTRY LogEntry) |
| Send Log Entry to the Log \LogEntry Structure holding Log information. | |
| void | SendProjectId (PROJECT_INFORMATION ProjectId) |
| Send the Project Identification using Signal Slot. | |
| void | SendLicenceState (LICENCE_STATE LicenceState) |
| Send the Licence State using Signal Slot. | |
| void | SendDevelopmentFamily (DEVELOPMENT_FAMILY DevFamily) |
| Send the Development Family using Signal Slot. | |
| void | SendVersionInfo (REMOTE_VERSION_ENTRY VersionInfo) |
| Send the Version Info using Signal Slot. | |
| void | SendLoadSubsTable (int ProjectId) |
| void | SendProjectOptions (uint ProjectOptions) |
| Send Project Options via signal/slot. | |
| void | SendProjectName (QString ProjectName) |
| void | SendDepartureURL (QString DepartureURL) |
| void | SendProjectIcon (QString ProjectIcon) |
| void | SendProjectBrief (QString ProjectBrief) |
| Send Project Brief Description via signal/slot. | |
| void | SendProjectContact (QString ProjectContact) |
| Send Project Contact name via signal/slot. | |
| void | SendInAssociation (QString InAssocGroup) |
| Send Associated Group name via signal/slot. | |
Public Member Functions | |
| ProjectIdentifier (Ui::MainWindow *UI_Window) | |
| ProjectIdentifier Class Constructor. | |
| void | SetSite (int SiteId) |
| Set the Destination Site using the Site Index. | |
Private Slots | |
| void | SavePreferredProject (void) |
| Save the Preferred Project and related Information. | |
| void | SelectIconImage (void) |
| Select Icon triggered by User Selection. | |
| void | UpdateProjectName (QString Name) |
| Update Project Name from User Interface. | |
| void | UpdateDepartureURL (QString Name) |
| Update Departure URL from User Interface. | |
| void | UpdateProjectIcon (QString Name) |
| Update Project Icon from User Interface. | |
| void | UpdateProjectBrief (QString Name) |
| Update Project Brief Description from User Interface. | |
| void | UpdateProjectContact (int Index) |
| Update Project Contact from User Interface. | |
| void | UpdateInAssociation (int Index) |
| Update Associated Organisation from User Interface. | |
Private Member Functions | |
| void | LogAdd (LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message) |
| Send Message to the Log. | |
| void | LoadSiteList (void) |
| Load the Site Name List from Database. | |
| void | LoadContactList (void) |
| Load Contact List from the Database. | |
| void | LoadInAssociationList (void) |
| Read known Association Lilst from Database. | |
| QString | GetFile (QString InitialName) |
| Read contents of file into string. | |
Private Attributes | |
| Ui::MainWindow * | ui |
| Pointer to the Main Window. | |
Definition at line 20 of file projectidentifier.h.
| ProjectIdentifier::ProjectIdentifier | ( | Ui::MainWindow * | UI_Window | ) |
ProjectIdentifier Class Constructor.
| UI_Window | Pointer to the Main Window |
Definition at line 9 of file projectidentifier.cpp.
References LoadContactList(), LoadInAssociationList(), LoadSiteList(), SavePreferredProject(), SelectIconImage(), SetSite(), ui, UpdateDepartureURL(), UpdateInAssociation(), UpdateProjectBrief(), UpdateProjectContact(), UpdateProjectIcon(), and UpdateProjectName().
|
slot |
Clear User Interface of Project identifiers.
Definition at line 219 of file projectidentifier.cpp.
References LoadContactList(), LoadInAssociationList(), LoadSiteList(), and ui.
|
private |
Read contents of file into string.
| InitialName |
This function takes the initial name and prompts the user for the definitive image filename, and then uses that filename. If a new icon filename is not selected, the initial filename is used.
Definition at line 211 of file projectidentifier.cpp.
Referenced by SelectIconImage().
|
private |
Load Contact List from the Database.
Definition at line 54 of file projectidentifier.cpp.
References LOG_DEBUG, LOG_ERROR, LogAdd(), MODE_DATABASE, and ui.
Referenced by DoClear(), and ProjectIdentifier().
|
private |
Read known Association Lilst from Database.
Definition at line 173 of file projectidentifier.cpp.
References LOG_DEBUG, LogAdd(), MODE_DATABASE, and ui.
Referenced by DoClear(), and ProjectIdentifier().
|
private |
Load the Site Name List from Database.
Definition at line 34 of file projectidentifier.cpp.
References LOG_DEBUG, LOG_ERROR, LogAdd(), MODE_DATABASE, and ui.
Referenced by DoClear(), and ProjectIdentifier().
|
private |
Send Message to the Log.
| Severity | Severity of the Log Message |
| Mode | Which part of the program does the message relate to |
| Message | Text message to be added to the Log |
Definition at line 148 of file projectidentifier.cpp.
References REMOTE_LOG_ENTRY::Message, REMOTE_LOG_ENTRY::Mode, SendLogEntry(), and REMOTE_LOG_ENTRY::Severity.
Referenced by LoadContactList(), LoadInAssociationList(), LoadSiteList(), ReadProjectId(), and SetSite().
|
slot |
Read the Project Identifiers from Disk.
| ProjectId | Structure holding the Project's Information |
Definition at line 231 of file projectidentifier.cpp.
References PROJECT_DESCRIPTION::BriefDescription, COMP_FAMILY_INFO::CompFamilyIndex, PROJECT_INFORMATION::CompFamilyInfo, DEVELOPMENT_FAMILY::CompilerFamily, PROJECT_DESCRIPTION::DepartureURL, DEVELOPMENT_FAMILY::DevelopmentFamily, DEV_FAMILY_INFO::DevFamilyIndex, PROJECT_INFORMATION::DevFamilyInfo, PROJECT_INFORMATION::DocLicence, LICENCE_STATE::DocumentationLicence, PROJECT_DESCRIPTION::ExeDirectory, PROJECT_DESCRIPTION::ExeName, LICENCE_STATE::HardwareLicence, PROJECT_INFORMATION::HardwareLicence, LANG_FAMILY_INFO::LangFamilyIndex, PROJECT_INFORMATION::LangFamilyInfo, DEVELOPMENT_FAMILY::LanguageFamily, LICENCE_INFO::LicenceIndex, LOG_DEBUG, LogAdd(), VERSION_INFO::MajorVersion, VERSION_INFO::MinorVersion, MODE_GENERAL, PROJECT_INFORMATION::ProjectDesc, PROJECT_DESCRIPTION::ProjectIcon, PROJECT_DESCRIPTION::ProjectIndex, PROJECT_DESCRIPTION::ProjectName, REMOTE_VERSION_ENTRY::ProjectNumber, VERSION_INFO::Revision, SendDevelopmentFamily(), SendLicenceState(), LICENCE_STATE::SoftwareLicence, PROJECT_INFORMATION::SoftwareLicence, STATUS_INFO::StatusDateTime, PROJECT_INFORMATION::StatusInfo, DEVELOPMENT_FAMILY::TargetFamily, TARGET_FAMILY_INFO::TargetFamilyIndex, PROJECT_INFORMATION::TargetFamilyInfo, ui, VERSION_INFO::VersionDate, PROJECT_INFORMATION::VersionInfo, and REMOTE_VERSION_ENTRY::VersionInfo.
|
privateslot |
Save the Preferred Project and related Information.
Definition at line 157 of file projectidentifier.cpp.
References project_information, SetSite(), and ui.
Referenced by ProjectIdentifier().
|
privateslot |
Select Icon triggered by User Selection.
Definition at line 192 of file projectidentifier.cpp.
Referenced by ProjectIdentifier().
|
signal |
|
signal |
Send the Development Family using Signal Slot.
| DevFamily | Development FamilyStructure |
Referenced by ReadProjectId().
|
signal |
Send Associated Group name via signal/slot.
| InAssocGroup | Associated Group name as String |
Referenced by UpdateInAssociation().
|
signal |
Send the Licence State using Signal Slot.
| LicenceState | Licences Structure |
Referenced by ReadProjectId().
|
signal |
|
signal |
Send Log Entry to the Log \LogEntry Structure holding Log information.
Referenced by LogAdd().
|
signal |
Send Project Brief Description via signal/slot.
| ProjectBrief | Project Brief as String |
Referenced by UpdateProjectBrief().
|
signal |
Send Project Contact name via signal/slot.
| ProjectContact | Project Contact name as String |
Referenced by UpdateProjectContact().
|
signal |
|
signal |
Send the Project Identification using Signal Slot.
| ProjectId | Project Identification Structure |
|
signal |
|
signal |
Send Project Options via signal/slot.
| ProjectOptions | Project Options bit encoded |
|
signal |
Send the Version Info using Signal Slot.
| VersionInfo | Project Version Info Structure |
| void ProjectIdentifier::SetSite | ( | int | SiteId | ) |
Set the Destination Site using the Site Index.
| SiteId | Database Index for this site |
Definition at line 76 of file projectidentifier.cpp.
References LOG_DEBUG, LOG_ERROR, LogAdd(), MODE_DATABASE, PM_LOCAL_DEV_DIRECTORY, PM_PRIMARY_WEBSITE_DIRECTORY, PM_PROJ_MANAGER_INDEX, PM_PROJECT_DEVELOPMENT_DOXY_DIRECTORY, PM_PROJECT_LIST_FOOTER_FILENAME, PM_PROJECT_LIST_HEADER_FILENAME, PM_PROJECT_LIST_LINE_FILENAME, PM_PROJECT_LIST_OPENSIM_FILENAME, PM_PROJECT_LIST_RETURN_ADDRESS, PM_PROJECT_LIST_WEBPAGE_FILENAME, PM_PUBLISHER_CONTACT_EMAIL, PM_PUBLISHER_NAME, PM_PUBLISHER_WEBSITE, PM_SHARED_TEMPLATE_DIR, PM_SITE_LOGO, PM_SITE_NAME, PM_SITE_URL, PM_SUFFIX_SIZE, project_information, and ui.
Referenced by ProjectIdentifier(), and SavePreferredProject().
|
privateslot |
Update Departure URL from User Interface.
| Name | New Departure URL |
Definition at line 278 of file projectidentifier.cpp.
References SendDepartureURL().
Referenced by ProjectIdentifier().
|
privateslot |
Update Associated Organisation from User Interface.
| Name | New Association Name |
Definition at line 293 of file projectidentifier.cpp.
References SendInAssociation(), and ui.
Referenced by ProjectIdentifier().
|
privateslot |
Update Project Brief Description from User Interface.
| Name | New Project Name |
Definition at line 283 of file projectidentifier.cpp.
References SendProjectBrief().
Referenced by ProjectIdentifier().
|
privateslot |
Update Project Contact from User Interface.
| Name | New Project Contact |
Definition at line 288 of file projectidentifier.cpp.
References SendProjectContact(), and ui.
Referenced by ProjectIdentifier().
|
privateslot |
Update Project Icon from User Interface.
| Name | New Project Icon |
Definition at line 273 of file projectidentifier.cpp.
References SendProjectIcon().
Referenced by ProjectIdentifier().
|
privateslot |
Update Project Name from User Interface.
| Name | New Project Name |
Definition at line 268 of file projectidentifier.cpp.
References SendProjectName().
Referenced by ProjectIdentifier().
|
private |
Pointer to the Main Window.
Definition at line 61 of file projectidentifier.h.
Referenced by DoClear(), LoadContactList(), LoadInAssociationList(), LoadSiteList(), ProjectIdentifier(), ReadProjectId(), SavePreferredProject(), SelectIconImage(), SetSite(), UpdateInAssociation(), and UpdateProjectContact().