|
@@ -26,7 +26,6 @@ class HelpMenu : public QMenu
|
26
|
26
|
HelpMenu();
|
27
|
27
|
public slots:
|
28
|
28
|
void displayAboutTypica();
|
29
|
|
- void displayFeedbackWizard();
|
30
|
29
|
};
|
31
|
30
|
|
32
|
31
|
#endif
|
|
@@ -36,7 +35,6 @@ class HelpMenu : public QMenu
|
36
|
35
|
@(helpmenu.cpp@>=
|
37
|
36
|
#include "helpmenu.h"
|
38
|
37
|
#include "abouttypica.h"
|
39
|
|
-#include "feedback.h"
|
40
|
38
|
|
41
|
39
|
@<Help menu implementation@>@;
|
42
|
40
|
|
|
@@ -55,10 +53,6 @@ HelpMenu::HelpMenu() : QMenu()
|
55
|
53
|
aboutTypicaAction->setObjectName("aboutTypicaAction");
|
56
|
54
|
addAction(aboutTypicaAction);
|
57
|
55
|
connect(aboutTypicaAction, SIGNAL(triggered()), this, SLOT(displayAboutTypica()));
|
58
|
|
- QAction *sendFeedbackAction = new QAction(tr("Send Feedback"), this);
|
59
|
|
- sendFeedbackAction->setObjectName("sendFeedback");
|
60
|
|
- addAction(sendFeedbackAction);
|
61
|
|
- connect(sendFeedbackAction, SIGNAL(triggered()), this, SLOT(displayFeedbackWizard()));
|
62
|
56
|
}
|
63
|
57
|
|
64
|
58
|
@ When "About Typica" is selected from the menu, we display an about box. This
|
|
@@ -71,12 +65,3 @@ void HelpMenu::displayAboutTypica()
|
71
|
65
|
aboutBox->show();
|
72
|
66
|
}
|
73
|
67
|
|
74
|
|
-@ A feedback wizard is also available from the Help menu.
|
75
|
|
-
|
76
|
|
-@<Help menu implementation@>=
|
77
|
|
-void HelpMenu::displayFeedbackWizard()
|
78
|
|
-{
|
79
|
|
- FeedbackWizard *window = new FeedbackWizard;
|
80
|
|
- window->show();
|
81
|
|
-}
|
82
|
|
-
|