17 #ifndef QGSNEWGEOPACKAGELAYERDIALOG_H    18 #define QGSNEWGEOPACKAGELAYERDIALOG_H    20 #include "ui_qgsnewgeopackagelayerdialogbase.h"    68     void lockDatabasePath();
    80     void mAddAttributeButton_clicked();
    81     void mRemoveAttributeButton_clicked();
    82     void mFieldTypeBox_currentIndexChanged( 
int index );
    83     void mGeometryTypeBox_currentIndexChanged( 
int index );
    84     void mTableNameEdit_textChanged( 
const QString &text );
    85     void mTableNameEdit_textEdited( 
const QString &text );
    86     void mLayerIdentifierEdit_textEdited( 
const QString &text );
    87     void fieldNameChanged( 
const QString & );
    88     void selectionChanged();
    92     void buttonBox_accepted();
    93     void buttonBox_rejected();
    98     QPushButton *mOkButton = 
nullptr;
   100     bool mTableNameEdited = 
false;
   101     bool mLayerIdentifierEdited = 
false;
   105 #endif // QGSNEWVECTORLAYERDIALOG_H Dialog to set up parameters to create a new GeoPackage layer, and on accept() to create it and add it...
Keep existing contents and add new layer. 
const QgsCoordinateReferenceSystem & crs
OverwriteBehavior
Behavior to use when an existing geopackage already exists. 
Overwrite whole geopackage. 
void setDatabasePath(const QString &path)
Sets the initial database path. 
This class represents a coordinate reference system (CRS). 
QString databasePath() const 
Returns the database path.