mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -05:00
This syncs the coordinate operation widget UX with other grid-related handling widgets, where a user-friendly option to install a grid file is presented
48 lines
1.7 KiB
C++
48 lines
1.7 KiB
C++
/***************************************************************************
|
|
qgsinstallgridshiftdialog.h
|
|
-------------------
|
|
begin : September 2019
|
|
copyright : (C) 2019 by Nyall Dawson
|
|
email : nyall dot dawson at gmail dot com
|
|
***************************************************************************/
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef QGSINSTALLGRIDSHIFTDIALOG_H
|
|
#define QGSINSTALLGRIDSHIFTDIALOG_H
|
|
|
|
#include "ui_qgsinstallgridshiftdialog.h"
|
|
#include <QDialog>
|
|
#include "qgis_gui.h"
|
|
|
|
#define SIP_NO_FILE
|
|
|
|
///@cond PRIVATE
|
|
class GUI_EXPORT QgsInstallGridShiftFileDialog: public QDialog, private Ui::QgsInstallGridShiftFileDialogBase
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
QgsInstallGridShiftFileDialog( const QString &gridName, QWidget *parent = nullptr );
|
|
|
|
void setDescription( const QString &html );
|
|
void setDownloadMessage( const QString &message );
|
|
|
|
private slots:
|
|
|
|
void installFromFile();
|
|
|
|
private:
|
|
QString mGridName;
|
|
|
|
};
|
|
///@endcond
|
|
|
|
#endif // QGSINSTALLGRIDSHIFTDIALOG_H
|