Exemple #1
0
void MainWindow::showOptionsDialog()
{
    if (OptionsDialog::isDialogCreated())
        return;

    OptionsDialog *dlg = new OptionsDialog(m_serverRepository, this);
    dlg->setAttribute(Qt::WA_DeleteOnClose);
    dlg->show();
}
Exemple #2
0
void MainWindow::on_actionOptions_triggered()
{
    OptionsDialog *dlg = new OptionsDialog(this);
    dlg->show();
}
void QucsTranscalc::slotOptions()
{
  OptionsDialog *d = new OptionsDialog(this);
  d->show();
}
Exemple #4
0
void MainWindow::view_options_dialog()
{
    OptionsDialog* dialog = new OptionsDialog(commuter->options);
    dialog->show();
}