Added the return address information in the call stack
[clinton/Virtual-Jaguar-Rx.git] / src / gui / keybindingstab.h
1 #ifndef __KEYBINDINGSTAB_H__
2 #define __KEYBINDINGSTAB_H__
3
4 #include <QtWidgets>
5
6
7 //
8 struct KeyBindings
9 {
10 size_t KBType;
11 const char *KBNameSetting;
12 const char *KBNameLabel;
13 const char *KBPlaceholderText;
14 const char *KBDefaultValue;
15 QLabel *KBLabel;
16 QLineEdit *KBLineEdit;
17 };
18
19
20 //
21 enum
22 {
23 KB_TYPEGENERAL = 0,
24 KB_TYPEDEBUGGER = 1,
25 KB_TYPEALPINE = 2
26 };
27
28 // List the keybindings used for the settings
29 enum
30 {
31 KB_START = 0,
32 KBQUIT = 0,
33 KBPICKFILE,
34 KBCONFIGURE,
35 KBEMUSTATUS,
36 KBPAUSE,
37 KBFRAMEADVANCE,
38 KBRESTART,
39 KBSTEPINTO,
40 KBSTEPOVER,
41 KBFULLSCREEN,
42 KBSCREENSHOT,
43 KB_END
44 };
45
46
47 //
48 class KeyBindingsTab: public QWidget
49 {
50 Q_OBJECT
51
52 public:
53 KeyBindingsTab(QWidget * parent = 0);
54 ~KeyBindingsTab();
55 void SetSettings(void);
56 void GetSettings(void);
57 };
58
59
60 //
61 extern KeyBindings KeyBindingsTable[KB_END];
62
63
64 #endif // __KEYBINDINGSTAB_H__