QGIS API Documentation  3.0.2-Girona (307d082)
qgsapplydialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsapplydialog.h - description
3  --------------------------------
4  begin : November 2008
5  copyright : (C) 2008 by Marco Hugentobler
6  email : marco dot hugentobler at karto dot baug dot ethz dot ch
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 #ifndef QGSAPPLYDIALOG_H
18 #define QGSAPPLYDIALOG_H
19 
20 #include <QDialog>
21 
27 class QgsApplyDialog: public QDialog
28 {
29  Q_OBJECT
30 
31  public:
32 
34  QgsApplyDialog() = default;
35 
40  virtual void apply() const = 0;
41 };
42 
43 #endif
Interface class for dialogs that have an apply operation (e.g.
virtual void apply() const =0
This method is called when changes should be applied.
QgsApplyDialog()=default
Constructor for QgsApplyDialog.