author | wazlaf <wazlaf> | 2002-10-30 20:30:08 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-10-30 20:30:08 (UTC) |
commit | 3c1824f39867bc2ada45fe32785267caa5dfb04b (patch) (unidiff) | |
tree | 08a6e7872f5d100cac7c1adb983e44f6b145af2f /noncore/apps/opie-console/consoleconfigwidget.h | |
parent | 9af1c14974a2131505b82441bfb0bf0475bb2cc9 (diff) | |
download | opie-3c1824f39867bc2ada45fe32785267caa5dfb04b.zip opie-3c1824f39867bc2ada45fe32785267caa5dfb04b.tar.gz opie-3c1824f39867bc2ada45fe32785267caa5dfb04b.tar.bz2 |
Console configuration widget done, Environment variables can now be set
Diffstat (limited to 'noncore/apps/opie-console/consoleconfigwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/consoleconfigwidget.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/consoleconfigwidget.h b/noncore/apps/opie-console/consoleconfigwidget.h new file mode 100644 index 0000000..c980cb4 --- a/dev/null +++ b/noncore/apps/opie-console/consoleconfigwidget.h | |||
@@ -0,0 +1,34 @@ | |||
1 | #ifndef OPIE_CONSOLE_CONFIG_WIDGET_H | ||
2 | #define OPIE_CONSOLE_CONFIG_WIDGET_H | ||
3 | |||
4 | #include "profiledialogwidget.h" | ||
5 | |||
6 | class QVBoxLayout; | ||
7 | class QLineEdit; | ||
8 | class QListView; | ||
9 | class QPushButton; | ||
10 | |||
11 | class ConsoleConfigWidget : public ProfileDialogConnectionWidget { | ||
12 | Q_OBJECT | ||
13 | public: | ||
14 | ConsoleConfigWidget( const QString& name, QWidget* parent, const char* name = 0l ); | ||
15 | ~ConsoleConfigWidget(); | ||
16 | |||
17 | void load( const Profile& ); | ||
18 | void save( Profile& ); | ||
19 | |||
20 | protected slots: | ||
21 | void slotAdd(); | ||
22 | void slotRemove(); | ||
23 | private: | ||
24 | QVBoxLayout *m_lay; | ||
25 | QLineEdit *m_cmd; | ||
26 | QLineEdit *m_name; | ||
27 | QLineEdit *m_value; | ||
28 | QListView *m_env; | ||
29 | QPushButton *m_add; | ||
30 | QPushButton *m_remove; | ||
31 | }; | ||
32 | |||
33 | |||
34 | #endif | ||