Add nomenclature dialog : enable option "add new folio and table if needed"

This commit is contained in:
Claveau Joshua
2020-05-24 17:17:17 +02:00
parent 7ea42752a4
commit df26c5b7ed
3 changed files with 72 additions and 30 deletions

View File

@@ -19,6 +19,8 @@
#define QETGRAPHICSTABLEFACTORY_H
class Diagram;
class QetGraphicsTableItem;
class AddTableDialog;
/**
* @brief The QetGraphicsTableFactory class
@@ -29,6 +31,9 @@ class QetGraphicsTableFactory
QetGraphicsTableFactory();
static void createAndAddNomenclature(Diagram *diagram);
private:
static QetGraphicsTableItem *newTable(Diagram *diagram, AddTableDialog *dialog);
static void AdjustTableToFolio(QetGraphicsTableItem *table);
};
#endif // QETGRAPHICSTABLEFACTORY_H