1 #ifndef QG_LINETYPEBOX_H
2 #define QG_LINETYPEBOX_H
8 * A combobox for choosing a line type.
10 class QG_LineTypeBox: public QComboBox
15 QG_LineTypeBox(QWidget * parent = 0, const char * name = 0);
16 QG_LineTypeBox(bool showByLayer, bool showUnchanged, QWidget * parent = 0, const char * name = 0);
17 virtual ~QG_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;