void MainWindow::onLayoutTriggered(QAction* action)
{
    restoreGeometry(Settings.layoutGeometry(action->text()));
    restoreState(Settings.layoutState(action->text()));
}
void MainWindow::onLayoutTriggered(QAction* action)
{
    restoreGeometry(Settings.layoutGeometry(action->text()));
    restoreState(Settings.layoutState(action->text()));
}