QGIS API Documentation  3.2.0-Bonn (bc43194)
qgsnewauxiliarylayerdialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsnewauxiliarylayerdialog.h - description
3  -------------------
4  begin : Aug 28, 2017
5  copyright : (C) 2017 by Paul Blottiere
6  email : [email protected]
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSNEWAUXILIARYLAYERDIALOG_H
19 #define QGSNEWAUXILIARYLAYERDIALOG_H
20 
21 #include "ui_qgsnewauxiliarylayerdialogbase.h"
22 #include "qgsguiutils.h"
23 #include "qgis_gui.h"
24 #include "qgsvectorlayer.h"
25 
33 class GUI_EXPORT QgsNewAuxiliaryLayerDialog: public QDialog, private Ui::QgsNewAuxiliaryLayerDialogBase
34 {
35  Q_OBJECT
36 
37  public:
38 
45  QgsNewAuxiliaryLayerDialog( QgsVectorLayer *layer, QWidget *parent = nullptr );
46 
47  protected:
48  void accept() override;
49 
50  QgsVectorLayer *mLayer = nullptr;
51 };
52 
53 #endif
A dialog to create a new auxiliary layer.
Represents a vector layer which manages a vector based data sets.