QGIS API Documentation 3.99.0-Master (752b475928d)
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:
43 QgsProcessingRasterSourceOptionsWidget( QWidget *parent SIP_TRANSFERTHIS = nullptr );
44
52 void setReferenceScale( double scale );
53
61 void setDpi( int dpi );
62
68 double referenceScale() const;
69
75 int dpi() const;
76
83 void setWidgetParameterCapabilities( Qgis::RasterProcessingParameterCapabilities capabilities );
84
89 Qgis::RasterProcessingParameterCapabilities widgetParameterCapabilities() const;
90
91 private:
92 void updateControlVisibility();
93
95};
96
98
99#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