Fixed text file permissions
[snark14.git] / tools / Display / linesimages.hpp
1 /** @file linesimages.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 LINESIMAGESWINDOW_H
9 #define LINESIMAGESWINDOW_H
10
11 #include <qvariant.h>
12 #include <qdialog.h>
13 #include <qbuttongroup.h>
14 class QVBoxLayout; 
15 class QHBoxLayout; 
16 class QComboBox;
17 class QGridLayout; 
18 class QFrame;
19 class QLabel;
20 class QLineEdit;
21 class QListBox;
22 class QListBoxItem;
23 class QPushButton;
24 class QRadioButton;
25
26 class linesimageswindow : public QDialog
27
28     Q_OBJECT
29
30 public:
31     linesimageswindow( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
32     ~linesimageswindow();
33
34     double minval;
35     double maxval;
36     int *selectedimages;
37     bool selected;
38     QListBox* rowcolbox;
39     QRadioButton* phantombutton;
40     QLineEdit* line1;
41     QLineEdit* line2;
42     QLineEdit* line3;
43     QLineEdit* line4;
44     QLineEdit* title;
45     //    QComboBox* subtitle;
46     //    QComboBox* gridstyle;
47     QLineEdit* xaxis;
48     QLineEdit* yaxis;
49     QLineEdit* minx;
50     QLineEdit* maxx;
51     QLineEdit* miny;
52     QLineEdit* maxy;
53     QLabel* label1;
54     QLabel* label2;
55     QLabel* label3;
56     QLabel* label4;
57     QLabel* titlelabel;
58     //    QLabel* subtitlelabel;
59     //    QLabel* gridstylelabel;
60     QLabel* xaxislabel;
61     QLabel* yaxislabel;
62     QLabel* minxlabel;
63     QLabel* maxxlabel;
64     QLabel* minylabel;
65     QLabel* maxylabel;
66     QFrame* Line3;
67     QPushButton* showbutton;
68     QPushButton* imagesbutton;
69     QPushButton* cancelbutton;
70     // jk 1/13/2009 adding grayScale option for graphs
71     QButtonGroup* colorbuttongroup;
72     QRadioButton* grayScaleButton;
73     QRadioButton* colorButton;
74   public slots: 
75     void updateXAxis(int i);
76     void callSelectImages();
77     int* getSelectedImages();
78     int getLinetype();
79     int getLine1();
80     int getLine2();
81     int getLine3();
82     int getLine4();
83     QString getTitle();
84     //    int getSubtitle();
85     //    int getGridstyle();
86     QString getXAxis();
87     QString getYAxis();
88     int getMinX();
89     int getMaxX();
90     double getMinY();
91     double getMaxY();
92     bool isPhantomChecked();
93     void checkAndAccept();
94     // jk 1/13/2009 adding grayScale option for graphs
95     bool isGrayScaleChecked();
96 };
97
98 #endif // LINESIMAGESWINDOW_H