QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
terminalstripcreatordialog.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 TERMINALSTRIPCREATORDIALOG_H
19#define TERMINALSTRIPCREATORDIALOG_H
20
21#include <QDialog>
22
23class TerminalStrip;
24class QETProject;
25
26namespace Ui {
28}
29
34class TerminalStripCreatorDialog : public QDialog
35{
36 Q_OBJECT
37
38 public:
39 explicit TerminalStripCreatorDialog(QETProject *project, QWidget *parent = nullptr);
41
42 void setInstallation(const QString &installation);
43 void setLocation(const QString &location);
45
46 private:
48
49 private:
50 Ui::TerminalStripCreatorDialog *ui;
52};
53
54#endif // TERMINALSTRIPCREATORDIALOG_H
Definition qetproject.h:62
The TerminalStripCreatorDialog class A simple dialog for create a new terminal strip.
Definition terminalstripcreatordialog.h:35
void setLocation(const QString &location)
TerminalStripCreatorDialog::setLocation Set the location field string.
Definition terminalstripcreatordialog.cpp:58
TerminalStrip * generatedTerminalStrip() const
TerminalStripCreatorDialog::generatedTerminalStrip.
Definition terminalstripcreatordialog.cpp:69
void setCursorToEmptyLine()
TerminalStripCreatorDialog::setCursorToEmptyLine Set the cursor to the first empty field....
Definition terminalstripcreatordialog.cpp:97
void setInstallation(const QString &installation)
TerminalStripCreatorDialog::setInstallation Set the installation field string.
Definition terminalstripcreatordialog.cpp:48
~TerminalStripCreatorDialog() override
TerminalStripCreatorDialog::~TerminalStripCreatorDialog.
Definition terminalstripcreatordialog.cpp:39
QETProject * m_project
Definition terminalstripcreatordialog.h:51
Ui::TerminalStripCreatorDialog * ui
Definition terminalstripcreatordialog.h:50
The TerminalStrip class This class hold all the datas and configurations of a terminal strip (but the...
Definition terminalstrip.h:45
Definition autonumberingdockwidget.h:26