summaryrefslogtreecommitdiff
path: root/noncore/apps/confedit/editwidget.h
blob: 8261c851bfc4189485849192164e5f57eab0a67e (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
#ifndef EDITWIDGET_H
#define EDITWIDGET_H

#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QLabel;
class QLineEdit;
class QListViewItem;
class ListViewItemConfigEntry;
class QTimer;
class QPopupMenu;

class EditWidget : public QWidget
{ 
    Q_OBJECT

public:
		enum{ Entry, Group, File, Nothing};

    EditWidget( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~EditWidget();

		QLabel *TextLabelKey;
    QLabel *TextLabelValue;
    QLabel *TextLabelGroup;
    QLabel *TextLabelFileName;
    QLabel *TextFileName;
    QLineEdit *LineEditGroup;
    QLineEdit *LineEditKey;
    QLineEdit *LineEditValue;
    void layoutType(int t);
protected:
    QGridLayout* EditWidgetLayout;

private:
};

#endif // EDITWIDGET_H