QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
qgsinstallgridshiftdialog.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsinstallgridshiftdialog.h
3 -------------------
4 begin : September 2019
5 copyright : (C) 2019 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
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 QGSINSTALLGRIDSHIFTDIALOG_H
19#define QGSINSTALLGRIDSHIFTDIALOG_H
20
21#include "ui_qgsinstallgridshiftdialog.h"
22#include <QDialog>
23#include "qgis_gui.h"
24
25#define SIP_NO_FILE
26
28class GUI_EXPORT QgsInstallGridShiftFileDialog: public QDialog, private Ui::QgsInstallGridShiftFileDialogBase
29{
30 Q_OBJECT
31 public:
32 QgsInstallGridShiftFileDialog( const QString &gridName, QWidget *parent = nullptr );
33
34 void setDescription( const QString &html );
35 void setDownloadMessage( const QString &message );
36
37 private slots:
38
39 void installFromFile();
40
41 private:
42 QString mGridName;
43
44};
46
47#endif // QGSINSTALLGRIDSHIFTDIALOG_H