summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/terminalwidget.h
authorzecke <zecke>2002-10-08 20:03:29 (UTC)
committer zecke <zecke>2002-10-08 20:03:29 (UTC)
commit9237d1adcf23ee11f16881fbeea51e0bb3ec0b2f (patch) (side-by-side diff)
treeda7ac82c0abd3948d5e18e6e8db3a9277d4922ac /noncore/apps/opie-console/terminalwidget.h
parentb81a4afcb4d363bf1ee50aa7b43a1f1566addc9d (diff)
downloadopie-9237d1adcf23ee11f16881fbeea51e0bb3ec0b2f.zip
opie-9237d1adcf23ee11f16881fbeea51e0bb3ec0b2f.tar.gz
opie-9237d1adcf23ee11f16881fbeea51e0bb3ec0b2f.tar.bz2
Default added the TerminalEmulation Widget
MainWindow: do save the profiles on deconstruction MetaFactory Brown Paper bag bug fixed. take care of the right name in terminalWidget.... opie-console.pro add the widgets IOLayerBase a basic widget for speed, parity and flow control settings Terminal Widget a the ported TerminalConfiguration dialog
Diffstat (limited to 'noncore/apps/opie-console/terminalwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/terminalwidget.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/terminalwidget.h b/noncore/apps/opie-console/terminalwidget.h
new file mode 100644
index 0000000..c6c2be2
--- a/dev/null
+++ b/noncore/apps/opie-console/terminalwidget.h
@@ -0,0 +1,46 @@
+#ifndef OPIE_TERMINAL_WIDGET_H
+#define OPIE_TERMINAL_WIDGET_H
+
+#include "profiledialogwidget.h"
+
+class QComboBox;
+class QLabel;
+class QVBoxLayout;
+class QHBoxLayout;
+class QButtonGroup;
+class QRadioButton;
+class QCheckBox;
+class QHGroupBox;
+
+class TerminalWidget : public ProfileDialogTerminalWidget {
+ Q_OBJECT
+public:
+ TerminalWidget(const QString& name, QWidget* wid,
+ const char* na ) ;
+ ~TerminalWidget();
+
+ void load( const Profile& );
+ void save( Profile& );
+private:
+ QVBoxLayout* m_lroot, *m_typeBox, *m_colorBox;
+
+ QHBoxLayout* m_hbox;
+
+ QLabel* m_terminal, *m_colorLabel;
+
+ QComboBox* m_terminalBox, *m_colorCmb;
+
+ QButtonGroup* m_groupSize;
+
+ QRadioButton* m_sizeSmall, *m_sizeMedium,
+ *m_sizeLarge;
+
+ QHGroupBox *m_groupConv, *m_groupOptions;
+
+ QCheckBox *m_convInbound,
+ *m_convOutbound, *m_optionEcho,
+ *m_optionWrap;
+
+};
+
+#endif