--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/QTfrontend/vertScrollArea.cpp Fri Feb 24 16:06:12 2006 +0000
@@ -0,0 +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());
+}