QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
conductorpropertiesdialog.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
19#ifndef CONDUCTORPROPERTIESDIALOG_H
20#define CONDUCTORPROPERTIESDIALOG_H
21
22#include "../conductorproperties.h"
23
24#include <QDialog>
25
26class Conductor;
28
29namespace Ui {
31}
32
33class ConductorPropertiesDialog : public QDialog
34{
35 Q_OBJECT
36
37 public:
39 Conductor *conductor, QWidget *parent = nullptr);
40 static void PropertiesDialog (
41 Conductor *conductor, QWidget *parent = nullptr);
43
45 bool applyAll() const;
46
47 private:
48 Ui::ConductorPropertiesDialog *ui;
50};
51
52#endif // CONDUCTORPROPERTIESDIALOG_H
Definition conductor.h:43
Definition conductorpropertiesdialog.h:34
ConductorProperties properties() const
ConductorPropertiesDialog::properties.
Definition conductorpropertiesdialog.cpp:96
ConductorPropertiesWidget * m_cpw
Definition conductorpropertiesdialog.h:49
~ConductorPropertiesDialog() override
ConductorPropertiesDialog::~ConductorPropertiesDialog.
Definition conductorpropertiesdialog.cpp:52
static void PropertiesDialog(Conductor *conductor, QWidget *parent=nullptr)
ConductorPropertiesDialog::PropertiesDialog Static method for open and apply properties.
Definition conductorpropertiesdialog.cpp:63
bool applyAll() const
ConductorPropertiesDialog::applyAll.
Definition conductorpropertiesdialog.cpp:107
Ui::ConductorPropertiesDialog * ui
Definition conductorpropertiesdialog.h:48
The ConductorProperties class This class represents the functional properties of a particular conduct...
Definition conductorproperties.h:68
Definition conductorpropertieswidget.h:33
Definition autonumberingdockwidget.h:26