3d plot honour background color

.. it already had plot background just needed to honour for
   the frame too.

.. also fixed default empty window to use correct colors.
This commit is contained in:
Mark Liversedge
2014-03-12 15:10:43 +00:00
parent f695c3085c
commit ee1cf0236f
3 changed files with 14 additions and 2 deletions

View File

@@ -164,6 +164,16 @@ ModelWindow::ModelWindow(Context *context, const QDir &home) :
connect(binWidthLineEdit, SIGNAL(editingFinished()), this, SLOT(setBinWidthFromLineEdit()));
//connect(resetView, SIGNAL(clicked()), this, SLOT(resetViewPoint()));
connect(zpane, SIGNAL(valueChanged(int)), this, SLOT(setZPane(int)));
connect(context, SIGNAL(configChanged()), this, SLOT(configChanged()));
// set colors on first run
configChanged();
}
void
ModelWindow::configChanged()
{
setProperty("color", GColor(CPLOTBACKGROUND));
}
void