QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
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 "qgis.h"
21#include "qgis_gui.h"
22#include "qgsguiutils.h"
23
24#include <QDialog>
25#include <QString>
26
34class GUI_EXPORT QgsSubsetStringEditorInterface : public QDialog
35{
36 Q_OBJECT
37
38 public:
40 QgsSubsetStringEditorInterface( QWidget *parent SIP_TRANSFERTHIS = nullptr, 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
virtual QString subsetString() const =0
Returns the subset string entered in the dialog.
virtual void setSubsetString(const QString &subsetString)=0
Sets a subset string into the dialog.
QgsSubsetStringEditorInterface(QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
Constructor.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53