8 * A combobox for choosing a line width.
10 class QG_WidthBox: public QComboBox
15 QG_WidthBox(QWidget * parent = 0, const char * name = 0);
16 QG_WidthBox(bool showByLayer, bool showUnchanged, QWidget * parent = 0, const char * name = 0);
17 virtual ~QG_WidthBox();
19 void init(bool showByLayer, bool showUnchanged);
20 RS2::LineWidth getWidth();
21 void setWidth(RS2::LineWidth w);
22 void setLayerWidth(RS2::LineWidth w);
26 void slotWidthChanged(int index);
29 void widthChanged(RS2::LineWidth);
32 RS2::LineWidth currentWidth;