32 lines
604 B
C++
32 lines
604 B
C++
#ifndef XYPLOTAXISDIALOG_H
|
|
#define XYPLOTAXISDIALOG_H
|
|
|
|
#include "tracexyplot.h"
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class XYplotAxisDialog;
|
|
}
|
|
|
|
class XYplotAxisDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit XYplotAxisDialog(TraceXYPlot *plot);
|
|
~XYplotAxisDialog();
|
|
|
|
private slots:
|
|
void on_buttonBox_accepted();
|
|
void XAxisTypeChanged(int XAxisIndex);
|
|
|
|
private:
|
|
std::set<TraceXYPlot::YAxisType> supportedYAxis(TraceXYPlot::XAxisType type);
|
|
bool isSupported(TraceXYPlot::XAxisType type);
|
|
Ui::XYplotAxisDialog *ui;
|
|
TraceXYPlot *plot;
|
|
};
|
|
|
|
#endif // XYPLOTAXISDIALOG_H
|