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

Translations Settings. More...

#include <translationsWidget.h>

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

Public Member Functions

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

Private Attributes

QGridLayout * grid
 
QLabelcategoryLabel
 
QFrame * horizontalLine
 

Detailed Description

Translations Settings.

Definition at line 26 of file translationsWidget.h.

Constructor & Destructor Documentation

§ TranslationsWidget()

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

Definition at line 20 of file translationsWidget.cpp.

References categoryLabel, grid, and horizontalLine.

21  : QWidget( parent, name)
22 {
23  categoryLabel = new QLabel( tr("Translation 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 }

Member Data Documentation

§ categoryLabel

QLabel* TranslationsWidget::categoryLabel
private

Definition at line 34 of file translationsWidget.h.

Referenced by TranslationsWidget().

§ grid

QGridLayout* TranslationsWidget::grid
private

Definition at line 33 of file translationsWidget.h.

Referenced by TranslationsWidget().

§ horizontalLine

QFrame* TranslationsWidget::horizontalLine
private

Definition at line 35 of file translationsWidget.h.

Referenced by TranslationsWidget().


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