mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
made some changes to make clone and main window resize plot
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@3 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -1,58 +1,3 @@
|
||||
|
||||
/**
|
||||
* @author Ian Johnson
|
||||
* @version 1.0
|
||||
*/
|
||||
/*
|
||||
|
||||
|
||||
#ifndef SLSQT2DPLOTLAYOUT_H
|
||||
#define SLSQT2DPLOTLAYOUT_H
|
||||
|
||||
#include <qwidget.h>
|
||||
#include <qgroupbox.h>
|
||||
#include <QString>
|
||||
|
||||
#include "SlsQtNumberEntry.h"
|
||||
#include "SlsQt2DPlot.h"
|
||||
|
||||
//class QGridLayout;
|
||||
//class QToolbar;
|
||||
|
||||
|
||||
|
||||
class SlsQt2DPlotLayout: public QGroupBox{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
SlsQt2DPlotLayout(QWidget * = NULL);
|
||||
~SlsQt2DPlotLayout();
|
||||
|
||||
SlsQt2DPlot* GetPlot() {return the_plot;}
|
||||
void SetXTitle(QString st);
|
||||
void SetYTitle(QString st);
|
||||
void SetZTitle(QString st);
|
||||
|
||||
void UpdateNKeepSetRangeIfSet();
|
||||
|
||||
private:
|
||||
//QGridLayout* the_layout;
|
||||
SlsQt2DPlot* the_plot;
|
||||
//SlsQtNumberEntry* z_range_ne;
|
||||
|
||||
void ConnectSignalsAndSlots();
|
||||
|
||||
public slots:
|
||||
void SetZScaleToLog(bool yes);
|
||||
void ResetRange();
|
||||
};
|
||||
|
||||
#endif
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @author Ian Johnson
|
||||
* @version 1.0
|
||||
@ -69,6 +14,7 @@ private:
|
||||
#include "SlsQt2DPlot.h"
|
||||
|
||||
class QGridLayout;
|
||||
class QString;
|
||||
|
||||
|
||||
|
||||
@ -102,6 +48,7 @@ private:
|
||||
public slots:
|
||||
void SetZScaleToLog(bool yes);
|
||||
void ResetRange();
|
||||
void SetTitle(QString st);
|
||||
|
||||
signals:
|
||||
void InterpolateSignal(bool);
|
||||
|
Reference in New Issue
Block a user