3 // Copyright by Johannes Sixt
4 // This file is under GPL, the GNU General Public Licence
10 #include "dockmainwindow.h"
11 #include "mainwndbase.h"
19 class BreakpointTable
;
23 class DebuggerMainWnd
: public DockMainWindow
, public DebuggerMainWndBase
27 DebuggerMainWnd(const char* name
);
32 virtual void saveProperties(KConfig
*);
33 virtual void readProperties(KConfig
*);
35 void saveSettings(KConfig
*);
36 void restoreSettings(KConfig
*);
39 void updateLineStatus(int lineNo
); /* zero-based line number */
45 WinStack
* m_filesWindow
;
47 ExprWnd
* m_localVariables
;
48 WatchWindow
* m_watches
;
49 RegisterView
* m_registers
;
50 BreakpointTable
* m_bpTable
;
51 TTYWindow
* m_ttyWindow
;
52 ThreadList
* m_threads
;
55 QPopupMenu
* m_menuFile
;
56 QPopupMenu
* m_menuView
;
57 QPopupMenu
* m_menuProgram
;
58 QPopupMenu
* m_menuBrkpt
;
59 QPopupMenu
* m_menuWindow
;
64 virtual void closeEvent(QCloseEvent
* e
);
65 virtual KToolBar
* dbgToolBar();
66 virtual KStatusBar
* dbgStatusBar();
67 virtual QWidget
* dbgMainWnd();
68 virtual TTYWindow
* ttyWindow();
69 virtual QString
createOutputWindow();
70 virtual void doGlobalOptions();
72 DockWidget
* dockParent(QWidget
* w
);
73 bool isDockVisible(QWidget
* w
);
74 bool canChangeDockVisibility(QWidget
* w
);
75 void showhideWindow(QWidget
* w
);
76 void dockUpdateHelper(UpdateUI
* item
, QWidget
* w
);
77 void intoBackground();
79 QString
makeSourceFilter();
82 void forwardMenuCallback(int item
);
83 void setTabWidth(int tabWidth
);
86 virtual void menuCallback(int item
);
87 void updateUIItem(UpdateUI
* item
);
88 virtual void updateUI();
89 virtual void updateLineItems();
90 void slotFileChanged();
91 void slotLineChanged();
93 void slotNewFileLoaded();
94 void slotNewStatusMsg();
95 void slotAnimationTimeout();
96 void slotDebuggerStarting();
97 void slotToggleBreak(const QString
&, int, const DbgAddr
&, bool);
98 void slotEnaDisBreak(const QString
&, int, const DbgAddr
&);
99 void slotTermEmuExited();
100 void slotProgramStopped();
101 void slotBackTimer();
104 #endif // DBGMAINWND_H