![]() |
QElectroTech 0.200.1-dev
|
#include <projectconfigpages.h>


Public Member Functions | |
| ProjectMainConfigPage (QETProject *, QWidget *=nullptr) | |
| ~ProjectMainConfigPage () override | |
| QString | title () const override |
| QIcon | icon () const override |
| void | applyProjectConf () override |
| QString | projectTitle () const |
| Public Member Functions inherited from ProjectConfigPage | |
| ProjectConfigPage (QETProject *, QWidget *=nullptr) | |
| ~ProjectConfigPage () override | |
| virtual QETProject * | project () const |
| virtual QETProject * | setProject (QETProject *project, bool=true) |
| ProjectConfigPage::setProject Set new_project as the project being edited by this page. | |
| void | applyConf () override |
| Public Member Functions inherited from ConfigPage | |
| ConfigPage (QWidget *parent) | |
| ~ConfigPage () override | |
| Destructor. | |
Protected Member Functions | |
| void | initWidgets () override |
| void | initLayout () override |
| void | readValuesFromProject () override |
| void | adjustReadOnly () override |
| Protected Member Functions inherited from ProjectConfigPage | |
| virtual void | init () |
Protected Attributes | |
| QLabel * | title_label_ |
| QLineEdit * | title_value_ |
| QLabel * | title_information_ |
| QLabel * | project_variables_label_ |
| DiagramContextWidget * | project_variables_ |
| QLabel * | usage_label_ |
| QLabel * | usage_value_ |
| QCheckBox * | usage_enabled_cb_ |
| QPushButton * | usage_reset_pb_ |
| Protected Attributes inherited from ProjectConfigPage | |
| QETProject * | m_project |
| Currently edited project. | |
Private Slots | |
| void | resetUsageTracker () |
| ProjectMainConfigPage::resetUsageTracker Reset the accumulated "time spent on this project" counter to zero and refresh its displayed value. Applies immediately (not staged behind OK/Cancel like the other fields on this page), since it isn't destructive to any actual project content. | |
Private Member Functions | |
| ProjectMainConfigPage (const ProjectMainConfigPage &) | |
This page enables users to configure the main properties of a project.
| ProjectMainConfigPage::ProjectMainConfigPage | ( | QETProject * | project, |
| QWidget * | parent = nullptr ) |
Constructor
| project | Project this page is editing. |
| parent | Parent QWidget |


|
override |
Destructor
|
private |

|
overrideprotectedvirtual |
Set the content of this page read only if the project is read only, editable if the project is editable.
Implements ProjectConfigPage.
|
overridevirtual |
Apply the configuration after user input
Implements ProjectConfigPage.

|
overridevirtual |
Implements ConfigPage.
|
overrideprotectedvirtual |
Initialize the layout of this page.
Implements ProjectConfigPage.
|
overrideprotectedvirtual |
Initialize widgets displayed by the page.
Implements ProjectConfigPage.

| QString ProjectMainConfigPage::projectTitle | ( | ) | const |
|
overrideprotectedvirtual |
Read properties from the edited project then fill widgets with them.
Implements ProjectConfigPage.

|
privateslot |
ProjectMainConfigPage::resetUsageTracker Reset the accumulated "time spent on this project" counter to zero and refresh its displayed value. Applies immediately (not staged behind OK/Cancel like the other fields on this page), since it isn't destructive to any actual project content.

|
overridevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |