Project Documentation Manager BRIGADOON-0002
Project Documentation Manager
Loading...
Searching...
No Matches
ProjectIdentifier Class Reference

#include <projectidentifier.h>

Inheritance diagram for ProjectIdentifier:
[legend]
Collaboration diagram for ProjectIdentifier:
[legend]

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.

Detailed Description

Definition at line 20 of file projectidentifier.h.

Constructor & Destructor Documentation

◆ ProjectIdentifier()

ProjectIdentifier::ProjectIdentifier ( Ui::MainWindow * UI_Window)

ProjectIdentifier Class Constructor.

Parameters
UI_WindowPointer to the Main Window

Definition at line 9 of file projectidentifier.cpp.

10{
11 ui = UI_Window;
15
16 // Preset the Preferred Site
17 QSettings settings( "brigadoon/netprojectmanager" );
18 ui->ProjectPrefix->setCurrentText(settings.value( "Project/ProjectSite", "BRIGADOON").toString());
19 ui->ProjectNumberSize->setValue(settings.value("Project/ProjectIdSize", 4).toInt());
20 SetSite(ui->ProjectPrefix->currentIndex() + 1);
21 ui->BuildProgram->setText(qVersion());
22
23 // Set the Save Connection
24 QObject::connect(ui->UpdateProjectIdSettings, SIGNAL(pressed()), this, SLOT(SavePreferredProject()));
25 QObject::connect(ui->SelectProjectIcon, SIGNAL(pressed()), this, SLOT(SelectIconImage()));
26 QObject::connect(ui->ProjectName, SIGNAL(textChanged(QString)), this, SLOT(UpdateProjectName(QString)));
27 QObject::connect(ui->DepartureURL, SIGNAL(textChanged(QString)), this, SLOT(UpdateDepartureURL(QString)));
28 QObject::connect(ui->ProjectIcon, SIGNAL(textChanged(QString)), this, SLOT(UpdateProjectIcon(QString)));
29 QObject::connect(ui->BriefDescription, SIGNAL(textChanged(QString)), this, SLOT(UpdateProjectBrief(QString)));
30 QObject::connect(ui->ProjectContactList, SIGNAL(currentIndexChanged(int)), this, SLOT(UpdateProjectContact(int)));
31 QObject::connect(ui->InAssociationList, SIGNAL(currentIndexChanged(int)), this, SLOT (UpdateInAssociation(int)));
32}
void LoadSiteList(void)
Load the Site Name List from Database.
void LoadInAssociationList(void)
Read known Association Lilst from Database.
Ui::MainWindow * ui
Pointer to the Main Window.
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 SavePreferredProject(void)
Save the Preferred Project and related Information.
void UpdateProjectName(QString Name)
Update Project Name from User Interface.
void UpdateProjectIcon(QString Name)
Update Project Icon from User Interface.
void LoadContactList(void)
Load Contact List from the Database.
void UpdateDepartureURL(QString Name)
Update Departure URL from User Interface.
void UpdateProjectBrief(QString Name)
Update Project Brief Description from User Interface.
void SelectIconImage(void)
Select Icon triggered by User Selection.

References LoadContactList(), LoadInAssociationList(), LoadSiteList(), SavePreferredProject(), SelectIconImage(), SetSite(), ui, UpdateDepartureURL(), UpdateInAssociation(), UpdateProjectBrief(), UpdateProjectContact(), UpdateProjectIcon(), and UpdateProjectName().

Here is the call graph for this function:

Member Function Documentation

◆ DoClear

void ProjectIdentifier::DoClear ( void )
slot

Clear User Interface of Project identifiers.

Definition at line 219 of file projectidentifier.cpp.

220{
221 LoadSiteList();
224 ui->ProjectName->clear();
225 ui->ProjectIcon->clear();
226 ui->ProjectIdent->clear();
227 ui->BriefDescription->clear();
228 ui->DepartureURL->clear();
229}

References LoadContactList(), LoadInAssociationList(), LoadSiteList(), and ui.

Here is the call graph for this function:

◆ GetFile()

QString ProjectIdentifier::GetFile ( QString InitialName)
private

Read contents of file into string.

Parameters
InitialName
Returns
String holding file's contents

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.

212{
213 QString file_name = QFileDialog::getOpenFileName(nullptr, "Select Project's Icon", InitialName, "*.png *.xpm *.jpg *.svg");
214 if (file_name == "")file_name = InitialName;
215
216 return(file_name);
217}

Referenced by SelectIconImage().

Here is the caller graph for this function:

◆ LoadContactList()

void ProjectIdentifier::LoadContactList ( void )
private

Load Contact List from the Database.

Definition at line 54 of file projectidentifier.cpp.

55{
56 // Clear the List
57 ui->ProjectContactList->clear();
58
59 QSqlQuery contact_list_query("select developer_index, developer_handle, developer_name from developer");
60
61 // Step through the Results
62 int row_index = 0;
63 while ( contact_list_query.next() )
64 {
65 int developer_index = contact_list_query.value(0).toInt();
66 QString developer_handle = contact_list_query.value(1).toString();
67 QString developer_name = contact_list_query.value(2).toString();
68 QString list_entry = QString("%1 (%2)").arg(developer_handle, developer_name);
69 ui->ProjectContactList->addItem(list_entry, developer_index);
70 row_index++;
71 }
72 if (row_index == 0) LogAdd(LOG_ERROR, MODE_DATABASE, "Failed to Read Contacts from table \"developer\"");
73 else LogAdd(LOG_DEBUG, MODE_DATABASE, QString("Read %1 developers from table \"developer\"").arg(QString::number(row_index)));
74}
void LogAdd(LOGGING_SEVERITY Severity, LOGGING_MODE Mode, QString Message)
Send Message to the Log.
@ LOG_ERROR
Definition logger.h:52
@ LOG_DEBUG
Definition logger.h:56
@ MODE_DATABASE
Definition logger.h:35

References LOG_DEBUG, LOG_ERROR, LogAdd(), MODE_DATABASE, and ui.

Referenced by DoClear(), and ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadInAssociationList()

void ProjectIdentifier::LoadInAssociationList ( void )
private

Read known Association Lilst from Database.

Definition at line 173 of file projectidentifier.cpp.

174{
175 // Clear the List
176 ui->InAssociationList->clear();
177
178 QSqlQuery association_list_query("select short_name, in_assoc_index from in_association");
179
180 // Step through the Results
181 int row_index = 0;
182 while ( association_list_query.next() )
183 {
184 QString associate = association_list_query.value(0).toString();
185 int associate_index = association_list_query.value(1).toInt();
186 ui->InAssociationList->addItem(associate, associate_index);
187 row_index++;
188 }
189 LogAdd(LOG_DEBUG, MODE_DATABASE, QString("Added %1 entries to the In-Association List from table \"in_association\"").arg(QString::number(row_index)));
190}

References LOG_DEBUG, LogAdd(), MODE_DATABASE, and ui.

Referenced by DoClear(), and ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadSiteList()

void ProjectIdentifier::LoadSiteList ( void )
private

Load the Site Name List from Database.

Definition at line 34 of file projectidentifier.cpp.

35{
36 // Clear the List
37 ui->ProjectPrefix->clear();
38
39 QSqlQuery site_list_query("select project_prefix, suffix_size from project_manager");
40
41 // Step through the Results
42 int row_index = 0;
43 while ( site_list_query.next() )
44 {
45 QString project_prefix = site_list_query.value(0).toString();
46 int suffix_size = site_list_query.value(1).toInt();
47 ui->ProjectPrefix->addItem(project_prefix, suffix_size);
48 row_index++;
49 }
50 if (row_index == 0) LogAdd(LOG_ERROR, MODE_DATABASE, "Failed to Read Project Identifiers from table \"project_manager\"");
51 else LogAdd(LOG_DEBUG, MODE_DATABASE, QString("Read %1 Site name entries from table \"project_manager\"").arg(QString::number(row_index)));
52}

References LOG_DEBUG, LOG_ERROR, LogAdd(), MODE_DATABASE, and ui.

Referenced by DoClear(), and ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LogAdd()

void ProjectIdentifier::LogAdd ( LOGGING_SEVERITY Severity,
LOGGING_MODE Mode,
QString Message )
private

Send Message to the Log.

Parameters
SeveritySeverity of the Log Message
ModeWhich part of the program does the message relate to
MessageText message to be added to the Log

Definition at line 148 of file projectidentifier.cpp.

149{
150 REMOTE_LOG_ENTRY log_entry;
151 log_entry.Severity = Severity;
152 log_entry.Mode = Mode;
153 log_entry.Message = Message;
154 emit SendLogEntry(log_entry);
155}
void SendLogEntry(REMOTE_LOG_ENTRY LogEntry)
Send Log Entry to the Log \LogEntry Structure holding Log information.
LOGGING_MODE Mode
Definition logger.h:61
QString Message
Definition logger.h:63
LOGGING_SEVERITY Severity
Definition logger.h:62

References REMOTE_LOG_ENTRY::Message, REMOTE_LOG_ENTRY::Mode, SendLogEntry(), and REMOTE_LOG_ENTRY::Severity.

Referenced by LoadContactList(), LoadInAssociationList(), LoadSiteList(), ReadProjectId(), and SetSite().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadProjectId

void ProjectIdentifier::ReadProjectId ( PROJECT_INFORMATION * ProjectId)
slot

Read the Project Identifiers from Disk.

Parameters
ProjectIdStructure holding the Project's Information

Definition at line 231 of file projectidentifier.cpp.

232{
233 LICENCE_STATE licence_state;
234 DEVELOPMENT_FAMILY dev_family;
235 REMOTE_VERSION_ENTRY version_info;
236
237 QString project_prefix = ui->ProjectPrefix->currentText();
238 int suffix_size = ui->ProjectPrefix->currentData().toInt();
239
240 LogAdd(LOG_DEBUG, MODE_GENERAL, QString("Starting Initial Project Loading"));
241
242 ui->ProjectName->setText(ProjectId->ProjectDesc.ProjectName);
243 ui->ProjectIdent->setText( project_prefix + "-" + QString::number(ProjectId->ProjectDesc.ProjectIndex).rightJustified(suffix_size, '0'));
244 ui->ProjectIcon->setText(ProjectId->ProjectDesc.ProjectIcon);
245 ui->BriefDescription->setText(ProjectId->ProjectDesc.BriefDescription);
246 ui->DepartureURL->setText(ProjectId->ProjectDesc.DepartureURL);
247 ui->ExecutableDirectory->setText(ProjectId->ProjectDesc.ExeDirectory);
248 ui->ExecutableName->setText(ProjectId->ProjectDesc.ExeName);
249 dev_family.DevelopmentFamily = ProjectId->DevFamilyInfo.DevFamilyIndex;
250 dev_family.LanguageFamily = ProjectId->LangFamilyInfo.LangFamilyIndex;
251 dev_family.CompilerFamily = ProjectId->CompFamilyInfo.CompFamilyIndex;
252 dev_family.TargetFamily = ProjectId->TargetFamilyInfo.TargetFamilyIndex;
253 emit SendDevelopmentFamily(dev_family);
254
255 licence_state.DocumentationLicence = ProjectId->DocLicence.LicenceIndex;
256
257 licence_state.SoftwareLicence = ProjectId->SoftwareLicence.LicenceIndex;
258
259 licence_state.HardwareLicence = ProjectId->HardwareLicence.LicenceIndex;
260 emit SendLicenceState(licence_state);
261 version_info.ProjectNumber = ProjectId->ProjectDesc.ProjectIndex;
262 version_info.VersionInfo.MajorVersion = ProjectId->VersionInfo.MajorVersion;
263 version_info.VersionInfo.MinorVersion = ProjectId->VersionInfo.MinorVersion;
264 version_info.VersionInfo.Revision = ProjectId->VersionInfo.Revision;
265 version_info.VersionInfo.VersionDate = ProjectId->StatusInfo.StatusDateTime;
266}
void SendLicenceState(LICENCE_STATE LicenceState)
Send the Licence State using Signal Slot.
void SendDevelopmentFamily(DEVELOPMENT_FAMILY DevFamily)
Send the Development Family using Signal Slot.
@ MODE_GENERAL
Definition logger.h:24
TARGET_FAMILY_INFO TargetFamilyInfo
DEV_FAMILY_INFO DevFamilyInfo
PROJECT_DESCRIPTION ProjectDesc
COMP_FAMILY_INFO CompFamilyInfo
LANG_FAMILY_INFO LangFamilyInfo
VERSION_INFO VersionInfo
uint ProjectNumber
QDateTime StatusDateTime

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.

Here is the call graph for this function:

◆ SavePreferredProject

void ProjectIdentifier::SavePreferredProject ( void )
privateslot

Save the Preferred Project and related Information.

Definition at line 157 of file projectidentifier.cpp.

158{
159 int index = ui->ProjectPrefix->currentIndex() + 1;
160 SetSite(index);
161 QSettings settings("brigadoon/netprojectmanager");
162 settings.setValue("Project/ProjectSite", ui->ProjectPrefix->currentText());
163 settings.setValue("Project/ProjectIdSize", ui->ProjectNumberSize->value());
166 ui->PrimaryWebsiteDirectory->setText(project_information.ProgramInformation.PrimaryWebsiteDirectory);
168 ui->PublisherWebsite->setText(project_information.ProgramInformation.PublisherWebsite);
170}
PROJECT_INFORMATION project_information
PROGRAM_INFORMATION ProgramInformation

References project_information, SetSite(), and ui.

Referenced by ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SelectIconImage

void ProjectIdentifier::SelectIconImage ( void )
privateslot

Select Icon triggered by User Selection.

Definition at line 192 of file projectidentifier.cpp.

193{
194 QString directory_name;
195 QString selected_file;
196 if (ui->ProjectIdent->text().isEmpty())
197 {
198 directory_name = "";
199 }
200 else
201 {
202 directory_name = ui->LocalDevDirectory->text() + "/" + ui->ProjectIdent->text();
203 }
204 selected_file = GetFile( directory_name );
205 if ( selected_file != "" )
206 {
207 ui->ProjectIcon->setText( selected_file );
208 }
209}
QString GetFile(QString InitialName)
Read contents of file into string.

References GetFile(), and ui.

Referenced by ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SendDepartureURL

void ProjectIdentifier::SendDepartureURL ( QString DepartureURL)
signal

Referenced by UpdateDepartureURL().

Here is the caller graph for this function:

◆ SendDevelopmentFamily

void ProjectIdentifier::SendDevelopmentFamily ( DEVELOPMENT_FAMILY DevFamily)
signal

Send the Development Family using Signal Slot.

Parameters
DevFamilyDevelopment FamilyStructure

Referenced by ReadProjectId().

Here is the caller graph for this function:

◆ SendInAssociation

void ProjectIdentifier::SendInAssociation ( QString InAssocGroup)
signal

Send Associated Group name via signal/slot.

Parameters
InAssocGroupAssociated Group name as String

Referenced by UpdateInAssociation().

Here is the caller graph for this function:

◆ SendLicenceState

void ProjectIdentifier::SendLicenceState ( LICENCE_STATE LicenceState)
signal

Send the Licence State using Signal Slot.

Parameters
LicenceStateLicences Structure

Referenced by ReadProjectId().

Here is the caller graph for this function:

◆ SendLoadSubsTable

void ProjectIdentifier::SendLoadSubsTable ( int ProjectId)
signal

◆ SendLogEntry

void ProjectIdentifier::SendLogEntry ( REMOTE_LOG_ENTRY LogEntry)
signal

Send Log Entry to the Log \LogEntry Structure holding Log information.

Referenced by LogAdd().

Here is the caller graph for this function:

◆ SendProjectBrief

void ProjectIdentifier::SendProjectBrief ( QString ProjectBrief)
signal

Send Project Brief Description via signal/slot.

Parameters
ProjectBriefProject Brief as String

Referenced by UpdateProjectBrief().

Here is the caller graph for this function:

◆ SendProjectContact

void ProjectIdentifier::SendProjectContact ( QString ProjectContact)
signal

Send Project Contact name via signal/slot.

Parameters
ProjectContactProject Contact name as String

Referenced by UpdateProjectContact().

Here is the caller graph for this function:

◆ SendProjectIcon

void ProjectIdentifier::SendProjectIcon ( QString ProjectIcon)
signal

Referenced by UpdateProjectIcon().

Here is the caller graph for this function:

◆ SendProjectId

void ProjectIdentifier::SendProjectId ( PROJECT_INFORMATION ProjectId)
signal

Send the Project Identification using Signal Slot.

Parameters
ProjectIdProject Identification Structure

◆ SendProjectName

void ProjectIdentifier::SendProjectName ( QString ProjectName)
signal

Referenced by UpdateProjectName().

Here is the caller graph for this function:

◆ SendProjectOptions

void ProjectIdentifier::SendProjectOptions ( uint ProjectOptions)
signal

Send Project Options via signal/slot.

Parameters
ProjectOptionsProject Options bit encoded

◆ SendVersionInfo

void ProjectIdentifier::SendVersionInfo ( REMOTE_VERSION_ENTRY VersionInfo)
signal

Send the Version Info using Signal Slot.

Parameters
VersionInfoProject Version Info Structure

◆ SetSite()

void ProjectIdentifier::SetSite ( int SiteId)

Set the Destination Site using the Site Index.

Parameters
SiteIdDatabase Index for this site

Definition at line 76 of file projectidentifier.cpp.

77{
78 // Get a List of the Projects from Database
79 QString query_string_template = QString("select * from project_manager where proj_manager_index = %1");
80 QString query_string = QString(query_string_template).arg(QString::number(SiteId));
81 QSqlQuery proj_man_query(query_string);
82
83 // Step through the Results
84 int row_index = 0;
85 while ( proj_man_query.next() )
86 {
88
90
93
96
98 ui->PrimaryWebsiteDirectory->setText(project_information.ProgramInformation.PrimaryWebsiteDirectory);
99
100 project_information.ProgramInformation.SiteName = proj_man_query.value(PM_SITE_NAME).toString();
101
102 project_information.ProgramInformation.SiteURL = proj_man_query.value(PM_SITE_URL).toString();
104
107
108 project_information.ProgramInformation.SiteLogo = proj_man_query.value(PM_SITE_LOGO).toString();
110
113
115 ui->PublisherWebsite->setText(project_information.ProgramInformation.PublisherWebsite);
116
119
122
125
128
130 ui->ProjectListWebTableFile->setText(project_information.ProgramInformation.ProjectListWebpageFilename);
131
134
136 ui->DefaultReturnAddress->setText(project_information.ProgramInformation.DefaultReturnAddress);
137
139 ui->SiteLogo->setPixmap(the_pixmap.scaledToWidth(140));
140
141 row_index++;
142 }
143
144 if (row_index == 0) LogAdd(LOG_ERROR, MODE_DATABASE, "Failed to Read Project Identifiers from table \"project_mqanater\"");
145 else LogAdd(LOG_DEBUG, MODE_DATABASE, QString("Read Project Prefix \"%1\" and Suffix Size \"%2\" from table \"project_manager\"").arg(project_information.ProgramInformation.ProjectPrefix, QString::number(project_information.ProgramInformation.SuffixSize)));
146}
@ PM_PROJECT_LIST_FOOTER_FILENAME
@ PM_PUBLISHER_CONTACT_EMAIL
@ PM_PROJECT_DEVELOPMENT_DOXY_DIRECTORY
@ PM_PUBLISHER_NAME
@ PM_SITE_URL
@ PM_PROJECT_LIST_RETURN_ADDRESS
@ PM_PROJ_MANAGER_INDEX
@ PM_SHARED_TEMPLATE_DIR
@ PM_PROJECT_LIST_HEADER_FILENAME
@ PM_PROJECT_LIST_OPENSIM_FILENAME
@ PM_LOCAL_DEV_DIRECTORY
@ PM_PROJECT_LIST_WEBPAGE_FILENAME
@ PM_PRIMARY_WEBSITE_DIRECTORY
@ PM_PROJECT_LIST_LINE_FILENAME
@ PM_PUBLISHER_WEBSITE
@ PM_SITE_NAME
@ PM_SITE_LOGO
@ PM_SUFFIX_SIZE

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateDepartureURL

void ProjectIdentifier::UpdateDepartureURL ( QString Name)
privateslot

Update Departure URL from User Interface.

Parameters
NameNew Departure URL

Definition at line 278 of file projectidentifier.cpp.

279{
280 emit SendDepartureURL(DepartureURL);
281}
void SendDepartureURL(QString DepartureURL)

References SendDepartureURL().

Referenced by ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateInAssociation

void ProjectIdentifier::UpdateInAssociation ( int Index)
privateslot

Update Associated Organisation from User Interface.

Parameters
NameNew Association Name

Definition at line 293 of file projectidentifier.cpp.

294{
295 QString group_name = ui->InAssociationList->itemText(Index);
297}
void SendInAssociation(QString InAssocGroup)
Send Associated Group name via signal/slot.

References SendInAssociation(), and ui.

Referenced by ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateProjectBrief

void ProjectIdentifier::UpdateProjectBrief ( QString Name)
privateslot

Update Project Brief Description from User Interface.

Parameters
NameNew Project Name

Definition at line 283 of file projectidentifier.cpp.

284{
285 emit SendProjectBrief(ProjectBrief);
286}
void SendProjectBrief(QString ProjectBrief)
Send Project Brief Description via signal/slot.

References SendProjectBrief().

Referenced by ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateProjectContact

void ProjectIdentifier::UpdateProjectContact ( int Index)
privateslot

Update Project Contact from User Interface.

Parameters
NameNew Project Contact

Definition at line 288 of file projectidentifier.cpp.

289{
290 emit SendProjectContact(ui->ProjectContactList->itemText(ContactIndex));
291}
void SendProjectContact(QString ProjectContact)
Send Project Contact name via signal/slot.

References SendProjectContact(), and ui.

Referenced by ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateProjectIcon

void ProjectIdentifier::UpdateProjectIcon ( QString Name)
privateslot

Update Project Icon from User Interface.

Parameters
NameNew Project Icon

Definition at line 273 of file projectidentifier.cpp.

274{
275 emit SendProjectIcon(ProjectIcon);
276}
void SendProjectIcon(QString ProjectIcon)

References SendProjectIcon().

Referenced by ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateProjectName

void ProjectIdentifier::UpdateProjectName ( QString Name)
privateslot

Update Project Name from User Interface.

Parameters
NameNew Project Name

Definition at line 268 of file projectidentifier.cpp.

269{
270 emit SendProjectName(ProjectName);
271}
void SendProjectName(QString ProjectName)

References SendProjectName().

Referenced by ProjectIdentifier().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ ui

Ui::MainWindow* ProjectIdentifier::ui
private

The documentation for this class was generated from the following files: