QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
qetgraphicstablefactory.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 QETGRAPHICSTABLEFACTORY_H
19#define QETGRAPHICSTABLEFACTORY_H
20
21class Diagram;
23class AddTableDialog;
24
29{
30 public:
32
33 static void createAndAddNomenclature(Diagram *diagram);
34 static void createAndAddSummary(Diagram *diagram);
35 private:
36 static void create(Diagram *diagram, AddTableDialog *dialog);
38 Diagram *diagram,
39 AddTableDialog *dialog,
40 QetGraphicsTableItem *previous_table = nullptr);
41};
42
43#endif // QETGRAPHICSTABLEFACTORY_H
The AddTableDialog class Provide a dialog used to edit the properties of table before adding to a dia...
Definition addtabledialog.h:38
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
The QetGraphicsTableFactory class.
Definition qetgraphicstablefactory.h:29
static void createAndAddNomenclature(Diagram *diagram)
QetGraphicsTableFactory::createAndAddNomenclature Open a dialog for ask user the config of the table,...
Definition qetgraphicstablefactory.cpp:42
static QetGraphicsTableItem * newTable(Diagram *diagram, AddTableDialog *dialog, QetGraphicsTableItem *previous_table=nullptr)
QetGraphicsTableFactory::newTable Create a new table .
Definition qetgraphicstablefactory.cpp:120
QetGraphicsTableFactory()
Definition qetgraphicstablefactory.cpp:31
static void create(Diagram *diagram, AddTableDialog *dialog)
Definition qetgraphicstablefactory.cpp:74
static void createAndAddSummary(Diagram *diagram)
QetGraphicsTableFactory::createAndAddSummary Open a dialog for ask user the config of the table,...
Definition qetgraphicstablefactory.cpp:61
The QetGraphicsTableItem class This item display a table destined to represent the content of a QAbst...
Definition qetgraphicstableitem.h:43