18#ifndef QGSRESAMPLINGUTILS_H
19#define QGSRESAMPLINGUTILS_H
39class GUI_EXPORT QgsResamplingUtils :
public QObject
44 QComboBox *mZoomedInResamplingComboBox =
nullptr;
45 QComboBox *mZoomedOutResamplingComboBox =
nullptr;
46 QDoubleSpinBox *mMaximumOversamplingSpinBox =
nullptr;
47 QCheckBox *mCbEarlyResampling =
nullptr;
49 QgsResamplingUtils(
const QgsResamplingUtils & ) =
delete;
50 QgsResamplingUtils &operator=(
const QgsResamplingUtils & ) =
delete;
57 void initWidgets(
QgsRasterLayer *rasterLayer, QComboBox *zoomedInResamplingComboBox, QComboBox *zoomedOutResamplingComboBox, QDoubleSpinBox *maximumOversamplingSpinBox, QCheckBox *cbEarlyResampling );
60 void refreshWidgetsFromLayer();
63 void refreshLayerFromWidgets();
66 void addExtraEarlyResamplingMethodsToCombos();
67 void removeExtraEarlyResamplingMethodsFromCombos();
Represents a raster layer.