void ribi::reversi::QtReversiMenuDialog::on_button_about_clicked() noexcept { QtAboutDialog d(MenuDialog().GetAbout()); d.setWindowIcon(windowIcon()); d.setStyleSheet(styleSheet()); ShowChild(&d); }
ribi::WtAboutDialog * ribi::con3::WtMenuDialog::CreateNewAboutDialog() { About a = MenuDialog().GetAbout(); a.AddLibrary("WtConnectThreeWidget version: " + WtWidget::GetVersion()); a.AddLibrary("WtAutoConfig version: " + WtAutoConfig::GetVersion()); WtAboutDialog * const d = new WtAboutDialog(a,false); return d; }
Wt::WWidget * ribi::tent::WtMenuDialog::CreateNewAboutDialog() { About a = MenuDialog().GetAbout(); a.AddLibrary("WtAutoConfig version: " + WtAutoConfig::GetVersion()); a.AddLibrary("WtEntrance version: " + WtEntrance::GetVersion()); WtAboutDialog * const d = new WtAboutDialog(a,false); assert(d); return d; }
Wt::WWidget * ribi::tgrw::WtMenuDialog::CreateNewAboutDialog() const { About a = MenuDialog().GetAbout(); a.AddLibrary("Rainbow version: " + Rainbow::GetVersion()); a.AddLibrary("WtAutoConfig version: " + WtAutoConfig::GetVersion()); a.AddLibrary("WtGroupWidget version: " + WtGroupWidget::GetVersion()); WtAboutDialog * const d = new WtAboutDialog(a,false); assert(d); return d; }
Wt::WWidget * ribi::ToolTestBroadcastServer::WtMenuDialog::CreateNewAboutDialog() { About a = MenuDialog().GetAbout(); a.AddLibrary("WtAutoConfig version: " + WtAutoConfig::GetVersion()); a.AddLibrary("WtBroadcastServer version: " + WtBroadcastServer::GetVersion()); a.AddLibrary("WtBroadcastServerClient version: " + WtBroadcastServerClient::GetVersion()); WtAboutDialog * const d = new WtAboutDialog(a,false); assert(d); return d; }
void ribi::pylos::QtPylosMenuDialog::OnAbout() { About a = MenuDialog().GetAbout(); a.AddLibrary("QtPylosBoardWidget version: " + QtPylosBoardWidget::GetVersion()); a.AddLibrary("QtPylosGameWidget version: " + QtPylosGameWidget::GetVersion()); a.AddLibrary("pylos::QtSprites version: " + QtSprites::GetVersion()); a.AddLibrary("QtPylosWidget version: " + QtPylosWidget::GetVersion()); QtAboutDialog d(a); this->ShowChild(&d); }
void ribi::ruco::QtRubiksClockMenuDialog::on_button_about_clicked() { About a = MenuDialog().GetAbout(); a.AddLibrary("QtDialWidget version: " + QtDialWidget::GetVersion()); a.AddLibrary("QtHideAndShowDialog version: " + QtHideAndShowDialog::GetVersion()); a.AddLibrary("QtRubiksClockWidget version: " + QtRubiksClockWidget::GetVersion()); a.AddLibrary("QtToggleButtonWidget version: " + QtToggleButtonWidget::GetVersion()); QtAboutDialog d(a); d.setWindowIcon(this->windowIcon()); d.setStyleSheet(this->styleSheet()); this->ShowChild(&d); }
void MenuDialog::Test() { { static bool is_tested = false; if (is_tested) return; is_tested = true; } #ifdef SADC_USE_THREADS std::thread t( [] #endif { FTRACE("Testing MenuDialog"); MenuDialog(); Chess::Game(); } #ifdef SADC_USE_THREADS ); t.detach(); #endif }
void ribi::maziak::QtMaziakMenuDialog2::Test() noexcept { { static bool is_tested = false; if (is_tested) return; is_tested = true; } TRACE("Starting ribi::maziak::QtMaziakMenuDialog2::Test"); { const boost::scoped_ptr<QtMaziakMainDialog> d(new QtMaziakMainDialog(99)); assert(d); } { const boost::scoped_ptr<QtMaziakInstructionsDialog> d(new QtMaziakInstructionsDialog); assert(d); } { const About a = MenuDialog().GetAbout(); boost::scoped_ptr<QtAboutDialog> d(new QtAboutDialog(a)); assert(d); } TRACE("Finished ribi::maziak::QtMaziakMenuDialog2::Test successfully"); }
void ribi::maziak::QtMaziakMenuDialog2::OnAbout() { About a = MenuDialog().GetAbout(); boost::scoped_ptr<QtAboutDialog> d(new QtAboutDialog(a)); this->ShowChild(d.get()); }