Converted to XML-GUI.
[kdbg.git] / kdbg / pgmsettings.h
bloba0871483c2b5b030f67f160b46af6b76d85d2f7c
1 // $Id$
3 // Copyright by Johannes Sixt
4 // This file is under GPL, the GNU General Public Licence
6 #ifndef PGMSETTINGS_H
7 #define PGMSETTINGS_H
9 #include <qtabdialog.h>
11 class QButtonGroup;
12 class QLineEdit;
15 class ChooseDriver : public QWidget
17 public:
18 ChooseDriver(QWidget* parent);
19 void setDebuggerCmd(const QString& cmd);
20 QString debuggerCmd() const;
21 protected:
22 QLineEdit* m_debuggerCmd;
26 class OutputSettings : public QWidget
28 Q_OBJECT
29 public:
30 OutputSettings(QWidget* parent);
31 void setTTYLevel(int l);
32 int ttyLevel() const { return m_ttyLevel; }
33 protected:
34 int m_ttyLevel;
35 QButtonGroup* m_group;
36 protected slots:
37 void slotLevelChanged(int);
41 class ProgramSettings : public QTabDialog
43 Q_OBJECT
44 public:
45 ProgramSettings(QWidget* parent, QString exeName, bool modal = true);
47 public:
48 ChooseDriver m_chooseDriver;
49 OutputSettings m_output;
51 protected slots:
52 void slotHelp();
55 #endif