4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
19 #include <qcombobox.h>
24 * A combo box for selecting LyXLength::UNIT types.
26 class LengthCombo : public QComboBox {
29 LengthCombo(QWidget * parent, char * name);
31 /// set the current item
32 virtual void setCurrentItem(LyXLength::UNIT unit);
34 /// get the current item
35 LyXLength::UNIT currentLengthItem() const;
37 virtual void has_activated(int index);
39 /// the current selection has changed
40 void selectionChanged(LyXLength::UNIT unit);
44 #endif // LENGTHCOMBO_H