QTfrontend/vertScrollArea.cpp
changeset 85 44d9045b26ff
parent 63 27e2b5bb6d4b
child 153 dc10da2a73f9
--- a/QTfrontend/vertScrollArea.cpp	Mon Jul 24 22:37:34 2006 +0000
+++ b/QTfrontend/vertScrollArea.cpp	Tue Jul 25 13:32:11 2006 +0000
@@ -1,16 +1,16 @@
-#include "vertScrollArea.h"
-
-#include <QResizeEvent>
-
-VertScrArea::VertScrArea(QColor frameColor, QWidget * parent) :
-  QScrollArea(parent)
-{
-  QPalette newPalette = palette();
-  newPalette.setColor(QPalette::Background, frameColor);
-  setPalette(newPalette);
-}
-
-void VertScrArea::resizeEvent(QResizeEvent * event)
-{
-  widget()->resize(event->size().width(), widget()->sizeHint().height());
-}
+#include "vertScrollArea.h"
+
+#include <QResizeEvent>
+
+VertScrArea::VertScrArea(QColor frameColor, QWidget * parent) :
+  QScrollArea(parent)
+{
+	QPalette newPalette = palette();
+	newPalette.setColor(QPalette::Background, frameColor);
+	setPalette(newPalette);
+}
+
+void VertScrArea::resizeEvent(QResizeEvent * event)
+{
+	widget()->resize(event->size().width(), widget()->sizeHint().height());
+}