18#ifndef QGSRESAMPLINGUTILS_H
19#define QGSRESAMPLINGUTILS_H
38class GUI_EXPORT QgsResamplingUtils :
public QObject
42 QgsRasterLayer *mRasterLayer =
nullptr;
43 QComboBox *mZoomedInResamplingComboBox =
nullptr;
44 QComboBox *mZoomedOutResamplingComboBox =
nullptr;
45 QDoubleSpinBox *mMaximumOversamplingSpinBox =
nullptr;
46 QCheckBox *mCbEarlyResampling =
nullptr;
48 QgsResamplingUtils(
const QgsResamplingUtils & ) =
delete;
49 QgsResamplingUtils &operator=(
const QgsResamplingUtils & ) =
delete;
56 void initWidgets( QgsRasterLayer *rasterLayer, QComboBox *zoomedInResamplingComboBox, QComboBox *zoomedOutResamplingComboBox, QDoubleSpinBox *maximumOversamplingSpinBox, QCheckBox *cbEarlyResampling );
59 void refreshWidgetsFromLayer();
62 void refreshLayerFromWidgets();
65 void addExtraEarlyResamplingMethodsToCombos();
66 void removeExtraEarlyResamplingMethodsFromCombos();
Represents a raster layer.