diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-03 01:47:30 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-03 01:47:30 +0200 |
commit | 239e873a38fa91a3fbd27e134bda015922abbabd (patch) | |
tree | d7c79f740bce93768ee78b6b787c83a2115b047f /kdbg/prefdebugger.h | |
download | kdbg-239e873a38fa91a3fbd27e134bda015922abbabd.tar.gz kdbg-239e873a38fa91a3fbd27e134bda015922abbabd.zip |
Initial import
Diffstat (limited to 'kdbg/prefdebugger.h')
-rw-r--r-- | kdbg/prefdebugger.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/kdbg/prefdebugger.h b/kdbg/prefdebugger.h new file mode 100644 index 0000000..594bfa2 --- /dev/null +++ b/kdbg/prefdebugger.h @@ -0,0 +1,43 @@ +/* + * Copyright Johannes Sixt + * This file is licensed under the GNU General Public License Version 2. + * See the file COPYING in the toplevel directory of the source directory. + */ + +#ifndef PREFDEBUGGER_H +#define PREFDEBUGGER_H + +#include <qlayout.h> +#include <qlineedit.h> +#include <qlabel.h> + +class PrefDebugger : public QWidget +{ +public: + PrefDebugger(QWidget* parent); + + QGridLayout m_grid; + + // --- the hint about defaults +protected: + QLabel m_defaultHint; + + // --- the debugger command +protected: + QLabel m_debuggerCCppLabel; + QLineEdit m_debuggerCCpp; +public: + QString debuggerCmd() const { return m_debuggerCCpp.text(); } + void setDebuggerCmd(const QString& cmd) { m_debuggerCCpp.setText(cmd); } + + // --- the output terminal +protected: + QLabel m_terminalHint; + QLabel m_terminalLabel; + QLineEdit m_terminal; +public: + QString terminal() const { return m_terminal.text(); } + void setTerminal(const QString& t) { m_terminal.setText(t); } +}; + +#endif // PREFDEBUGGER_H |