Fixed text file permissions
[snark14.git] / tools / Display / lines.hpp
1 /** @file lines.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 LINESWINDOW_H
9 #define LINESWINDOW_H
10
11 #include <qvariant.h>
12 #include <qdialog.h>
13
14 #include <qbuttongroup.h>
15
16 class QVBoxLayout; 
17 class QHBoxLayout; 
18 class QComboBox;
19 class QGridLayout; 
20 class QFrame;
21 class QLabel;
22 class QLineEdit;
23 class QListBox;
24 class QListBoxItem;
25 class QPushButton;
26 class QRadioButton;
27
28 class lineswindow : public QDialog
29
30     Q_OBJECT
31
32 public:
33     lineswindow( QWidget* parent = 0, const char* name = 0, double min = 0, double max = 0, bool modal = FALSE, bool projrec = 0, WFlags fl = 0 );
34     ~lineswindow();
35
36     double minval;
37     double maxval;
38     bool isrec;
39     QListBox* rowcolbox;
40     QRadioButton* phantombutton;
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     QLineEdit* line1;
67     QPushButton* showbutton;
68     QFrame* Line3;
69     QPushButton* cancelbutton;
70     QButtonGroup* colorbuttongroup;
71     QRadioButton* grayScaleButton;
72     QRadioButton* colorButton;
73 public slots:
74     void updateXAxis(int i);
75     int getLinetype();
76     int getLine1();
77     int getLine2();
78     int getLine3();
79     int getLine4();
80     QString getTitle();
81     //    int getSubtitle();
82     //    int getGridstyle();
83     QString getXAxis();
84     QString getYAxis();
85     int getMinX();
86     int getMaxX();
87     double getMinY();
88     double getMaxY();
89     bool isPhantomChecked();
90     // jk 1/13/2009 adding grayScale option for graphs
91     bool isGrayScaleChecked();
92 };
93
94 #endif // LINESWINDOW_H