Typica is a free program for professional coffee roasters. https://typica.us
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

helpmenu.cpp 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*204:*/
  2. #line 36 "./helpmenu.w"
  3. #include "helpmenu.h"
  4. #include "abouttypica.h"
  5. #include "licensewindow.h"
  6. /*205:*/
  7. #line 46 "./helpmenu.w"
  8. HelpMenu::HelpMenu():QMenu()
  9. {
  10. setObjectName("helpMenu");
  11. setTitle(tr("Help"));
  12. QAction*aboutTypicaAction= new QAction(tr("About Typica"),this);
  13. aboutTypicaAction->setObjectName("aboutTypicaAction");
  14. addAction(aboutTypicaAction);
  15. connect(aboutTypicaAction,SIGNAL(triggered()),this,SLOT(displayAboutTypica()));
  16. #if 0
  17. QAction*licenseAction= new QAction(tr("License Information"),this);
  18. licenseAction->setObjectName("licenseAction");
  19. addAction(licenseAction);
  20. connect(licenseAction,SIGNAL(triggered()),this,SLOT(displayLicenseWindow()));
  21. #endif
  22. }
  23. /*:205*//*206:*/
  24. #line 66 "./helpmenu.w"
  25. void HelpMenu::displayAboutTypica()
  26. {
  27. AboutTypica*aboutBox= new AboutTypica;
  28. aboutBox->show();
  29. }
  30. /*:206*//*207:*/
  31. #line 76 "./helpmenu.w"
  32. void HelpMenu::displayLicenseWindow()
  33. {
  34. LicenseWindow*window= new LicenseWindow;
  35. window->show();
  36. }
  37. #line 4772 "./typica.w"
  38. #line 1 "./licensewindow.w"
  39. /*:207*/
  40. #line 41 "./helpmenu.w"
  41. /*:204*/