void MainWindow::showOptionsDialog() { if (OptionsDialog::isDialogCreated()) return; OptionsDialog *dlg = new OptionsDialog(m_serverRepository, this); dlg->setAttribute(Qt::WA_DeleteOnClose); dlg->show(); }
void MainWindow::on_actionOptions_triggered() { OptionsDialog *dlg = new OptionsDialog(this); dlg->show(); }
void QucsTranscalc::slotOptions() { OptionsDialog *d = new OptionsDialog(this); d->show(); }
void MainWindow::view_options_dialog() { OptionsDialog* dialog = new OptionsDialog(commuter->options); dialog->show(); }