mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
- update methods of existing classes - add comment to methods missing in the sip bindings - split up collective sip files into single files and use same directory structure in python/ as in src/ - add a lot of missing classes (some might not make sense because of missing python methods in those classes) - remove some non-existing methods from the header files - add scripts/sipdiff - replace some usages of std::vector and std::set with QVector/QSet
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
class QgsNewVectorLayerDialog : QDialog
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsnewvectorlayerdialog.h>
|
|
%End
|
|
|
|
public:
|
|
|
|
// run the dialog, create the layer. Return file name if the creation was successful
|
|
static QString runAndCreateLayer( QWidget* parent = 0, QString* enc = 0 );
|
|
|
|
QgsNewVectorLayerDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
|
|
~QgsNewVectorLayerDialog();
|
|
/**Returns the selected geometry type*/
|
|
QGis::WkbType selectedType() const;
|
|
/**Appends the chosen attribute names and types to at*/
|
|
void attributes( QList< QPair<QString, QString> >& at ) const;
|
|
/**Returns the file format for storage*/
|
|
QString selectedFileFormat() const;
|
|
/**Returns the selected crs id*/
|
|
int selectedCrsId() const;
|
|
|
|
protected slots:
|
|
void on_mAddAttributeButton_clicked();
|
|
void on_mRemoveAttributeButton_clicked();
|
|
void on_mTypeBox_currentIndexChanged( int index );
|
|
void on_pbnChangeSpatialRefSys_clicked();
|
|
void on_buttonBox_helpRequested();
|
|
void nameChanged( QString );
|
|
void selectionChanged();
|
|
};
|