Skip to content
Permalink
Browse files

Doxy

  • Loading branch information
elpaso committed Jul 15, 2020
1 parent cc3d5d3 commit 07adc6cef9de94ecc22f2ee349f6b92e7fdc1e09
Showing with 72 additions and 0 deletions.
  1. +36 −0 python/gui/auto_generated/qgsnewvectortabledialog.sip.in
  2. +36 −0 src/gui/qgsnewvectortabledialog.h
@@ -40,28 +40,64 @@ QgsNewVectorTableDialog constructor
%End

void setSchemaName( const QString &name );
%Docstring
Sets the schema ``name``
%End

void setTableName( const QString &name );
%Docstring
Sets the table ``name``
%End

void setGeometryType( QgsWkbTypes::Type type );
%Docstring
Sets the geometry ``type``
%End

void setCrs( const QgsCoordinateReferenceSystem &crs );
%Docstring
Sets the CRS to ``crs``
%End

QgsCoordinateReferenceSystem crs() const;
%Docstring
Returns the CRS
%End

QString tableName() const;
%Docstring
Returns the table name
%End

QString schemaName() const;
%Docstring
Returns the schema name
%End

QString geometryColumnName() const;
%Docstring
Returns the geometry column name
%End

QgsFields fields() const;
%Docstring
Returns the fields
%End

QgsWkbTypes::Type geometryType() const;
%Docstring
Returns the geometry type
%End

void setFields( const QgsFields &fields );
%Docstring
Sets the fields to ``fields``
%End

QStringList validationErrors() const;
%Docstring
Returns the validation errors or an empty list if the dialog is valid
%End

protected:
virtual void showEvent( QShowEvent *event );
@@ -54,28 +54,64 @@ class GUI_EXPORT QgsNewVectorTableDialog : public QDialog, private Ui_QgsNewVect
*/
QgsNewVectorTableDialog( QgsAbstractDatabaseProviderConnection *conn, QWidget *parent SIP_TRANSFERTHIS = nullptr );

/**
* Sets the schema \a name
*/
void setSchemaName( const QString &name );

/**
* Sets the table \a name
*/
void setTableName( const QString &name );

/**
* Sets the geometry \a type
*/
void setGeometryType( QgsWkbTypes::Type type );

/**
* Sets the CRS to \a crs
*/
void setCrs( const QgsCoordinateReferenceSystem &crs );

/**
* Returns the CRS
*/
QgsCoordinateReferenceSystem crs() const;

/**
* Returns the table name
*/
QString tableName() const;

/**
* Returns the schema name
*/
QString schemaName() const;

/**
* Returns the geometry column name
*/
QString geometryColumnName() const;

/**
* Returns the fields
*/
QgsFields fields() const;

/**
* Returns the geometry type
*/
QgsWkbTypes::Type geometryType() const;

/**
* Sets the fields to \a fields
*/
void setFields( const QgsFields &fields );

/**
* Returns the validation errors or an empty list if the dialog is valid
*/
QStringList validationErrors() const;

private:

0 comments on commit 07adc6c

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