QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
qgsprocessingrastersourceoptionswidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsprocessingrastersourceoptionswidget.h
3 --------------------------
4 begin : August 2025
5 copyright : (C) 2025 by Germán Carrillo
6 email : german at opengis dot ch
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 QGSPROCESSINGRASTERSOURCEOPTIONSWIDGET_H
19#define QGSPROCESSINGRASTERSOURCEOPTIONSWIDGET_H
20
21#include "ui_qgsprocessingrastersourceoptionsbase.h"
22
23#include "qgis.h"
24#include "qgspanelwidget.h"
25
26#define SIP_NO_FILE
27
29
36class GUI_EXPORT QgsProcessingRasterSourceOptionsWidget : public QgsPanelWidget, private Ui::QgsProcessingRasterSourceOptionsBase
37{
38 Q_OBJECT
39 public:
40
44 QgsProcessingRasterSourceOptionsWidget( QWidget *parent SIP_TRANSFERTHIS = nullptr );
45
53 void setReferenceScale( double scale );
54
62 void setDpi( int dpi );
63
69 double referenceScale() const;
70
76 int dpi() const;
77
84 void setWidgetParameterCapabilities( Qgis::RasterProcessingParameterCapabilities capabilities );
85
90 Qgis::RasterProcessingParameterCapabilities widgetParameterCapabilities() const;
91
92 private:
93 void updateControlVisibility();
94
96};
97
99
100#endif // QGSPROCESSINGRASTERSOURCEOPTIONSWIDGET_H
QFlags< RasterProcessingParameterCapability > RasterProcessingParameterCapabilities
Raster layer processing parameter capabilities.
Definition qgis.h:6133
Base class for any widget that can be shown as an inline panel.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53