mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-27 00:30:03 +02:00
clean
This commit is contained in:
parent
8ba0ef093e
commit
53749c3b77
@ -80,9 +80,6 @@ class SlsQt2DPlot : public QwtPlot {
|
|||||||
SlsQt2DZoomer *zoomer{nullptr};
|
SlsQt2DZoomer *zoomer{nullptr};
|
||||||
QwtPlotPanner *panner{nullptr};
|
QwtPlotPanner *panner{nullptr};
|
||||||
QwtScaleWidget *rightAxis{nullptr};
|
QwtScaleWidget *rightAxis{nullptr};
|
||||||
|
|
||||||
QwtLinearColorMap *colorMapLinearScale{nullptr};
|
|
||||||
QwtLinearColorMap *colorMapLogScale{nullptr};
|
|
||||||
QList<double> contourLevelsLinear;
|
QList<double> contourLevelsLinear;
|
||||||
QList<double> contourLevelsLog;
|
QList<double> contourLevelsLog;
|
||||||
bool disableZoom{false};
|
bool disableZoom{false};
|
||||||
|
@ -73,9 +73,7 @@ void SlsQt2DPlot::SetZFont(const QFont &f) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SlsQt2DPlot::SetupColorMap() {
|
void SlsQt2DPlot::SetupColorMap() {
|
||||||
colorMapLinearScale = myColourMap(0);
|
d_spectrogram->setColorMap(myColourMap(0));
|
||||||
d_spectrogram->setColorMap(colorMapLinearScale);
|
|
||||||
colorMapLogScale = myColourMap(1);
|
|
||||||
for (double level = 0.5; level < 10.0; level += 1.0)
|
for (double level = 0.5; level < 10.0; level += 1.0)
|
||||||
(contourLevelsLinear) += level;
|
(contourLevelsLinear) += level;
|
||||||
d_spectrogram->setContourLevels(contourLevelsLinear);
|
d_spectrogram->setContourLevels(contourLevelsLinear);
|
||||||
|
@ -27,11 +27,8 @@ qCloneWidget::qCloneWidget(QWidget *parent, SlsQt1DPlot *p1, SlsQt2DPlot *p2,
|
|||||||
qCloneWidget::~qCloneWidget() {
|
qCloneWidget::~qCloneWidget() {
|
||||||
|
|
||||||
delete plot1d;
|
delete plot1d;
|
||||||
|
|
||||||
delete plot2d;
|
delete plot2d;
|
||||||
|
|
||||||
delete gainplot1d;
|
delete gainplot1d;
|
||||||
|
|
||||||
delete gainplot2d;
|
delete gainplot2d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user