跪求跑马灯所有代码解释!求~真心看不懂呀~解决方案

跪求跑马灯所有代码解释!!!!急求~~~真心看不懂呀~
/****************************************************************************
** Form implementation generated from reading ui file 'formLED.ui'
**
** Created: ? 8?9 15:33:06 2010
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.3   edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
** Author: Enphear in GEC
** GuangZhou  2010 summer
****************************************************************************/

#include "formLED.h"

#include <qvariant.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>
#include <qtimer.h>


/*
 *  Constructs a FormLED as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
FormLED::FormLED( QWidget* parent, const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
setName( "FormLED" );
    setMinimumSize( QSize( 320, 240 ) );
    setMaximumSize( QSize( 320, 240 ) );
    setPaletteBackgroundColor( QColor( 170, 255, 255 ) );

    textLabel = new QLabel( this, "textLabel" );
    textLabel->setGeometry( QRect( 10, 30, 301, 80 ) );
    textLabel->setPaletteForegroundColor( QColor( 255, 255, 127 ) );
    textLabel->setPaletteBackgroundColor( QColor( 170, 85, 255 ) );
    QFont textLabel_font(  textLabel->font() );
    textLabel_font.setFamily( "Nimbus Sans L" );
    textLabel_font.setPointSize( 24 );
    textLabel_font.setBold( TRUE );
    textLabel->setFont( textLabel_font ); 
    textLabel->setAlignment( Qt::AlignCenter ); 

    pushButtonRun = new QPushButton( this, "pushButtonRun" );   

               
    pushButtonRun->setGeometry( QRect( 80, 170, 161, 51 ) );
    QFont pushButtonRun_font(  pushButtonRun->font() );
    pushButtonRun_font.setFamily( "Nimbus Sans L" );
    pushButtonRun_font.setPointSize( 20 );
    pushButtonRun_font.setBold( TRUE );
    pushButtonRun->setFont( pushButtonRun_font ); 

    pushButtonExit = new QPushButton( this, "pushButtonExit" );
   


    pushButtonExit->setGeometry( QRect( 290, 0, 30, 21 ) );
    pushButtonExit->setPaletteForegroundColor( QColor( 255, 255, 255 ) );
    pushButtonExit->setPaletteBackgroundColor( QColor( 255, 0, 0 ) );
    QFont pushButtonExit_font(  pushButtonExit->font() );
    pushButtonExit_font.setFamily( "Nimbus Sans L" );
    pushButtonExit_font.setPointSize( 12 );
    pushButtonExit_font.setBold( TRUE );
    pushButtonExit->setFont( pushButtonExit_font ); 

for(int i=0,x=40;i<=COUNTS_OF_LEDS-1;i++,x+=70)
{
led[i] = new QLabel( this, "led" );       
          

    led[i]->setGeometry( QRect( x, 120, 40, 40 ) );
    led[i]->setPaletteBackgroundColor( QColor( 170, 170, 170 ) );
    QFont led_font(  led[i]->font() );
    led_font.setFamily( "Nimbus Sans L" );
    led_font.setPointSize( 12 );
    led_font.setBold( TRUE );
    led[i]->setFont( led_font );
     led[i]->setAlignment( Qt::AlignCenter );