Skip to content
Permalink
Browse files

New database table dialog: actions

  • Loading branch information
elpaso committed Jul 14, 2020
1 parent d8a7531 commit 1f11d31c68a7876a37c665920e694237dc695f31
@@ -0,0 +1,60 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsnewvectortabledialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/





class QgsNewVectorTableDialog : QDialog
{
%Docstring
The QgsNewVectorTableDialog class is a provider-agnostic database vector
and aspatial table designer dialog.

It allows to design a new vector or aspatial database table by defining the schema
(if supported by the provider) and table names, the list of QgsFields,
the geometry type and the SRID (if the table is not aspatial).

.. versionadded:: 3.16
%End

%TypeHeaderCode
#include "qgsnewvectortabledialog.h"
%End
public:

QgsNewVectorTableDialog( QgsAbstractDatabaseProviderConnection *conn, QWidget *parent /TransferThis/ = 0 );
%Docstring
QgsNewVectorTableDialog constructor

:param connection: DB connection, ownership is NOT transfered
:param parent: optional parent
%End

QString tableName() const;

QString schemaName() const;

QgsFields fields() const;

QgsWkbTypes::Type geometryType() const;

void setFields( const QgsFields &fields );

};




/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsnewvectortabledialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -155,6 +155,7 @@
%Include auto_generated/qgsnewauxiliaryfielddialog.sip
%Include auto_generated/qgsnewauxiliarylayerdialog.sip
%Include auto_generated/qgsnewgeopackagelayerdialog.sip
%Include auto_generated/qgsnewvectortabledialog.sip
%Include auto_generated/qgsnewhttpconnection.sip
%Include auto_generated/qgsnewmemorylayerdialog.sip
%Include auto_generated/qgsnewnamedialog.sip
@@ -492,6 +492,7 @@ SET(QGIS_GUI_SRCS
qgsnewnamedialog.cpp
qgsnewvectorlayerdialog.cpp
qgsnewgeopackagelayerdialog.cpp
qgsnewvectortabledialog.cpp
qgsopacitywidget.cpp
qgsoptionsdialogbase.cpp
qgsoptionsdialoghighlightwidget.cpp
@@ -720,6 +721,7 @@ SET(QGIS_GUI_HDRS
qgsnewauxiliaryfielddialog.h
qgsnewauxiliarylayerdialog.h
qgsnewgeopackagelayerdialog.h
qgsnewvectortabledialog.h
qgsnewhttpconnection.h
qgsnewmemorylayerdialog.h
qgsnewnamedialog.h
@@ -1194,6 +1196,7 @@ SET(QGIS_GUI_UI_HDRS
${CMAKE_CURRENT_BINARY_DIR}/../ui/ui_qgsgenericprojectionselectorbase.h
${CMAKE_CURRENT_BINARY_DIR}/../ui/ui_qgsmessagelogviewer.h
${CMAKE_CURRENT_BINARY_DIR}/../ui/ui_qgsmessageviewer.h
${CMAKE_CURRENT_BINARY_DIR}/../ui/ui_qgsnewvectortabledialog.h
${CMAKE_CURRENT_BINARY_DIR}/../ui/ui_qgsowssourceselectbase.h
${CMAKE_CURRENT_BINARY_DIR}/../ui/ui_qgsarcgisservicesourceselectbase.h
${CMAKE_CURRENT_BINARY_DIR}/../ui/ui_qgsprojectionselectorbase.h
@@ -51,6 +51,7 @@ QgsNewGeoPackageLayerDialog::QgsNewGeoPackageLayerDialog( QWidget *parent, Qt::W
: QDialog( parent, fl )
{
setupUi( this );
setObjectName( QStringLiteral( "QgsNewGeoPackageLayerDialog" ) );
QgsGui::enableAutoGeometryRestore( this );

connect( mAddAttributeButton, &QToolButton::clicked, this, &QgsNewGeoPackageLayerDialog::mAddAttributeButton_clicked );

0 comments on commit 1f11d31

Please sign in to comment.
You can’t perform that action at this time.