00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include <qlayout.h>
00013 #include <qlabel.h>
00014 #include <qfont.h>
00015
00016
00017 #include "themesWidget.h"
00018
00019
00020 ThemesWidget::ThemesWidget( QWidget* parent,
00021 const char* name ) : QWidget( parent, name)
00022 {
00023 categoryLabel = new QLabel( tr("Theme Settings"), this);
00024 QFont labelFont = categoryLabel->font();
00025 labelFont.setWeight(QFont::Bold);
00026 categoryLabel->setFont( labelFont );
00027
00028 horizontalLine = new QFrame(this);
00029 horizontalLine->setLineWidth(2);
00030 horizontalLine->setMidLineWidth(1);
00031 horizontalLine->setFrameStyle( QFrame::HLine | QFrame::Raised );
00032
00033 grid = new QGridLayout( this, 7, 1, 0);
00034 grid->addWidget( categoryLabel, 0, 0, Qt::AlignLeft );
00035 grid->setRowSpacing(1, 8);
00036 grid->addWidget( horizontalLine, 2, 0 );
00037 grid->setRowSpacing(3, 8);
00038 grid->setRowStretch( 6, 1 );
00039 }
00040