QGIS API Documentation
3.99.0-Master (f78f5286a64)
Loading...
Searching...
No Matches
src
quickgui
qgsquickutils.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsquickutils.cpp
3
--------------------------------------
4
Date : 7.11.2022
5
Copyright : (C) 2022 by Tomas Mizera
6
Email : tomas.mizera (at) lutraconsulting.co.uk
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 QGSQUICKUTILS_H
17
#define QGSQUICKUTILS_H
18
19
#include <QObject>
20
#include <qglobal.h>
21
22
#include "qgis_quick.h"
23
24
#include "
qgspoint.h
"
25
35
class
QUICK_EXPORT
QgsQuickUtils
:
public
QObject
36
{
37
Q_OBJECT
38
39
public
:
41
explicit
QgsQuickUtils
( QObject *parent =
nullptr
);
42
~QgsQuickUtils
() =
default
;
43
48
Q_INVOKABLE
static
QgsPoint
toQgsPoint(
const
QPointF &point );
49
};
50
51
#endif
// QGSQUICKUTILS_H
QgsPoint
Point geometry type, with support for z-dimension and m-values.
Definition
qgspoint.h:49
QgsQuickUtils
Utility class for common operations needed either from QML or cpp.
Definition
qgsquickutils.h:36
QgsQuickUtils::~QgsQuickUtils
~QgsQuickUtils()=default
qgspoint.h
Generated on Fri Jul 18 2025 14:01:06 for QGIS API Documentation by
1.9.8