If i even move code and finalize it by this way:
void MainWindow::on_actionOptions_toggled(bool n)
{
if(n) // hiding or showing widgets by menu
ui->dockWidget_2->show();
else ui->dockWidget_2->hide();
}
void MainWindow::on_actionGraph_Options_toggled(bool n)
{
if(n) // hiding or showing widgets by menu
ui->dockWidget->show();
else ui->dockWidget->hide();
}
void MainWindow::on_actionOptions_toggled(bool n)
{
if(n) // hiding or showing widgets by menu
ui->dockWidget_2->show();
else ui->dockWidget_2->hide();
}
void MainWindow::on_actionGraph_Options_toggled(bool n)
{
if(n) // hiding or showing widgets by menu
ui->dockWidget->show();
else ui->dockWidget->hide();
}
To copy to clipboard, switch view to plain text mode
It does not change anything. Still the same problems.
Bookmarks