/**********************************************************************

	--- Dlgedit generated file ---

	File: GeneralOptionsData.cpp
	Last generated: Fri Nov 7 01:37:30 1997

	DO NOT EDIT!!!  This file will be automatically
	regenerated by dlgedit.  All changes will be lost.

 *********************************************************************/

#include "GeneralOptionsData.h"

#define Inherited QWidget

#include <qbttngrp.h>
#include <qlabel.h>

GeneralOptionsData::GeneralOptionsData
(
	QWidget* parent,
	const char* name
)
	:
	Inherited( parent, name )
{
	portEdit = new QLineEdit( this, "LineEdit_5" );
	portEdit->setGeometry( 290, 20, 80, 30 );
	portEdit->setText( "" );
	portEdit->setMaxLength( 32767 );
	portEdit->setEchoMode( QLineEdit::Normal );
	portEdit->setFrame( TRUE );

	QLabel* tmpQLabel;
	tmpQLabel = new QLabel( this, "Label_18" );
	tmpQLabel->setGeometry( 260, 20, 30, 30 );
	tmpQLabel->setText( "Port" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	tmpQLabel = new QLabel( this, "Label_16" );
	tmpQLabel->setGeometry( 10, 20, 40, 30 );
	tmpQLabel->setText( "Name" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	primaryNickEdit = new QLineEdit( this, "LineEdit_11" );
	primaryNickEdit->setGeometry( 110, 180, 260, 30 );
	primaryNickEdit->setText( "" );
	primaryNickEdit->setMaxLength( 32767 );
	primaryNickEdit->setEchoMode( QLineEdit::Normal );
	primaryNickEdit->setFrame( TRUE );

	secondaryNickEdit = new QLineEdit( this, "LineEdit_12" );
	secondaryNickEdit->setGeometry( 110, 210, 260, 30 );
	secondaryNickEdit->setText( "" );
	secondaryNickEdit->setMaxLength( 32767 );
	secondaryNickEdit->setEchoMode( QLineEdit::Normal );
	secondaryNickEdit->setFrame( TRUE );

	nameEdit = new QLineEdit( this, "LineEdit_14" );
	nameEdit->setGeometry( 110, 270, 260, 30 );
	nameEdit->setText( "" );
	nameEdit->setMaxLength( 32767 );
	nameEdit->setEchoMode( QLineEdit::Normal );
	nameEdit->setFrame( TRUE );

	tmpQLabel = new QLabel( this, "Label_19" );
	tmpQLabel->setGeometry( 10, 180, 100, 30 );
	tmpQLabel->setText( "Primary nick" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	tmpQLabel = new QLabel( this, "Label_20" );
	tmpQLabel->setGeometry( 10, 210, 100, 30 );
	tmpQLabel->setText( "Secondary nick" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	tmpQLabel = new QLabel( this, "Label_21" );
	tmpQLabel->setGeometry( 10, 270, 100, 30 );
	tmpQLabel->setText( "Real Name" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	userEdit = new QLineEdit( this, "LineEdit_13" );
	userEdit->setGeometry( 110, 240, 260, 30 );
	userEdit->setText( "" );
	userEdit->setMaxLength( 32767 );
	userEdit->setEchoMode( QLineEdit::Normal );
	userEdit->setFrame( TRUE );

	tmpQLabel = new QLabel( this, "Label_22" );
	tmpQLabel->setGeometry( 10, 240, 100, 30 );
	tmpQLabel->setText( "User Name" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	connectAtStartupButton = new QCheckBox( this, "CheckBox_10" );
	connectAtStartupButton->setGeometry( 10, 100, 170, 30 );
	connectAtStartupButton->setText( "Connect at startup" );
	connectAtStartupButton->setAutoRepeat( FALSE );
	connectAtStartupButton->setAutoResize( FALSE );

	autoReconnectButton = new QCheckBox( this, "CheckBox_11" );
	autoReconnectButton->setGeometry( 190, 100, 180, 30 );
	autoReconnectButton->setText( "Auto reconnect" );
	autoReconnectButton->setAutoRepeat( FALSE );
	autoReconnectButton->setAutoResize( FALSE );

	serverNameEdit = new QComboBox( TRUE, this, "ComboBox_2" );
	serverNameEdit->setGeometry( 50, 20, 200, 30 );
	connect( serverNameEdit, SIGNAL(highlighted(int)), SLOT(serverSelected(int)) );
	serverNameEdit->setInsertionPolicy( QComboBox::NoInsertion );
	serverNameEdit->setSizeLimit( 100 );
	serverNameEdit->setAutoResize( FALSE );

	showDialogCheckBox = new QCheckBox( this, "CheckBox_3" );
	showDialogCheckBox->setGeometry( 10, 350, 360, 30 );
	showDialogCheckBox->setText( "Show this dialog on startup" );
	showDialogCheckBox->setAutoRepeat( FALSE );
	showDialogCheckBox->setAutoResize( FALSE );

	passwordEdit = new QLineEdit( this, "LineEdit_6" );
	passwordEdit->setGeometry( 190, 60, 180, 30 );
	passwordEdit->setText( "" );
	passwordEdit->setMaxLength( 32767 );
	passwordEdit->setEchoMode( QLineEdit::Password );
	passwordEdit->setFrame( TRUE );

	tmpQLabel = new QLabel( this, "Label_7" );
	tmpQLabel->setGeometry( 10, 60, 150, 30 );
	tmpQLabel->setText( "Password (if required)" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	QButtonGroup* tmpQButtonGroup;
	tmpQButtonGroup = new QButtonGroup( this, "ButtonGroup_8" );
	tmpQButtonGroup->setGeometry( 0, 150, 380, 240 );
	tmpQButtonGroup->setFrameStyle( 49 );
	tmpQButtonGroup->setTitle( "User info" );
	tmpQButtonGroup->setAlignment( 1 );
	tmpQButtonGroup->insert( showDialogCheckBox );
	tmpQButtonGroup->lower();

	tmpQButtonGroup = new QButtonGroup( this, "ButtonGroup_7" );
	tmpQButtonGroup->setGeometry( 1, 0, 379, 140 );
	tmpQButtonGroup->setFrameStyle( 49 );
	tmpQButtonGroup->setTitle( "Server" );
	tmpQButtonGroup->setAlignment( 1 );
	tmpQButtonGroup->insert( connectAtStartupButton );
	tmpQButtonGroup->insert( autoReconnectButton );
	tmpQButtonGroup->lower();

	resize( 380, 390 );
}


GeneralOptionsData::~GeneralOptionsData()
{
}
void GeneralOptionsData::serverSelected(int)
{
}
