1 #ifndef __LINETYPEBOX_H__
2 #define __LINETYPEBOX_H__
8 * A combobox for choosing a line type.
10 class LineTypeBox: public QComboBox
15 LineTypeBox(QWidget * parent = 0, const char * name = 0);
16 LineTypeBox(bool showByLayer, bool showUnchanged, QWidget * parent = 0, const char * name = 0);
17 virtual ~LineTypeBox();
19 void init(bool showByLayer, bool showUnchanged);
20 RS2::LineType getLineType();
21 void setLineType(RS2::LineType w);
22 void setLayerLineType(RS2::LineType w);
26 void slotLineTypeChanged(int index);
29 void lineTypeChanged(RS2::LineType);
32 RS2::LineType currentLineType;
38 #endif // __LINETYPEBOX_H__