52 bool histoSaveAsImage(
const QString &filename,
int width = 600,
int height = 600,
int quality = -1 );
58 void setActive(
bool activeFlag );
61 bool computeHistogram(
bool forceComputeFlag );
64 void histoAction(
const QString &actionName,
bool actionFlag =
true );
67 void setSelectedBand(
int index );
71 void refreshHistogram();
73 void apply()
override;
77 void mSaveAsImageButton_clicked();
79 void cboHistoBand_currentIndexChanged(
int );
84 void btnHistoMin_toggled();
85 void btnHistoMax_toggled();
87 void histoPickerSelected( QPointF );
95 void histoActionTriggered( QAction * );
97 void updateHistoMarkers();
99 void btnHistoCompute_clicked();
114 QString mRendererName;
116 QwtPlotPicker *mHistoPicker =
nullptr;
117 QwtPlotZoomer *mHistoZoomer =
nullptr;
118 QwtPlotMarker *mHistoMarkerMin =
nullptr;
119 QwtPlotMarker *mHistoMarkerMax =
nullptr;
122 QVector<QColor> mHistoColors;
123 bool mHistoShowMarkers;
124 bool mHistoZoomToMinMax;
125 bool mHistoUpdateStyleToMinMax;
126 bool mHistoDrawLines;
128 HistoShowBands mHistoShowBands;
130 QList<int> histoSelectedBands();
132 QList<int> rendererSelectedBands();
133 QPair<QString, QString> rendererMinMax(
int bandNo );