17 #ifndef QGSNEWGEOPACKAGELAYERDIALOG_H
18 #define QGSNEWGEOPACKAGELAYERDIALOG_H
20 #include "ui_qgsnewgeopackagelayerdialogbase.h"
57 QString databasePath()
const {
return mDatabase->filePath(); }
63 void setDatabasePath(
const QString &path ) { mDatabase->setFilePath( path ); }
69 void lockDatabasePath();
86 void setAddToProject(
bool addToProject );
89 void mAddAttributeButton_clicked();
90 void mRemoveAttributeButton_clicked();
91 void mFieldTypeBox_currentIndexChanged(
int index );
92 void mGeometryTypeBox_currentIndexChanged(
int index );
93 void mTableNameEdit_textChanged(
const QString &text );
94 void mTableNameEdit_textEdited(
const QString &text );
95 void mLayerIdentifierEdit_textEdited(
const QString &text );
96 void fieldNameChanged(
const QString & );
97 void selectionChanged();
101 void buttonBox_accepted();
102 void buttonBox_rejected();
107 QPushButton *mOkButton =
nullptr;
109 bool mTableNameEdited =
false;
110 bool mLayerIdentifierEdited =
false;
112 bool mAddToProject =
true;
115 #endif // QGSNEWVECTORLAYERDIALOG_H