#include <kdialog.h>
#include <tdelocale.h>

/****************************************************************************
** Form implementation generated from reading ui file 'ktouchstatistics_dlg.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "ktouchstatistics_dlg.h"

#include <ntqvariant.h>
#include <kcombobox.h>
#include <ktouchchartwidget.h>
#include <kcolorbutton.h>
#include <kpushbutton.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqwidget.h>
#include <ntqlabel.h>
#include <ntqgroupbox.h>
#include <ntqlcdnumber.h>
#include <ntqframe.h>
#include <ntqprogressbar.h>
#include <ntqbuttongroup.h>
#include <ntqradiobutton.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include "ktouchchartwidget.h"

/*
 *  Constructs a KTouchStatisticsDlg as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The qdialog will by default be modeless, unless you set 'modal' to
 *  true to construct a modal qdialog.
 */
KTouchStatisticsDlg::KTouchStatisticsDlg( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "KTouchStatisticsDlg" );
    setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)3, 0, 0, sizePolicy().hasHeightForWidth() ) );
    KTouchStatisticsDlgLayout = new TQVBoxLayout( this, 11, 6, "KTouchStatisticsDlgLayout"); 

    tabWidget = new TQTabWidget( this, "tabWidget" );
    tabWidget->setEnabled( true );
    tabWidget->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, tabWidget->sizePolicy().hasHeightForWidth() ) );

    currentTab = new TQWidget( tabWidget, "currentTab" );
    currentTabLayout = new TQVBoxLayout( currentTab, 11, 6, "currentTabLayout"); 

    currentTitleLabel = new TQLabel( currentTab, "currentTitleLabel" );
    TQFont currentTitleLabel_font(  currentTitleLabel->font() );
    currentTitleLabel_font.setPointSize( 20 );
    currentTitleLabel_font.setBold( true );
    currentTitleLabel->setFont( currentTitleLabel_font ); 
    currentTabLayout->addWidget( currentTitleLabel );

    layout7 = new TQGridLayout( 0, 1, 1, 0, 6, "layout7"); 

    textLabel4_3_2 = new TQLabel( currentTab, "textLabel4_3_2" );

    layout7->addWidget( textLabel4_3_2, 1, 0 );

    levelLabel1 = new TQLabel( currentTab, "levelLabel1" );
    levelLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, levelLabel1->sizePolicy().hasHeightForWidth() ) );

    layout7->addWidget( levelLabel1, 1, 1 );

    textLabel2_4_2 = new TQLabel( currentTab, "textLabel2_4_2" );

    layout7->addWidget( textLabel2_4_2, 0, 0 );

    lectureLabel1 = new TQLabel( currentTab, "lectureLabel1" );
    lectureLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, lectureLabel1->sizePolicy().hasHeightForWidth() ) );

    layout7->addWidget( lectureLabel1, 0, 1 );
    currentTabLayout->addLayout( layout7 );

    layout28 = new TQGridLayout( 0, 1, 1, 0, 6, "layout28"); 

    groupBox4 = new TQGroupBox( currentTab, "groupBox4" );
    groupBox4->setColumnLayout(0, TQt::Vertical );
    groupBox4->layout()->setSpacing( 6 );
    groupBox4->layout()->setMargin( 11 );
    groupBox4Layout = new TQGridLayout( groupBox4->layout() );
    groupBox4Layout->setAlignment( TQt::AlignTop );

    textLabel4 = new TQLabel( groupBox4, "textLabel4" );

    groupBox4Layout->addWidget( textLabel4, 3, 0 );

    textLabel5 = new TQLabel( groupBox4, "textLabel5" );

    groupBox4Layout->addWidget( textLabel5, 2, 0 );

    textLabel2 = new TQLabel( groupBox4, "textLabel2" );

    groupBox4Layout->addWidget( textLabel2, 0, 0 );

    elapsedTimeLCD = new TQLCDNumber( groupBox4, "elapsedTimeLCD" );
    elapsedTimeLCD->setMaximumSize( TQSize( 50, 32767 ) );
    elapsedTimeLCD->setSegmentStyle( TQLCDNumber::Flat );

    groupBox4Layout->addWidget( elapsedTimeLCD, 0, 1 );

    totalCharsLCD = new TQLCDNumber( groupBox4, "totalCharsLCD" );
    totalCharsLCD->setMaximumSize( TQSize( 50, 32767 ) );
    totalCharsLCD->setSegmentStyle( TQLCDNumber::Flat );

    groupBox4Layout->addWidget( totalCharsLCD, 1, 1 );

    wrongCharsLCD = new TQLCDNumber( groupBox4, "wrongCharsLCD" );
    wrongCharsLCD->setMaximumSize( TQSize( 50, 32767 ) );
    wrongCharsLCD->setSegmentStyle( TQLCDNumber::Flat );

    groupBox4Layout->addWidget( wrongCharsLCD, 2, 1 );

    wordsLCD = new TQLCDNumber( groupBox4, "wordsLCD" );
    wordsLCD->setMaximumSize( TQSize( 50, 32767 ) );
    wordsLCD->setSegmentStyle( TQLCDNumber::Flat );

    groupBox4Layout->addWidget( wordsLCD, 3, 1 );

    textLabel3 = new TQLabel( groupBox4, "textLabel3" );

    groupBox4Layout->addWidget( textLabel3, 1, 0 );

    layout28->addMultiCellWidget( groupBox4, 0, 1, 0, 0 );

    groupBox7 = new TQGroupBox( currentTab, "groupBox7" );
    groupBox7->setColumnLayout(0, TQt::Vertical );
    groupBox7->layout()->setSpacing( 6 );
    groupBox7->layout()->setMargin( 11 );
    groupBox7Layout = new TQGridLayout( groupBox7->layout() );
    groupBox7Layout->setAlignment( TQt::AlignTop );

    frame4 = new TQFrame( groupBox7, "frame4" );
    frame4->setMinimumSize( TQSize( 20, 0 ) );
    frame4->setFrameShape( TQFrame::VLine );
    frame4->setFrameShadow( TQFrame::Plain );

    groupBox7Layout->addMultiCellWidget( frame4, 0, 3, 2, 2 );

    charProgress1 = new TQProgressBar( groupBox7, "charProgress1" );

    groupBox7Layout->addWidget( charProgress1, 0, 1 );

    charProgress5 = new TQProgressBar( groupBox7, "charProgress5" );

    groupBox7Layout->addWidget( charProgress5, 0, 4 );

    charLabel1 = new TQLabel( groupBox7, "charLabel1" );

    groupBox7Layout->addWidget( charLabel1, 0, 0 );

    charLabel5 = new TQLabel( groupBox7, "charLabel5" );

    groupBox7Layout->addWidget( charLabel5, 0, 3 );

    charLabel2 = new TQLabel( groupBox7, "charLabel2" );

    groupBox7Layout->addWidget( charLabel2, 1, 0 );

    charProgress6 = new TQProgressBar( groupBox7, "charProgress6" );

    groupBox7Layout->addWidget( charProgress6, 1, 4 );

    charLabel6 = new TQLabel( groupBox7, "charLabel6" );

    groupBox7Layout->addWidget( charLabel6, 1, 3 );

    charProgress2 = new TQProgressBar( groupBox7, "charProgress2" );

    groupBox7Layout->addWidget( charProgress2, 1, 1 );

    charProgress3 = new TQProgressBar( groupBox7, "charProgress3" );

    groupBox7Layout->addWidget( charProgress3, 2, 1 );

    charLabel7 = new TQLabel( groupBox7, "charLabel7" );

    groupBox7Layout->addWidget( charLabel7, 2, 3 );

    charLabel3 = new TQLabel( groupBox7, "charLabel3" );

    groupBox7Layout->addWidget( charLabel3, 2, 0 );

    charProgress7 = new TQProgressBar( groupBox7, "charProgress7" );

    groupBox7Layout->addWidget( charProgress7, 2, 4 );

    charProgress8 = new TQProgressBar( groupBox7, "charProgress8" );

    groupBox7Layout->addWidget( charProgress8, 3, 4 );

    charProgress4 = new TQProgressBar( groupBox7, "charProgress4" );

    groupBox7Layout->addWidget( charProgress4, 3, 1 );

    charLabel8 = new TQLabel( groupBox7, "charLabel8" );

    groupBox7Layout->addWidget( charLabel8, 3, 3 );

    charLabel4 = new TQLabel( groupBox7, "charLabel4" );

    groupBox7Layout->addWidget( charLabel4, 3, 0 );

    layout28->addMultiCellWidget( groupBox7, 2, 2, 0, 1 );

    groupBox5 = new TQGroupBox( currentTab, "groupBox5" );
    groupBox5->setColumnLayout(0, TQt::Vertical );
    groupBox5->layout()->setSpacing( 6 );
    groupBox5->layout()->setMargin( 11 );
    groupBox5Layout = new TQGridLayout( groupBox5->layout() );
    groupBox5Layout->setAlignment( TQt::AlignTop );

    textLabel6 = new TQLabel( groupBox5, "textLabel6" );

    groupBox5Layout->addWidget( textLabel6, 0, 0 );

    textLabel6_2 = new TQLabel( groupBox5, "textLabel6_2" );

    groupBox5Layout->addWidget( textLabel6_2, 1, 0 );

    charSpeedLCD = new TQLCDNumber( groupBox5, "charSpeedLCD" );
    charSpeedLCD->setMaximumSize( TQSize( 50, 32767 ) );
    charSpeedLCD->setSegmentStyle( TQLCDNumber::Flat );

    groupBox5Layout->addWidget( charSpeedLCD, 0, 1 );

    wordSpeedLCD = new TQLCDNumber( groupBox5, "wordSpeedLCD" );
    wordSpeedLCD->setMaximumSize( TQSize( 50, 32767 ) );
    wordSpeedLCD->setSegmentStyle( TQLCDNumber::Flat );

    groupBox5Layout->addWidget( wordSpeedLCD, 1, 1 );

    layout28->addWidget( groupBox5, 0, 1 );

    groupBox6 = new TQGroupBox( currentTab, "groupBox6" );
    groupBox6->setColumnLayout(0, TQt::Vertical );
    groupBox6->layout()->setSpacing( 6 );
    groupBox6->layout()->setMargin( 11 );
    groupBox6Layout = new TQGridLayout( groupBox6->layout() );
    groupBox6Layout->setAlignment( TQt::AlignTop );

    correctnessBar = new TQProgressBar( groupBox6, "correctnessBar" );

    groupBox6Layout->addWidget( correctnessBar, 0, 0 );

    layout28->addWidget( groupBox6, 1, 1 );
    currentTabLayout->addLayout( layout28 );
    spacer22 = new TQSpacerItem( 20, 40, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    currentTabLayout->addItem( spacer22 );
    tabWidget->insertTab( currentTab, TQString::fromLatin1("") );

    currentLevelTab = new TQWidget( tabWidget, "currentLevelTab" );
    currentLevelTabLayout = new TQVBoxLayout( currentLevelTab, 11, 6, "currentLevelTabLayout"); 

    currentTitleLabel_3 = new TQLabel( currentLevelTab, "currentTitleLabel_3" );
    TQFont currentTitleLabel_3_font(  currentTitleLabel_3->font() );
    currentTitleLabel_3_font.setPointSize( 20 );
    currentTitleLabel_3_font.setBold( true );
    currentTitleLabel_3->setFont( currentTitleLabel_3_font ); 
    currentLevelTabLayout->addWidget( currentTitleLabel_3 );

    layout8 = new TQGridLayout( 0, 1, 1, 0, 6, "layout8"); 

    lectureLabel2 = new TQLabel( currentLevelTab, "lectureLabel2" );
    lectureLabel2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, lectureLabel2->sizePolicy().hasHeightForWidth() ) );

    layout8->addWidget( lectureLabel2, 0, 1 );

    textLabel4_3 = new TQLabel( currentLevelTab, "textLabel4_3" );

    layout8->addWidget( textLabel4_3, 1, 0 );

    textLabel2_4 = new TQLabel( currentLevelTab, "textLabel2_4" );

    layout8->addWidget( textLabel2_4, 0, 0 );

    levelLabel2 = new TQLabel( currentLevelTab, "levelLabel2" );
    levelLabel2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, levelLabel2->sizePolicy().hasHeightForWidth() ) );

    layout8->addWidget( levelLabel2, 1, 1 );
    currentLevelTabLayout->addLayout( layout8 );

    layout28_2 = new TQGridLayout( 0, 1, 1, 0, 6, "layout28_2"); 

    groupBox4_2 = new TQGroupBox( currentLevelTab, "groupBox4_2" );
    groupBox4_2->setColumnLayout(0, TQt::Vertical );
    groupBox4_2->layout()->setSpacing( 6 );
    groupBox4_2->layout()->setMargin( 11 );
    groupBox4_2Layout = new TQGridLayout( groupBox4_2->layout() );
    groupBox4_2Layout->setAlignment( TQt::AlignTop );

    textLabel4_2 = new TQLabel( groupBox4_2, "textLabel4_2" );

    groupBox4_2Layout->addWidget( textLabel4_2, 3, 0 );

    textLabel5_2 = new TQLabel( groupBox4_2, "textLabel5_2" );

    groupBox4_2Layout->addWidget( textLabel5_2, 2, 0 );

    textLabel2_3 = new TQLabel( groupBox4_2, "textLabel2_3" );

    groupBox4_2Layout->addWidget( textLabel2_3, 0, 0 );

    elapsedTimeLCDLevel = new TQLCDNumber( groupBox4_2, "elapsedTimeLCDLevel" );
    elapsedTimeLCDLevel->setMaximumSize( TQSize( 50, 32767 ) );
    elapsedTimeLCDLevel->setSegmentStyle( TQLCDNumber::Flat );

    groupBox4_2Layout->addWidget( elapsedTimeLCDLevel, 0, 1 );

    totalCharsLCDLevel = new TQLCDNumber( groupBox4_2, "totalCharsLCDLevel" );
    totalCharsLCDLevel->setMaximumSize( TQSize( 50, 32767 ) );
    totalCharsLCDLevel->setSegmentStyle( TQLCDNumber::Flat );

    groupBox4_2Layout->addWidget( totalCharsLCDLevel, 1, 1 );

    wrongCharsLCDLevel = new TQLCDNumber( groupBox4_2, "wrongCharsLCDLevel" );
    wrongCharsLCDLevel->setMaximumSize( TQSize( 50, 32767 ) );
    wrongCharsLCDLevel->setSegmentStyle( TQLCDNumber::Flat );

    groupBox4_2Layout->addWidget( wrongCharsLCDLevel, 2, 1 );

    wordsLCDLevel = new TQLCDNumber( groupBox4_2, "wordsLCDLevel" );
    wordsLCDLevel->setMaximumSize( TQSize( 50, 32767 ) );
    wordsLCDLevel->setSegmentStyle( TQLCDNumber::Flat );

    groupBox4_2Layout->addWidget( wordsLCDLevel, 3, 1 );

    textLabel3_3 = new TQLabel( groupBox4_2, "textLabel3_3" );

    groupBox4_2Layout->addWidget( textLabel3_3, 1, 0 );

    layout28_2->addMultiCellWidget( groupBox4_2, 0, 1, 0, 0 );

    groupBox7_2 = new TQGroupBox( currentLevelTab, "groupBox7_2" );
    groupBox7_2->setColumnLayout(0, TQt::Vertical );
    groupBox7_2->layout()->setSpacing( 6 );
    groupBox7_2->layout()->setMargin( 11 );
    groupBox7_2Layout = new TQGridLayout( groupBox7_2->layout() );
    groupBox7_2Layout->setAlignment( TQt::AlignTop );

    frame4_2 = new TQFrame( groupBox7_2, "frame4_2" );
    frame4_2->setMinimumSize( TQSize( 20, 0 ) );
    frame4_2->setFrameShape( TQFrame::VLine );
    frame4_2->setFrameShadow( TQFrame::Plain );

    groupBox7_2Layout->addMultiCellWidget( frame4_2, 0, 3, 2, 2 );

    charProgress1Level = new TQProgressBar( groupBox7_2, "charProgress1Level" );

    groupBox7_2Layout->addWidget( charProgress1Level, 0, 1 );

    charProgress5Level = new TQProgressBar( groupBox7_2, "charProgress5Level" );

    groupBox7_2Layout->addWidget( charProgress5Level, 0, 4 );

    charLabel1Level = new TQLabel( groupBox7_2, "charLabel1Level" );

    groupBox7_2Layout->addWidget( charLabel1Level, 0, 0 );

    charLabel5Level = new TQLabel( groupBox7_2, "charLabel5Level" );

    groupBox7_2Layout->addWidget( charLabel5Level, 0, 3 );

    charLabel2Level = new TQLabel( groupBox7_2, "charLabel2Level" );

    groupBox7_2Layout->addWidget( charLabel2Level, 1, 0 );

    charProgress6Level = new TQProgressBar( groupBox7_2, "charProgress6Level" );

    groupBox7_2Layout->addWidget( charProgress6Level, 1, 4 );

    charLabel6Level = new TQLabel( groupBox7_2, "charLabel6Level" );

    groupBox7_2Layout->addWidget( charLabel6Level, 1, 3 );

    charProgress2Level = new TQProgressBar( groupBox7_2, "charProgress2Level" );

    groupBox7_2Layout->addWidget( charProgress2Level, 1, 1 );

    charProgress3Level = new TQProgressBar( groupBox7_2, "charProgress3Level" );

    groupBox7_2Layout->addWidget( charProgress3Level, 2, 1 );

    charLabel7Level = new TQLabel( groupBox7_2, "charLabel7Level" );

    groupBox7_2Layout->addWidget( charLabel7Level, 2, 3 );

    charLabel3Level = new TQLabel( groupBox7_2, "charLabel3Level" );

    groupBox7_2Layout->addWidget( charLabel3Level, 2, 0 );

    charProgress7Level = new TQProgressBar( groupBox7_2, "charProgress7Level" );

    groupBox7_2Layout->addWidget( charProgress7Level, 2, 4 );

    charProgress8Level = new TQProgressBar( groupBox7_2, "charProgress8Level" );

    groupBox7_2Layout->addWidget( charProgress8Level, 3, 4 );

    charProgress4Level = new TQProgressBar( groupBox7_2, "charProgress4Level" );

    groupBox7_2Layout->addWidget( charProgress4Level, 3, 1 );

    charLabel8Level = new TQLabel( groupBox7_2, "charLabel8Level" );

    groupBox7_2Layout->addWidget( charLabel8Level, 3, 3 );

    charLabel4Level = new TQLabel( groupBox7_2, "charLabel4Level" );

    groupBox7_2Layout->addWidget( charLabel4Level, 3, 0 );

    layout28_2->addMultiCellWidget( groupBox7_2, 2, 2, 0, 1 );

    groupBox5_2 = new TQGroupBox( currentLevelTab, "groupBox5_2" );
    groupBox5_2->setColumnLayout(0, TQt::Vertical );
    groupBox5_2->layout()->setSpacing( 6 );
    groupBox5_2->layout()->setMargin( 11 );
    groupBox5_2Layout = new TQGridLayout( groupBox5_2->layout() );
    groupBox5_2Layout->setAlignment( TQt::AlignTop );

    textLabel6_3 = new TQLabel( groupBox5_2, "textLabel6_3" );

    groupBox5_2Layout->addWidget( textLabel6_3, 0, 0 );

    textLabel6_2_2 = new TQLabel( groupBox5_2, "textLabel6_2_2" );

    groupBox5_2Layout->addWidget( textLabel6_2_2, 1, 0 );

    charSpeedLCDLevel = new TQLCDNumber( groupBox5_2, "charSpeedLCDLevel" );
    charSpeedLCDLevel->setMaximumSize( TQSize( 50, 32767 ) );
    charSpeedLCDLevel->setSegmentStyle( TQLCDNumber::Flat );

    groupBox5_2Layout->addWidget( charSpeedLCDLevel, 0, 1 );

    wordSpeedLCDLevel = new TQLCDNumber( groupBox5_2, "wordSpeedLCDLevel" );
    wordSpeedLCDLevel->setMaximumSize( TQSize( 50, 32767 ) );
    wordSpeedLCDLevel->setSegmentStyle( TQLCDNumber::Flat );

    groupBox5_2Layout->addWidget( wordSpeedLCDLevel, 1, 1 );

    layout28_2->addWidget( groupBox5_2, 0, 1 );

    groupBox6_3 = new TQGroupBox( currentLevelTab, "groupBox6_3" );
    groupBox6_3->setColumnLayout(0, TQt::Vertical );
    groupBox6_3->layout()->setSpacing( 6 );
    groupBox6_3->layout()->setMargin( 11 );
    groupBox6_3Layout = new TQGridLayout( groupBox6_3->layout() );
    groupBox6_3Layout->setAlignment( TQt::AlignTop );

    correctnessBarLevel = new TQProgressBar( groupBox6_3, "correctnessBarLevel" );

    groupBox6_3Layout->addWidget( correctnessBarLevel, 0, 0 );

    layout28_2->addWidget( groupBox6_3, 1, 1 );
    currentLevelTabLayout->addLayout( layout28_2 );
    spacer22_2 = new TQSpacerItem( 20, 89, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    currentLevelTabLayout->addItem( spacer22_2 );
    tabWidget->insertTab( currentLevelTab, TQString::fromLatin1("") );

    progressTab = new TQWidget( tabWidget, "progressTab" );
    progressTabLayout = new TQVBoxLayout( progressTab, 11, 6, "progressTabLayout"); 

    currentTitleLabel_2 = new TQLabel( progressTab, "currentTitleLabel_2" );
    TQFont currentTitleLabel_2_font(  currentTitleLabel_2->font() );
    currentTitleLabel_2_font.setPointSize( 20 );
    currentTitleLabel_2_font.setBold( true );
    currentTitleLabel_2->setFont( currentTitleLabel_2_font ); 
    progressTabLayout->addWidget( currentTitleLabel_2 );

    layout6 = new TQHBoxLayout( 0, 0, 6, "layout6"); 

    textLabel1_2 = new TQLabel( progressTab, "textLabel1_2" );
    layout6->addWidget( textLabel1_2 );

    lectureCombo = new KComboBox( false, progressTab, "lectureCombo" );
    lectureCombo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, lectureCombo->sizePolicy().hasHeightForWidth() ) );
    layout6->addWidget( lectureCombo );
    progressTabLayout->addLayout( layout6 );

    chartWidget = new KTouchChartWidget( progressTab, "chartWidget" );
    chartWidget->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)2, 0, 0, chartWidget->sizePolicy().hasHeightForWidth() ) );
    progressTabLayout->addWidget( chartWidget );

    groupBox6_2 = new TQGroupBox( progressTab, "groupBox6_2" );
    groupBox6_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)4, 0, 0, groupBox6_2->sizePolicy().hasHeightForWidth() ) );
    groupBox6_2->setColumnLayout(0, TQt::Vertical );
    groupBox6_2->layout()->setSpacing( 6 );
    groupBox6_2->layout()->setMargin( 11 );
    groupBox6_2Layout = new TQGridLayout( groupBox6_2->layout() );
    groupBox6_2Layout->setAlignment( TQt::AlignTop );

    buttonGroup1 = new TQButtonGroup( groupBox6_2, "buttonGroup1" );
    buttonGroup1->setFrameShape( TQButtonGroup::NoFrame );
    buttonGroup1->setColumnLayout(0, TQt::Vertical );
    buttonGroup1->layout()->setSpacing( 6 );
    buttonGroup1->layout()->setMargin( 0 );
    buttonGroup1Layout = new TQVBoxLayout( buttonGroup1->layout() );
    buttonGroup1Layout->setAlignment( TQt::AlignTop );

    textLabel1 = new TQLabel( buttonGroup1, "textLabel1" );
    TQFont textLabel1_font(  textLabel1->font() );
    textLabel1_font.setBold( true );
    textLabel1->setFont( textLabel1_font ); 
    buttonGroup1Layout->addWidget( textLabel1 );

    levelsRadio = new TQRadioButton( buttonGroup1, "levelsRadio" );
    buttonGroup1Layout->addWidget( levelsRadio );

    sessionsRadio = new TQRadioButton( buttonGroup1, "sessionsRadio" );
    buttonGroup1Layout->addWidget( sessionsRadio );
    spacer6 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    buttonGroup1Layout->addItem( spacer6 );

    groupBox6_2Layout->addWidget( buttonGroup1, 0, 0 );

    buttonGroup2 = new TQButtonGroup( groupBox6_2, "buttonGroup2" );
    buttonGroup2->setFrameShape( TQButtonGroup::NoFrame );
    buttonGroup2->setColumnLayout(0, TQt::Vertical );
    buttonGroup2->layout()->setSpacing( 6 );
    buttonGroup2->layout()->setMargin( 0 );
    buttonGroup2Layout = new TQVBoxLayout( buttonGroup2->layout() );
    buttonGroup2Layout->setAlignment( TQt::AlignTop );

    textLabel2_2 = new TQLabel( buttonGroup2, "textLabel2_2" );
    TQFont textLabel2_2_font(  textLabel2_2->font() );
    textLabel2_2_font.setBold( true );
    textLabel2_2->setFont( textLabel2_2_font ); 
    buttonGroup2Layout->addWidget( textLabel2_2 );

    WPMRadio = new TQRadioButton( buttonGroup2, "WPMRadio" );
    buttonGroup2Layout->addWidget( WPMRadio );

    CPMRadio = new TQRadioButton( buttonGroup2, "CPMRadio" );
    buttonGroup2Layout->addWidget( CPMRadio );

    correctRadio = new TQRadioButton( buttonGroup2, "correctRadio" );
    buttonGroup2Layout->addWidget( correctRadio );

    skillRadio = new TQRadioButton( buttonGroup2, "skillRadio" );
    buttonGroup2Layout->addWidget( skillRadio );

    groupBox6_2Layout->addWidget( buttonGroup2, 0, 1 );

    buttonGroup3 = new TQButtonGroup( groupBox6_2, "buttonGroup3" );
    buttonGroup3->setFrameShape( TQButtonGroup::NoFrame );
    buttonGroup3->setColumnLayout(0, TQt::Vertical );
    buttonGroup3->layout()->setSpacing( 6 );
    buttonGroup3->layout()->setMargin( 0 );
    buttonGroup3Layout = new TQVBoxLayout( buttonGroup3->layout() );
    buttonGroup3Layout->setAlignment( TQt::AlignTop );

    textLabel3_2 = new TQLabel( buttonGroup3, "textLabel3_2" );
    TQFont textLabel3_2_font(  textLabel3_2->font() );
    textLabel3_2_font.setBold( true );
    textLabel3_2->setFont( textLabel3_2_font ); 
    buttonGroup3Layout->addWidget( textLabel3_2 );

    timeRadio = new TQRadioButton( buttonGroup3, "timeRadio" );
    buttonGroup3Layout->addWidget( timeRadio );

    eventRadio = new TQRadioButton( buttonGroup3, "eventRadio" );
    buttonGroup3Layout->addWidget( eventRadio );
    spacer7 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    buttonGroup3Layout->addItem( spacer7 );

    groupBox6_2Layout->addWidget( buttonGroup3, 0, 2 );
    progressTabLayout->addWidget( groupBox6_2 );
    tabWidget->insertTab( progressTab, TQString::fromLatin1("") );
    KTouchStatisticsDlgLayout->addWidget( tabWidget );

    layout6_2 = new TQHBoxLayout( 0, 0, 6, "layout6_2"); 

    clearButton = new KPushButton( this, "clearButton" );
    layout6_2->addWidget( clearButton );
    spacer5 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout6_2->addItem( spacer5 );

    closeButton = new KPushButton( this, "closeButton" );
    closeButton->setDefault( true );
    layout6_2->addWidget( closeButton );
    KTouchStatisticsDlgLayout->addLayout( layout6_2 );
    languageChange();
    resize( TQSize(606, 600).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

/*
 *  Destroys the object and frees any allocated resources
 */
KTouchStatisticsDlg::~KTouchStatisticsDlg()
{
    // no need to delete child widgets, TQt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void KTouchStatisticsDlg::languageChange()
{
    setCaption( tr2i18n( "Training Statistics" ) );
    currentTitleLabel->setText( tr2i18n( "Current Training Session Statistics" ) );
    textLabel4_3_2->setText( tr2i18n( "Levels in this session:" ) );
    levelLabel1->setText( tr2i18n( "levelLabel1" ) );
    textLabel2_4_2->setText( tr2i18n( "Lecture:" ) );
    lectureLabel1->setText( tr2i18n( "lectureLabel1" ) );
    groupBox4->setTitle( tr2i18n( "General Statistics" ) );
    textLabel4->setText( tr2i18n( "Words typed:" ) );
    textLabel5->setText( tr2i18n( "Mistyped characters:" ) );
    textLabel2->setText( tr2i18n( "Time (seconds) elapsed:" ) );
    TQWhatsThis::add( elapsedTimeLCD, tr2i18n( "This shows the number of seconds you have typed in this training session." ) );
    TQWhatsThis::add( totalCharsLCD, tr2i18n( "The number of characters (correct and wrong) that you have typed so far." ) );
    TQWhatsThis::add( wrongCharsLCD, tr2i18n( "Shows how many wrong characters you did type." ) );
    TQWhatsThis::add( wordsLCD, tr2i18n( "The number of words typed so far." ) );
    textLabel3->setText( tr2i18n( "Characters typed:" ) );
    groupBox7->setTitle( tr2i18n( "Character Statistics (characters you need to focus on)" ) );
    TQWhatsThis::add( groupBox7, tr2i18n( "Here the characters are listed that you have missed during the typing test. The percentage shows the ratio of how often a key was missed versus how often the key was pressed in total. Large numbers indicate that the key was missed a lot." ) );
    charLabel1->setText( tr2i18n( "a:" ) );
    charLabel5->setText( tr2i18n( "e:" ) );
    charLabel2->setText( tr2i18n( "b:" ) );
    charLabel6->setText( tr2i18n( "f:" ) );
    charLabel7->setText( tr2i18n( "g:" ) );
    charLabel3->setText( tr2i18n( "c:" ) );
    charLabel8->setText( tr2i18n( "h:" ) );
    charLabel4->setText( tr2i18n( "d:" ) );
    groupBox5->setTitle( tr2i18n( "Typing Rate" ) );
    textLabel6->setText( tr2i18n( "Characters per minute:" ) );
    textLabel6_2->setText( tr2i18n( "Words per minute:" ) );
    TQWhatsThis::add( charSpeedLCD, tr2i18n( "The number of correct characters you typed per minute." ) );
    TQWhatsThis::add( wordSpeedLCD, tr2i18n( "The number of words you typed per minute." ) );
    groupBox6->setTitle( tr2i18n( "Accuracy" ) );
    TQWhatsThis::add( correctnessBar, tr2i18n( "The ratio of correctly typed characters versus total number of characters typed." ) );
    tabWidget->changeTab( currentTab, tr2i18n( "Current Training Session" ) );
    currentTitleLabel_3->setText( tr2i18n( "Current Level Statistics" ) );
    lectureLabel2->setText( tr2i18n( "lectureLabel2" ) );
    textLabel4_3->setText( tr2i18n( "Level:" ) );
    textLabel2_4->setText( tr2i18n( "Lecture:" ) );
    levelLabel2->setText( tr2i18n( "levelLabel2" ) );
    groupBox4_2->setTitle( tr2i18n( "General Statistics" ) );
    textLabel4_2->setText( tr2i18n( "Words typed:" ) );
    textLabel5_2->setText( tr2i18n( "Mistyped characters:" ) );
    textLabel2_3->setText( tr2i18n( "Time (seconds) elapsed:" ) );
    textLabel3_3->setText( tr2i18n( "Characters typed:" ) );
    groupBox7_2->setTitle( tr2i18n( "Character Statistics (characters you need to focus on)" ) );
    TQWhatsThis::add( groupBox7_2, tr2i18n( "Here the characters are listed that you have missed during the typing test. The percentage shows the ratio of how often a key was missed versus how often the key was pressed correctly. Large numbers indicate that the key was missed a lot." ) );
    charLabel1Level->setText( tr2i18n( "a:" ) );
    charLabel5Level->setText( tr2i18n( "e:" ) );
    charLabel2Level->setText( tr2i18n( "b:" ) );
    charLabel6Level->setText( tr2i18n( "f:" ) );
    charLabel7Level->setText( tr2i18n( "g:" ) );
    charLabel3Level->setText( tr2i18n( "c:" ) );
    charLabel8Level->setText( tr2i18n( "h:" ) );
    charLabel4Level->setText( tr2i18n( "d:" ) );
    groupBox5_2->setTitle( tr2i18n( "Typing Rate" ) );
    textLabel6_3->setText( tr2i18n( "Characters per minute:" ) );
    textLabel6_2_2->setText( tr2i18n( "Words per minute:" ) );
    groupBox6_3->setTitle( tr2i18n( "Accuracy" ) );
    tabWidget->changeTab( currentLevelTab, tr2i18n( "Current Level Statistics" ) );
    currentTitleLabel_2->setText( tr2i18n( "Your Typing Progress" ) );
    textLabel1_2->setText( tr2i18n( "Show progress in lecture:" ) );
    TQWhatsThis::add( lectureCombo, tr2i18n( "Here you can select the lecture you want to obtain statistics for." ) );
    groupBox6_2->setTitle( tr2i18n( "Progress Chart Options" ) );
    buttonGroup1->setTitle( TQString::null );
    textLabel1->setText( tr2i18n( "Chart Data" ) );
    levelsRadio->setText( tr2i18n( "Level stats" ) );
    sessionsRadio->setText( tr2i18n( "Session stats" ) );
    buttonGroup2->setTitle( TQString::null );
    textLabel2_2->setText( tr2i18n( "Chart Type" ) );
    WPMRadio->setText( tr2i18n( "Words per minute" ) );
    CPMRadio->setText( tr2i18n( "Characters per minute" ) );
    correctRadio->setText( tr2i18n( "Correctness" ) );
    skillRadio->setText( tr2i18n( "Skill" ) );
    buttonGroup3->setTitle( TQString::null );
    textLabel3_2->setText( tr2i18n( "Time Axis Scaling" ) );
    timeRadio->setText( tr2i18n( "Time scaled" ) );
    eventRadio->setText( tr2i18n( "Constant spacing" ) );
    tabWidget->changeTab( progressTab, tr2i18n( "Monitor Progress" ) );
    clearButton->setText( tr2i18n( "Clear History" ) );
    TQToolTip::add( clearButton, tr2i18n( "Pressing this button will erase the whole training statistics for the current user." ) );
    closeButton->setText( tr2i18n( "Close" ) );
}

/****************************************************************************
** KTouchStatisticsDlg meta object code from reading C++ file 'ktouchstatistics_dlg.h'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "ktouchstatistics_dlg.h"
#include <ntqmetaobject.h>
#include <ntqapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

const char *KTouchStatisticsDlg::className() const
{
    return "KTouchStatisticsDlg";
}

TQMetaObject *KTouchStatisticsDlg::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_KTouchStatisticsDlg( "KTouchStatisticsDlg", &KTouchStatisticsDlg::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString KTouchStatisticsDlg::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "KTouchStatisticsDlg", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString KTouchStatisticsDlg::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "KTouchStatisticsDlg", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* KTouchStatisticsDlg::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQDialog::staticMetaObject();
    static const TQUMethod slot_0 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"KTouchStatisticsDlg", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_KTouchStatisticsDlg.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* KTouchStatisticsDlg::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "KTouchStatisticsDlg" ) )
	return this;
    return TQDialog::tqt_cast( clname );
}

bool KTouchStatisticsDlg::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

bool KTouchStatisticsDlg::tqt_emit( int _id, TQUObject* _o )
{
    return TQDialog::tqt_emit(_id,_o);
}
#ifndef TQT_NO_PROPERTIES

bool KTouchStatisticsDlg::tqt_property( int id, int f, TQVariant* v)
{
    return TQDialog::tqt_property( id, f, v);
}

bool KTouchStatisticsDlg::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
