AlbumShaper 1.0a3
Public Member Functions | Private Attributes | List of all members
ThemesWidget Class Reference

Themes Settings. More...

#include <themesWidget.h>

Inheritance diagram for ThemesWidget:
Inheritance graph
[legend]
Collaboration diagram for ThemesWidget:
Collaboration graph
[legend]

Public Member Functions

 ThemesWidget (QWidget *parent=0, const char *name=0)
 

Private Attributes

QGridLayout * grid
 
QLabelcategoryLabel
 
QFrame * horizontalLine
 

Detailed Description

Themes Settings.

Definition at line 26 of file themesWidget.h.

Constructor & Destructor Documentation

◆ ThemesWidget()

ThemesWidget::ThemesWidget ( QWidget parent = 0,
const char *  name = 0 
)

Definition at line 20 of file themesWidget.cpp.

21 : QWidget( parent, name)
22{
23 categoryLabel = new QLabel( tr("Theme Settings"), this);
24 QFont labelFont = categoryLabel->font();
25 labelFont.setWeight(QFont::Bold);
26 categoryLabel->setFont( labelFont );
27
28 horizontalLine = new QFrame(this);
29 horizontalLine->setLineWidth(2);
30 horizontalLine->setMidLineWidth(1);
31 horizontalLine->setFrameStyle( QFrame::HLine | QFrame::Raised );
32
33 grid = new QGridLayout( this, 7, 1, 0);
34 grid->addWidget( categoryLabel, 0, 0, Qt::AlignLeft );
35 grid->setRowSpacing(1, 8);
36 grid->addWidget( horizontalLine, 2, 0 );
37 grid->setRowSpacing(3, 8);
38 grid->setRowStretch( 6, 1 );
39}
QLabel * categoryLabel
Definition: themesWidget.h:34
QFrame * horizontalLine
Definition: themesWidget.h:35
QGridLayout * grid
Definition: themesWidget.h:33

References categoryLabel, grid, and horizontalLine.

Member Data Documentation

◆ categoryLabel

QLabel* ThemesWidget::categoryLabel
private

Definition at line 34 of file themesWidget.h.

Referenced by ThemesWidget().

◆ grid

QGridLayout* ThemesWidget::grid
private

Definition at line 33 of file themesWidget.h.

Referenced by ThemesWidget().

◆ horizontalLine

QFrame* ThemesWidget::horizontalLine
private

Definition at line 35 of file themesWidget.h.

Referenced by ThemesWidget().


The documentation for this class was generated from the following files: