mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user