diff --git a/oscar/daily.cpp b/oscar/daily.cpp index aa393581..db836edc 100644 --- a/oscar/daily.cpp +++ b/oscar/daily.cpp @@ -2852,7 +2852,7 @@ void Daily::on_splitter_2_splitterMoved(int, int) AppSetting->setDailyPanelWidth(size); } -void Daily::on_backup_clicked() { +void Daily::on_layout_clicked() { if (!saveGraphLayoutSettings) { saveGraphLayoutSettings= new SaveGraphLayoutSettings("daily",this); } diff --git a/oscar/daily.h b/oscar/daily.h index bc3efd13..5cac0477 100644 --- a/oscar/daily.h +++ b/oscar/daily.h @@ -273,7 +273,7 @@ private slots: void on_splitter_2_splitterMoved(int pos, int index); - void on_backup_clicked(); + void on_layout_clicked(); protected: virtual void showEvent(QShowEvent *); diff --git a/oscar/daily.ui b/oscar/daily.ui index 294abed7..502fbb5b 100644 --- a/oscar/daily.ui +++ b/oscar/daily.ui @@ -1558,9 +1558,16 @@ QToolButton:pressed { - + - Backup + Layout + + + + :/icons/cog.png:/icons/cog.png + + + Save and Restore graph layout settings diff --git a/oscar/icons/cog.png b/oscar/icons/cog.png new file mode 100644 index 00000000..e66b4ff7 Binary files /dev/null and b/oscar/icons/cog.png differ diff --git a/oscar/overview.cpp b/oscar/overview.cpp index 5e660a6f..438c3922 100644 --- a/oscar/overview.cpp +++ b/oscar/overview.cpp @@ -935,7 +935,7 @@ void Overview::on_toggleVisibility_clicked(bool checked) GraphView->redraw(); } -void Overview::on_backup_clicked() { +void Overview::on_layout_clicked() { if (!saveGraphLayoutSettings) { saveGraphLayoutSettings= new SaveGraphLayoutSettings("overview",this); } diff --git a/oscar/overview.h b/oscar/overview.h index 786cefa3..d9c7ccfd 100644 --- a/oscar/overview.h +++ b/oscar/overview.h @@ -145,7 +145,7 @@ class Overview : public QWidget void on_RangeUpdate(double minx, double maxx); void setGraphText (); - void on_backup_clicked(); + void on_layout_clicked(); private: void CreateAllGraphs(); diff --git a/oscar/overview.ui b/oscar/overview.ui index 90ab0d87..e7281f70 100644 --- a/oscar/overview.ui +++ b/oscar/overview.ui @@ -260,9 +260,16 @@ QToolButton:pressed { - + - Backup + Layout + + + + :/icons/cog.png:/icons/cog.png + + + Save and Restore graph layout settings