mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-17 00:09:36 -04:00
Motivation : Move the QgsRasterLayerProperties class to the GUI API. So, this class could be used using the QGIS API, notably for standalone applications. The instance of this class was dependent, since QGIS 3.8, from the QgisApp instance, when calling the askUserForDatumTransform(). As this method, defines a title and only call QgsDatumTransformDialog::run() method from the gui API, this PR purpose to :
49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/raster/qgsrasterlayerproperties.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsRasterLayerProperties : QgsOptionsDialogBase
|
|
{
|
|
%Docstring
|
|
Property sheet for a raster map layer
|
|
|
|
.. versionadded:: 3.12
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsrasterlayerproperties.h"
|
|
%End
|
|
public:
|
|
|
|
|
|
QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanvas *canvas, QWidget *parent = 0, Qt::WindowFlags = QgsGuiUtils::ModalDialogFlags );
|
|
%Docstring
|
|
Constructor
|
|
|
|
:param lyr: Map layer for which properties will be displayed
|
|
:param canvas: the QgsMapCanvas instance
|
|
:param parent: the parent of this widget
|
|
:param fl: windows flag
|
|
%End
|
|
|
|
protected slots:
|
|
|
|
};
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/raster/qgsrasterlayerproperties.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|