3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
14 #include <qcombobox.h>
19 * A combo box for selecting LyXLength::UNIT types.
21 class LengthCombo : public QComboBox {
24 LengthCombo(QWidget * parent, char * name);
26 /// set the current item
27 virtual void setCurrentItem(LyXLength::UNIT unit);
29 /// get the current item
30 LyXLength::UNIT currentLengthItem() const;
33 virtual void has_activated(int index);
36 /// the current selection has changed
37 void selectionChanged(LyXLength::UNIT unit);