1 /** @file chooseRanges.hpp
2 @package snark14Display
3 @author Bruno M. Carvalho and Deniz Sarioz
4 licensed under (open-source) QPL v1.0
5 which accompanies this distribution in the file QPL
11 #include "variables.hpp"
12 #include "displaywidget.hpp"
16 #include <qbuttongroup.h>
18 #include <qcheckbox.h>
19 #include <qcombobox.h>
20 #include <qfiledialog.h>
26 #include <qlineedit.h>
28 #include <qmessagebox.h>
33 #include <qpushbutton.h>
34 #include <qradiobutton.h>
37 #include <qwhatsthis.h>
55 class chooseRangesDialog : public QDialog
60 chooseRangesDialog( QWidget* parent=0, const char* name=0, bool modal=true, WFlags fl=0, int x=0 , int y=0,
61 unsigned ee_index=0, bool forPBP=0, unsigned PBPYVar=0, globalYVar_t GlobalYVar=VARIANCE,
62 int minX=0, int maxX=0, double minY= -1.0, double maxY= -1.0);
63 ~chooseRangesDialog();
66 // double maxval,minval,diffmaxval,diffminval;
69 displayWidget* displaywidget;
70 QBoxLayout* topLayout;
71 // QBoxLayout* yaxisbuttonLayout;
72 QBoxLayout* x_extrema_layout;
73 QBoxLayout* y_extrema_layout;
74 // QButtonGroup* yaxisbuttongroup;
83 QPushButton* plotbutton;
84 QPushButton* closebutton;
87 bool forPBP; // as opposed to forGlobal
89 globalYVar_t GlobalYVar;
94 virtual void closeEvent(QCloseEvent *e);
96 #endif // CHOOSERANGES_H