51 bool histoSaveAsImage(
const QString &filename,
int width = 600,
int height = 600,
int quality = -1 );
57 void setActive(
bool activeFlag );
60 bool computeHistogram(
bool forceComputeFlag );
63 void histoAction(
const QString &actionName,
bool actionFlag =
true );
66 void setSelectedBand(
int index );
70 void refreshHistogram();
72 void apply()
override;
76 void mSaveAsImageButton_clicked();
78 void cboHistoBand_currentIndexChanged(
int );
83 void btnHistoMin_toggled();
84 void btnHistoMax_toggled();
86 void histoPickerSelected( QPointF );
94 void histoActionTriggered( QAction * );
96 void updateHistoMarkers();
98 void btnHistoCompute_clicked();
113 QString mRendererName;
115 QwtPlotPicker *mHistoPicker =
nullptr;
116 QwtPlotZoomer *mHistoZoomer =
nullptr;
117 QwtPlotMarker *mHistoMarkerMin =
nullptr;
118 QwtPlotMarker *mHistoMarkerMax =
nullptr;
121 QVector<QColor> mHistoColors;
122 bool mHistoShowMarkers;
123 bool mHistoZoomToMinMax;
124 bool mHistoUpdateStyleToMinMax;
125 bool mHistoDrawLines;
127 HistoShowBands mHistoShowBands;
129 QList<int> histoSelectedBands();
131 QList<int> rendererSelectedBands();
132 QPair<QString, QString> rendererMinMax(
int bandNo );