]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/lengthcombo.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / lengthcombo.h
index d9b8ad32d77c36c9c832434c269d8cd436960408..239070a69226651ab9a88d5121ae70d90ad35b72 100644 (file)
@@ -1,15 +1,20 @@
+// -*- C++ -*-
 /**
  * \file lengthcombo.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef LENGTHCOMBO_H
 #define LENGTHCOMBO_H
 
-#include <config.h>
+#ifdef __GNUG__
+#pragma interface
+#endif
 
 #include <qcombobox.h>
 
@@ -25,13 +30,13 @@ public:
 
        /// set the current item
        virtual void setCurrentItem(LyXLength::UNIT unit);
-
        /// get the current item
        LyXLength::UNIT currentLengthItem() const;
+       /// enable the widget
+       virtual void setEnabled(bool b);
 
 protected slots:
        virtual void has_activated(int index);
-
 signals:
        /// the current selection has changed
        void selectionChanged(LyXLength::UNIT unit);