QElectroTech
0.8-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. More... | |
void | applyConf () override |
Public Member Functions inherited from ConfigPage | |
ConfigPage (QWidget *parent) | |
~ConfigPage () override | |
Destructor. More... | |
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_ |
Protected Attributes inherited from ProjectConfigPage | |
QETProject * | m_project |
Currently edited project. More... | |
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.
|
overridevirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |