Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

themesWidget.cpp

Go to the documentation of this file.
00001 //============================================== 00002 // copyright : (C) 2003-2004 by Will Stokes 00003 //============================================== 00004 // This program is free software; you can redistribute it 00005 // and/or modify it under the terms of the GNU General 00006 // Public License as published by the Free Software 00007 // Foundation; either version 2 of the License, or 00008 // (at your option) any later version. 00009 //============================================== 00010 00011 //Systemwide includes 00012 #include <qlayout.h> 00013 #include <qlabel.h> 00014 #include <qfont.h> 00015 00016 //Projectwide includes 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 //==============================================

Generated on Sun Mar 4 19:42:57 2007 for AlbumShaper by doxygen 1.3.7