Commit | Line | Data |
---|---|---|
1081a838 JPM |
1 | // |
2 | // NewFnctBreakpointWin.h: New function breakpoint | |
3 | // | |
4 | // by Jean-Paul Mari | |
5 | // | |
6 | ||
7 | #ifndef __NEWFNCTBREAKPOINTWIN_H__ | |
8 | #define __NEWFNCTBREAKPOINTWIN_H__ | |
9 | ||
8646ea44 | 10 | #include <QtWidgets/QtWidgets> |
1081a838 | 11 | #include <stdint.h> |
cbd79f66 | 12 | #include "debugger/BreakpointsWin.h" |
1081a838 JPM |
13 | |
14 | class NewFnctBreakpointWindow: public QWidget | |
15 | { | |
16 | Q_OBJECT | |
17 | ||
18 | public: | |
19 | NewFnctBreakpointWindow(QWidget * parent = 0); | |
cbd79f66 JPM |
20 | void SetFnctBreakpointWin(BreakpointsWindow* BpW); |
21 | ~NewFnctBreakpointWindow(); | |
1081a838 JPM |
22 | |
23 | public slots: | |
24 | ||
25 | protected: | |
26 | void keyPressEvent(QKeyEvent *); | |
27 | ||
28 | protected slots: | |
29 | void AddBreakpointAddress(void); | |
cbd79f66 | 30 | void SelectBreakpointAddress(void); |
1081a838 JPM |
31 | |
32 | private: | |
33 | QVBoxLayout *layout; | |
34 | QLineEdit *address; | |
35 | QPushButton *add; | |
cbd79f66 | 36 | BreakpointsWindow* BPWin; |
1081a838 JPM |
37 | }; |
38 | ||
39 | #endif // __NEWFNCTBREAKPOINTWIN_H__ |