QGIS API Documentation
3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
src
gui
ogr
qgsgdalguiutils.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsgdalguiutils.h
3
-------------------
4
begin : Mon Jan 2 2009
5
copyright : (C) 2009 by Godofredo Contreras Nava
6
email : frdcn at hotmail.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 QGSGDALGUIUTILS_H
19
#define QGSGDALGUIUTILS_H
20
21
#include <QString>
22
#include "qgis_gui.h"
23
24
class
QWidget;
25
class
QgsGdalOption
;
26
27
#define SIP_NO_FILE
28
37
class
GUI_EXPORT
QgsGdalGuiUtils
38
{
39
public
:
44
static
QString createDatabaseURI(
const
QString &connectionType,
const
QString &host,
const
QString &database, QString port,
const
QString &configId, QString username, QString password,
bool
expandAuthConfig =
false
);
45
50
static
QString createProtocolURI(
const
QString &type,
const
QString &url,
const
QString &configId,
const
QString &username,
const
QString &password,
bool
expandAuthConfig =
false
);
51
58
static
QWidget *createWidgetForOption(
const
QgsGdalOption
&option, QWidget *parent =
nullptr
,
bool
includeDefaultChoices =
false
);
59
};
60
61
#endif
// QGSGDALGUIUTILS_H
QgsGdalGuiUtils
Utility functions for working with GDAL in GUI classes.
Definition
qgsgdalguiutils.h:38
QgsGdalOption
Encapsulates the definition of a GDAL configuration option.
Definition
qgsgdalutils.h:37
Generated on Thu Dec 26 2024 02:19:01 for QGIS API Documentation by
1.9.8