mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-01 17:30:52 +01:00
Add view 'element_nomenclature_view' to projectDataBase
Add a view for the nomenclature to reduce the size of the query and make it more understandable
This commit is contained in:
@@ -49,13 +49,14 @@ class projectDataBase : public QObject
|
||||
void updateDB();
|
||||
QETProject *project() const;
|
||||
|
||||
static QStringList headersFromElementsInfoQuery(const QString &query);
|
||||
static QStringList headersFromElementNomenclatureViewQuery(const QString &query);
|
||||
|
||||
signals:
|
||||
void dataBaseUpdated();
|
||||
|
||||
private:
|
||||
bool createDataBase(const QString &connection_name= QString(), const QString &name = QString());
|
||||
void createElementNomenclatureView();
|
||||
void populateDiagramTable();
|
||||
void populateElementTable();
|
||||
void populateElementInfoTable();
|
||||
|
||||
Reference in New Issue
Block a user