LRESULT MainFrame::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { AboutDlg dlg; dlg.DoModal(m_hWnd); return 0; }
void ChaosConnectFrm::mnuAbout(wxCommandEvent& event) { /** * Shows the about dialog which displays version information */ AboutDlg* aboutFrame = new AboutDlg(this); aboutFrame->Show(); }
AboutDlg* createAboutDlg(QWidget* parent) { AboutDlg* dlg = new AboutDlg(parent); dlg->setWindowTitle(QObject::tr("About")); dlg->setProgramName(AppInfo::name() + " v" + AppInfo::version()); QString text = QString(" %1 <br><br>").arg(QObject::tr("Advanced text editor")); text += " Copyright © 2007-2010 Mikhail Murzin <br><br>"; text += "<a href=\"http://juffed.com/\">http://juffed.com</a><br><br>"; text += "<a href=\"http://sourceforge.net/tracker/?group_id=205470&atid=993768\">Report a bug</a><br><br>"; text += "<a href=\"http://sourceforge.net/tracker/?group_id=205470&atid=993771\">Request a feature</a>"; QString auth("<br> Mikhail Murzin a.k.a. Mezomish<br> <a href='mailto:[email protected]'>[email protected]</a>"); QList<Helper> pluginDevs; pluginDevs << Helper("Alexander Sokoloff", "*****@*****.**", "mailto:[email protected]", QObject::tr("SymbolBrowser plugin")) << Helper("Petr Vanek", "*****@*****.**", "mailto:[email protected]", QObject::tr("XML Formatter plugin")) << Helper("Alexey Romanenko", "*****@*****.**", "mailto:[email protected]", QObject::tr("Sort plugin")) ; QList<Helper> translators; translators << Helper("Michael Gangolf", "*****@*****.**", "mailto:[email protected]", QObject::tr("German translation")) << Helper("Pavel Fric", "http://fripohled.blogspot.com/", "http://fripohled.blogspot.com/", QObject::tr("Czech translation")) << Helper("Slavko (slavkozn)", "http://slavkozn.users.sourceforge.net/", "http://slavkozn.users.sourceforge.net/", QObject::tr("Slovak translation")) << Helper("Marc Dumoulin", "*****@*****.**", "mailto:[email protected]", QObject::tr("French translation")) << Helper("Jarek", "*****@*****.**", "mailto:[email protected]", QObject::tr("Polish translation")) << Helper("Giuliano S. Nascimento", "*****@*****.**", "mailto:[email protected]", QObject::tr("Brazilian Portuguese translation")) << Helper("YANG Weichun", "*****@*****.**", "mailto:[email protected]", QObject::tr("Chinese Simplified translation")) ; QList<Helper> thanksTo; thanksTo << Helper("Eugene Pivnev", "*****@*****.**", "mailto:[email protected]", QObject::tr("Packaging, testing")) << Helper("Alexander Sokoloff", "*****@*****.**", "mailto:[email protected]", QObject::tr("Testing, design ideas, feature requests")) << Helper("Petr Vanek", "*****@*****.**", "mailto:[email protected]", QObject::tr("Patches, Mac OS X port")) << Helper("David Stegbauer", "*****@*****.**", "mailto:[email protected]", QObject::tr("Patches")) << Helper("\"SoftIcon\"", "http://softicon.ru/", "http://softicon.ru/", QObject::tr("Application icon")) << Helper("Evgeny Muravjev Studio", "http://emuravjev.ru/", "http://emuravjev.ru/", QObject::tr("Website")) ; QString thanks("<br>"); foreach(Helper helper, thanksTo) { thanks += QString(" %1<br>").arg(helper.name); thanks += QString(" <a href='%1'>%2</a><br>").arg(helper.urlHref).arg(helper.urlTitle); thanks += QString(" %1<br><br>").arg(helper.contribution); }
// App command to run the dialog void CDistributedGameTreeServerApp::OnAppAbout() { AboutDlg aboutDlg; aboutDlg.DoModal(); }
//---------------------------------------------------- void CPhoto::ShowAboutDlg() { AboutDlg dlg ; dlg.exec() ; }
void MainWindow::on_actionA_propos_triggered() { AboutDlg dlg; dlg.exec(); }
void AboutCommand::execute(CommandContext &aContext) { AboutDlg sDlg; sDlg.DoModal(); }
void PIHMgis::runAbout(){ AboutDlg* Dlg = new AboutDlg; Dlg->show(); }