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. /*214:*/
  2. #line 36 "./helpmenu.w"
  3. #include "helpmenu.h"
  4. #include "abouttypica.h"
  5. #include "licensewindow.h"
  6. /*215:*/
  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. QAction*licenseAction= new QAction(tr("License Information"),this);
  17. licenseAction->setObjectName("licenseAction");
  18. addAction(licenseAction);
  19. connect(licenseAction,SIGNAL(triggered()),this,SLOT(displayLicenseWindow()));
  20. }
  21. /*:215*//*216:*/
  22. #line 66 "./helpmenu.w"
  23. void HelpMenu::displayAboutTypica()
  24. {
  25. AboutTypica*aboutBox= new AboutTypica;
  26. aboutBox->show();
  27. }
  28. /*:216*//*217:*/
  29. #line 76 "./helpmenu.w"
  30. void HelpMenu::displayLicenseWindow()
  31. {
  32. LicenseWindow*window= new LicenseWindow;
  33. window->show();
  34. }
  35. #line 4962 "./typica.w"
  36. #line 1 "./licensewindow.w"
  37. /*:217*/
  38. #line 41 "./helpmenu.w"
  39. /*:214*/