diff widgets/TransformFinder.h @ 421:7466402a32c5

* moar pointless twiddlin
author Chris Cannam
date Fri, 26 Sep 2008 16:18:36 +0000
parents f8e04ad8e7b1
children ea9e41027b93
line wrap: on
line diff
--- a/widgets/TransformFinder.h	Thu Sep 25 13:47:40 2008 +0000
+++ b/widgets/TransformFinder.h	Fri Sep 26 16:18:36 2008 +0000
@@ -22,7 +22,7 @@
 
 #include "transform/Transform.h"
 
-class QGridLayout;
+class QVBoxLayout;
 class QScrollArea;
 class QLabel;
 class SelectableLabel;
@@ -52,6 +52,8 @@
 
 protected:
     virtual void mousePressEvent(QMouseEvent *e);
+    virtual void enterEvent(QEvent *);
+    virtual void leaveEvent(QEvent *);
     QString m_selectedText;
     QString m_unselectedText;
     bool m_selected;
@@ -74,7 +76,7 @@
 protected:
     QScrollArea *m_resultsScroll;
     QWidget *m_resultsFrame;
-    QGridLayout *m_resultsLayout;
+    QVBoxLayout *m_resultsLayout;
     std::vector<SelectableLabel *> m_labels;
     TransformId m_selectedTransform;
 };