/****************************************************************************
** Form implementation generated from reading ui file '.\rssclientdialogbase.ui'
**
** Created: Tue Jul 24 01:07:15 2001
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "rssclientdialogbase.h"

#include <qcombobox.h>
#include <qframe.h>
#include <qlabel.h>
#include <qlcdnumber.h>
#include <qslider.h>
#include <qtextview.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/* 
 *  Constructs a RSSClientDialogBase which is 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.
 */
RSSClientDialogBase::RSSClientDialogBase( QWidget* parent,  const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "RSSClientDialogBase" );
    resize( 528, 377 ); 
    setProperty( "caption", tr( "RSSClient" ) );
    setProperty( "sizeGripEnabled", QVariant( TRUE, 0 ) );

    TextLabel4 = new QLabel( this, "TextLabel4" );
    TextLabel4->setGeometry( QRect( 10, 130, 81, 21 ) ); 
    TextLabel4->setProperty( "text", tr( "Thread Count" ) );

    Frame6 = new QFrame( this, "Frame6" );
    Frame6->setGeometry( QRect( 350, 60, 170, 41 ) ); 
    Frame6->setProperty( "frameShape", (int)QFrame::StyledPanel );
    Frame6->setProperty( "frameShadow", (int)QFrame::Raised );

    ClientType = new QLabel( Frame6, "ClientType" );
    ClientType->setGeometry( QRect( 10, 10, 61, 21 ) ); 
    ClientType->setProperty( "text", tr( "Client Type" ) );

    ClientCombo = new QComboBox( FALSE, Frame6, "ClientCombo" );
    ClientCombo->setGeometry( QRect( 80, 10, 81, 21 ) ); 

    Frame16 = new QFrame( this, "Frame16" );
    Frame16->setGeometry( QRect( 350, 10, 170, 41 ) ); 
    Frame16->setProperty( "frameShape", (int)QFrame::StyledPanel );
    Frame16->setProperty( "frameShadow", (int)QFrame::Raised );

    TextLabel8 = new QLabel( Frame16, "TextLabel8" );
    TextLabel8->setGeometry( QRect( 10, 10, 60, 21 ) ); 
    TextLabel8->setProperty( "text", tr( "Run Amount" ) );

    RunAmtCombo = new QComboBox( FALSE, Frame16, "RunAmtCombo" );
    RunAmtCombo->setGeometry( QRect( 80, 10, 81, 21 ) ); 

    Frame7 = new QFrame( this, "Frame7" );
    Frame7->setGeometry( QRect( 170, 10, 170, 41 ) ); 
    Frame7->setProperty( "frameShape", (int)QFrame::StyledPanel );
    Frame7->setProperty( "frameShadow", (int)QFrame::Raised );

    EmulateCombo = new QComboBox( FALSE, Frame7, "EmulateCombo" );
    EmulateCombo->setGeometry( QRect( 80, 10, 80, 20 ) ); 

    TextLabel5 = new QLabel( Frame7, "TextLabel5" );
    TextLabel5->setGeometry( QRect( 10, 10, 40, 21 ) ); 
    TextLabel5->setProperty( "text", tr( "Emulate" ) );

    Frame11 = new QFrame( this, "Frame11" );
    Frame11->setGeometry( QRect( 280, 120, 240, 40 ) ); 
    Frame11->setProperty( "frameShape", (int)QFrame::StyledPanel );
    Frame11->setProperty( "frameShadow", (int)QFrame::Raised );

    ConnectedToLabel = new QLabel( Frame11, "ConnectedToLabel" );
    ConnectedToLabel->setGeometry( QRect( 110, 10, 120, 21 ) ); 
    ConnectedToLabel->setProperty( "text", tr( "NOT CONNECTED" ) );

    TextLabel2 = new QLabel( Frame11, "TextLabel2" );
    TextLabel2->setGeometry( QRect( 20, 10, 80, 21 ) ); 
    TextLabel2->setProperty( "text", tr( "Connected To:" ) );

    ThreadLCD = new QLCDNumber( this, "ThreadLCD" );
    ThreadLCD->setGeometry( QRect( 10, 10, 140, 90 ) ); 
    QFont ThreadLCD_font(  ThreadLCD->font() );
    ThreadLCD_font.setFamily( "Lucida Console" );
    ThreadLCD_font.setPointSize( 20 );
    ThreadLCD->setFont( ThreadLCD_font ); 
    ThreadLCD->setProperty( "numDigits", 2 );
    ThreadLCD->setProperty( "segmentStyle", (int)QLCDNumber::Filled );
    ThreadLCD->setProperty( "intValue", 1 );

    ThreadSlider = new QSlider( this, "ThreadSlider" );
    ThreadSlider->setGeometry( QRect( 90, 130, 170, 20 ) ); 
    ThreadSlider->setProperty( "minValue", 1 );
    ThreadSlider->setProperty( "maxValue", 64 );
    ThreadSlider->setProperty( "orientation", (int)QSlider::Horizontal );

    Frame3 = new QFrame( this, "Frame3" );
    Frame3->setGeometry( QRect( 170, 60, 170, 40 ) ); 
    Frame3->setProperty( "frameShape", (int)QFrame::StyledPanel );
    Frame3->setProperty( "frameShadow", (int)QFrame::Raised );

    LogLevel = new QLabel( Frame3, "LogLevel" );
    LogLevel->setGeometry( QRect( 10, 10, 50, 21 ) ); 
    LogLevel->setProperty( "text", tr( "Log Level" ) );

    LogCombo = new QComboBox( FALSE, Frame3, "LogCombo" );
    LogCombo->setGeometry( QRect( 80, 10, 81, 21 ) ); 

    TextView1 = new QTextView( this, "TextView1" );
    TextView1->setGeometry( QRect( 10, 170, 510, 190 ) ); 
    QFont TextView1_font(  TextView1->font() );
    TextView1_font.setFamily( "Lucida Console" );
    TextView1->setFont( TextView1_font ); 
    TextView1->setProperty( "text", tr( "fgsdfgsdfg" ) );
}

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

/*  
 *  Main event handler. Reimplemented to handle application
 *  font changes
 */
bool RSSClientDialogBase::event( QEvent* ev )
{
    bool ret = QDialog::event( ev ); 
    if ( ev->type() == QEvent::ApplicationFontChange ) {
	QFont ThreadLCD_font(  ThreadLCD->font() );
	ThreadLCD_font.setFamily( "Lucida Console" );
	ThreadLCD_font.setPointSize( 20 );
	ThreadLCD->setFont( ThreadLCD_font ); 
	QFont TextView1_font(  TextView1->font() );
	TextView1_font.setFamily( "Lucida Console" );
	TextView1->setFont( TextView1_font ); 
    }
    return ret;
}


