QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
terminalstripprojectconfigpage.h
Go to the documentation of this file.
1/*
2 Copyright 2006-2024 The QElectroTech Team
3 This file is part of QElectroTech.
4
5 QElectroTech is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 QElectroTech is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef TERMINALSTRIPPROJECTCONFIGPAGE_H
19#define TERMINALSTRIPPROJECTCONFIGPAGE_H
20
21#include "../../../ui/configpage/projectconfigpages.h"
22
24
26{
27 Q_OBJECT
28 public:
29 TerminalStripProjectConfigPage(QETProject *project, QWidget *parent = nullptr);
30
31 QString title() const override;
32 QIcon icon() const override;
33
34 void applyProjectConf() override {}
35
36 protected:
37 void initWidgets() override;
38 void initLayout() override{}
39 void readValuesFromProject() override {}
40 void adjustReadOnly() override {}
41
42 private:
44};
45
46#endif // TERMINALSTRIPPROJECTCONFIGPAGE_H
The ProjectConfigPage class This class, derived from ConfigPage, aims at providing the basic skeleton...
Definition projectconfigpages.h:40
virtual QETProject * project() const
Definition projectconfigpages.cpp:59
Definition qetproject.h:62
The TerminalStripLayoutEditor class Widget used to edit the layout of a terminal strip item.
Definition terminalstriplayouteditor.h:65
Definition terminalstripprojectconfigpage.h:26
void readValuesFromProject() override
Definition terminalstripprojectconfigpage.h:39
QString title() const override
Definition terminalstripprojectconfigpage.cpp:32
void adjustReadOnly() override
Definition terminalstripprojectconfigpage.h:40
void initLayout() override
Definition terminalstripprojectconfigpage.h:38
void initWidgets() override
Definition terminalstripprojectconfigpage.cpp:40
void applyProjectConf() override
Definition terminalstripprojectconfigpage.h:34
TerminalStripLayoutEditor * m_layout_editor
Definition terminalstripprojectconfigpage.h:43
QIcon icon() const override
Definition terminalstripprojectconfigpage.cpp:36