Diffstat (limited to 'noncore/graphics/opie-eye/impl') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/impl/dir/dir_ifaceinfo.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/impl/dir/dir_ifaceinfo.cpp b/noncore/graphics/opie-eye/impl/dir/dir_ifaceinfo.cpp index f4a6a87..9c69ce5 100644 --- a/noncore/graphics/opie-eye/impl/dir/dir_ifaceinfo.cpp +++ b/noncore/graphics/opie-eye/impl/dir/dir_ifaceinfo.cpp | |||
@@ -11,16 +11,24 @@ | |||
11 | 11 | ||
12 | /* QT */ | 12 | /* QT */ |
13 | #include <qwidget.h> | 13 | #include <qwidget.h> |
14 | #include <qcheckbox.h> | 14 | #include <qcheckbox.h> |
15 | #include <qframe.h> | ||
15 | #include <qhbox.h> | 16 | #include <qhbox.h> |
16 | #include <qlabel.h> | 17 | #include <qlabel.h> |
18 | #include <qlayout.h> | ||
17 | 19 | ||
18 | namespace { | 20 | namespace { |
19 | class DirImageWidget : public QHBox { | 21 | class DirImageWidget : public QFrame { |
20 | public: | 22 | public: |
21 | DirImageWidget() { | 23 | DirImageWidget(): QFrame() { |
24 | setFrameStyle(Box|Raised); | ||
25 | QVBoxLayout *m_MainLayout = new QVBoxLayout( this, 6, 2, "m_MainLayout"); | ||
22 | chkbox = new QCheckBox( QObject::tr("Show all files"), this ); | 26 | chkbox = new QCheckBox( QObject::tr("Show all files"), this ); |
27 | m_MainLayout->addWidget(chkbox); | ||
28 | QSpacerItem *spacer1 = new QSpacerItem( 20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding ); | ||
29 | m_MainLayout->addItem( spacer1 ); | ||
30 | |||
23 | } | 31 | } |
24 | ~DirImageWidget() {} | 32 | ~DirImageWidget() {} |
25 | QCheckBox* chkbox; | 33 | QCheckBox* chkbox; |
26 | }; | 34 | }; |