More ScrollArea tests

This commit is contained in:
Mark Watkins 2011-08-08 16:41:08 +10:00
parent 8de6d63be5
commit 8591ed126f
3 changed files with 5 additions and 4 deletions

View File

@ -15,5 +15,6 @@
<file>docs/usage.html</file>
<file>icons/oximeter.png</file>
<file>docs/0.0.gif</file>
<file>docs/smiley.png</file>
</qresource>
</RCC>

View File

@ -81,10 +81,10 @@ Daily::Daily(QWidget *parent,QGLWidget * shared, MainWindow *mw)
ui->graphLayout->setMargin(0);
ui->graphLayout->setContentsMargins(0,0,0,0);
scrollArea->setWidgetResizable(true);
scrollArea->setAutoFillBackground(false);
scrollArea->setAutoFillBackground(true);
GraphLayout=new QWidget(scrollArea);
GraphLayout->setAutoFillBackground(false);
GraphLayout=new QGLWidget(scrollArea);
GraphLayout->setAutoFillBackground(true);
scrollArea->setWidget(GraphLayout);
splitter=new QVBoxLayout(GraphLayout);
@ -106,7 +106,7 @@ Daily::Daily(QWidget *parent,QGLWidget * shared, MainWindow *mw)
//ui->scrollArea->setWidget(splitter);
//this->connect(ui->scrollArea,
//ui->graphSizer->addWidget(splitter);
scrollArea->setAutoFillBackground(false);
//scrollArea->setAutoFillBackground(false);
//splitter->setAutoFillBackground(false);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 12 KiB