QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgssubsetstringeditorinterface.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgssubsetstringeditorinterface.h
3  --------------------------------------
4  Date : 15-Nov-2020
5  Copyright : (C) 2020 by Even Rouault
6  Email : even.rouault at spatials.com
7 ****************************************************************************/
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef QGSSUBSETSTRINGEDITORINTERFACE_H
18 #define QGSSUBSETSTRINGEDITORINTERFACE_H
19 
20 #include <QDialog>
21 #include <QString>
22 #include "qgis.h"
23 #include "qgis_gui.h"
24 #include "qgsguiutils.h"
25 
33 class GUI_EXPORT QgsSubsetStringEditorInterface: public QDialog
34 {
35  Q_OBJECT
36 
37  public:
39  QgsSubsetStringEditorInterface( QWidget *parent SIP_TRANSFERTHIS = nullptr,
40  Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags );
41 
43  virtual QString subsetString() const = 0;
44 
46  virtual void setSubsetString( const QString &subsetString ) = 0;
47 };
48 
49 #endif
QgsSubsetStringEditorInterface
Interface for a dialog that can edit subset strings.
Definition: qgssubsetstringeditorinterface.h:33
qgis.h
qgsguiutils.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:53