TranslationsWidget Class Reference

#include <translationsWidget.h>

Inheritance diagram for TranslationsWidget:

[legend]
Collaboration diagram for TranslationsWidget:
[legend]
List of all members.

Detailed Description

Translations Settings.

Definition at line 26 of file translationsWidget.h.

Public Member Functions

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

Private Attributes

QGridLayout * grid
QLabelcategoryLabel
QFramehorizontalLine


Constructor & Destructor Documentation

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

Definition at line 20 of file translationsWidget.cpp.

References categoryLabel, grid, and horizontalLine.

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


Member Data Documentation

QGridLayout* TranslationsWidget::grid [private]

Definition at line 33 of file translationsWidget.h.

Referenced by TranslationsWidget().

QLabel* TranslationsWidget::categoryLabel [private]

Definition at line 34 of file translationsWidget.h.

Referenced by TranslationsWidget().

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:
Generated on Wed Jan 24 05:38:12 2007 for AlbumShaper by  doxygen 1.5.1