UI Nits: Reformat allplot chart settings

To be a little easier on the eye. But still some
room for improvement.
This commit is contained in:
Mark Liversedge
2013-01-10 21:17:10 +00:00
parent 1cabb843fc
commit 3a5ce262cf
3 changed files with 43 additions and 26 deletions

View File

@@ -598,6 +598,13 @@ HomeWindow::dropEvent(QDropEvent *event)
return;
}
void
HomeWindow::showControls()
{
mainWindow->chartSettings->adjustSize();
mainWindow->chartSettings->show();
}
void
HomeWindow::addChart(GcWindow* newone)
{
@@ -613,7 +620,7 @@ HomeWindow::addChart(GcWindow* newone)
QWidget *c = (x != NULL) ? x : new QWidget(this);
// link settings button to show controls
connect(newone, SIGNAL(showControls()), mainWindow->chartSettings, SLOT(show()));
connect(newone, SIGNAL(showControls()), this, SLOT(showControls()));
connect(newone, SIGNAL(closeWindow(GcWindow*)), this, SLOT(closeWindow(GcWindow*)));
if (currentStyle == 2 && chartCursor >= 0)