summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/terminalwidget.h
blob: 2bd38d61b0f3d492e80a8371a81363b815758834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef OPIE_TERMINAL_WIDGET_H
#define OPIE_TERMINAL_WIDGET_H

#include "profiledialogwidget.h"

#include <opie2/ofontselector.h>

class QComboBox;
class QLabel;
class QVBoxLayout;
class QHBoxLayout;
class QButtonGroup;
class QRadioButton;
class QCheckBox;
class QHGroupBox;
class QHBox;


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;

    QLabel* m_terminal,  *m_colorLabel;

    QComboBox* m_terminalBox, *m_colorCmb;

    QHBox* m_groupSize;

    QRadioButton* m_sizeSmall, *m_sizeMedium,
        *m_sizeLarge;

    QHGroupBox *m_groupConv, *m_groupOptions;

    QCheckBox *m_convInbound,
        *m_convOutbound, *m_optionEcho,
        *m_optionWrap;

    Opie::Ui::OFontSelector *m_fontSelector;
};

#endif