Use the standard menu entry to show and hide the toolbar.
[kdbg.git] / kdbg / prefdebugger.h
blob09629724333ee91c25a76894d032193c5b451a15
1 // $Id$
3 // Copyright by Johannes Sixt
4 // This file is under GPL, the GNU General Public Licence
6 #ifndef PREFDEBUGGER_H
7 #define PREFDEBUGGER_H
9 #include <qlayout.h>
10 #include <qlineedit.h>
11 #include <qlabel.h>
13 class PrefDebugger : public QWidget
15 public:
16 PrefDebugger(QWidget* parent);
18 QGridLayout m_grid;
20 // --- the hint about defaults
21 protected:
22 QLabel m_defaultHint;
24 // --- the debugger command
25 protected:
26 QLabel m_debuggerCCppLabel;
27 QLineEdit m_debuggerCCpp;
28 public:
29 QString debuggerCmd() const { return m_debuggerCCpp.text(); }
30 void setDebuggerCmd(const QString& cmd) { m_debuggerCCpp.setText(cmd); }
32 // --- the output terminal
33 protected:
34 QLabel m_terminalHint;
35 QLabel m_terminalLabel;
36 QLineEdit m_terminal;
37 public:
38 QString terminal() const { return m_terminal.text(); }
39 void setTerminal(const QString& t) { m_terminal.setText(t); }
42 #endif // PREFDEBUGGER_H