void VorbitalDlg::OnButtonSettingsClick() { SettingsDlg* dlg = new SettingsDlg(this); dlg->setModal(true); dlg->show(); delete dlg; }
void ChaosConnectFrm::mnuSettings(wxCommandEvent& event) { /** * Shows the settings window which allows the user to change various * UI settings in the program. */ SettingsDlg* settingsFrame = new SettingsDlg(this); settingsFrame->Show(); }
bool SettingsDlg::showDlg( QWidget * parent, CR3View * docView ) { SettingsDlg * dlg = new SettingsDlg( parent, docView ); dlg->show(); return true; }