Fixed text file permissions
[snark14.git] / tools / Display / range.hpp
1 /** @file range.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
6 */
7
8 #ifndef RANGEWINDOW_H
9 #define RANGEWINDOW_H
10
11 #include <qvariant.h>
12 #include <qdialog.h>
13 class QCheckBox;
14 class QVBoxLayout; 
15 class QHBoxLayout; 
16 class QGridLayout; 
17 class QFrame;
18 class QLabel;
19 class QLineEdit;
20 class QPushButton;
21 class QSlider;
22
23 class rangewindow : public QDialog
24
25     Q_OBJECT
26
27 public:
28     rangewindow( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
29     ~rangewindow();
30
31     bool status;
32     double maxval,minval,Range;
33   //    QPushButton* selectbutton;
34   //    QPushButton* clearselectbutton;
35     QCheckBox* allGlobals;
36     QCheckBox* allDifference;
37     QCheckBox* allIntensity;
38     QFrame* lowtrheshframe;
39     QLineEdit* lowthresh;
40     QPushButton* setlowbutton;
41     QSlider* lowthreshslider;
42     QLabel* lowthershlabel;
43     QFrame* highthreshframe;
44     QLineEdit* highthresh;
45     QPushButton* sethighbutton;
46     QSlider* highthreshslider;
47     QLabel* highthreshlabel;
48     QFrame* Line2;
49   //    QPushButton* applybutton;
50     QPushButton* closebutton;
51   public slots:
52     void updateLowthresh();
53     void updateLowthreshslider();
54     void updateHighthresh();
55     void updateHighthreshslider();
56     void signalAllGlobals(bool on);
57     void signalAllDifference(bool on);
58   //    void signalAllIntensity();
59     void closeWindow();
60     void closeEvent(QCloseEvent* e);
61 };
62
63 #endif // RANGEWINDOW_H