QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
qgsprojectstorageguiprovider.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsprojectstoragegui.h
3
--------------------------------------
4
Date : June 2019
5
Copyright : (C) 2019 by Peter Petrik
6
Email : zilolv at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSPROJECTSTORAGEGUI_H
17
#define QGSPROJECTSTORAGEGUI_H
18
19
#include "qgis_gui.h"
20
#include "
qgis_sip.h
"
21
22
#include <QString>
23
31
class
GUI_EXPORT
QgsProjectStorageGuiProvider
32
{
33
public
:
34
virtual
~QgsProjectStorageGuiProvider
() =
default
;
35
40
virtual
QString
type
() = 0;
41
47
virtual
QString
visibleName
() {
return
QString(); }
48
53
virtual
QString
showLoadGui
() {
return
QString(); }
54
59
virtual
QString
showSaveGui
() {
return
QString(); }
60
};
61
62
#endif
// QGSPROJECTSTORAGEGUI_H
QgsProjectStorageGuiProvider
Abstract interface for project storage GUI - to be implemented by various backends and registered in ...
Definition
qgsprojectstorageguiprovider.h:32
QgsProjectStorageGuiProvider::showLoadGui
virtual QString showLoadGui()
Opens GUI to allow user to select a project to be loaded (GUI specific to this storage type).
Definition
qgsprojectstorageguiprovider.h:53
QgsProjectStorageGuiProvider::visibleName
virtual QString visibleName()
Returns human-readable name of the storage.
Definition
qgsprojectstorageguiprovider.h:47
QgsProjectStorageGuiProvider::type
virtual QString type()=0
Unique identifier of the project storage type.
QgsProjectStorageGuiProvider::showSaveGui
virtual QString showSaveGui()
Opens GUI to allow user to select where a project should be saved (GUI specific to this storage type)...
Definition
qgsprojectstorageguiprovider.h:59
QgsProjectStorageGuiProvider::~QgsProjectStorageGuiProvider
virtual ~QgsProjectStorageGuiProvider()=default
qgis_sip.h
Generated on
for QGIS API Documentation by
1.17.0