QGIS API Documentation
3.40.0-Bratislava (b56115d8743)
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
:
40
45
static
QString createDatabaseURI(
const
QString &connectionType,
const
QString &host,
const
QString &database, QString port,
const
QString &configId, QString username, QString password,
bool
expandAuthConfig =
false
);
46
51
static
QString createProtocolURI(
const
QString &type,
const
QString &url,
const
QString &configId,
const
QString &username,
const
QString &password,
bool
expandAuthConfig =
false
);
52
59
static
QWidget *createWidgetForOption(
const
QgsGdalOption
&option, QWidget *parent =
nullptr
,
bool
includeDefaultChoices =
false
);
60
61
};
62
63
#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:36
Generated on Mon Oct 28 2024 22:06:03 for QGIS API Documentation by
1.9.8