#include <themesWidget.h>
Definition at line 26 of file themesWidget.h.
Public Member Functions | |
ThemesWidget (QWidget *parent=0, const char *name=0) | |
Private Attributes | |
QGridLayout * | grid |
QLabel * | categoryLabel |
QFrame * | horizontalLine |
ThemesWidget::ThemesWidget | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Definition at line 20 of file themesWidget.cpp.
References categoryLabel, grid, and horizontalLine.
00021 : 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 }
QGridLayout* ThemesWidget::grid [private] |
QLabel* ThemesWidget::categoryLabel [private] |
QFrame* ThemesWidget::horizontalLine [private] |