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

	--- Dlgedit generated file ---

	File: ./ColorSetData.cpp
	Last generated: Sat Feb 28 13:56:47 1998

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

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

#include "./ColorSetData.h"

#define Inherited QDialog

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

ColorSetData::ColorSetData
(
	QWidget* parent,
	const char* name
)
	:
	Inherited( parent, name, TRUE )
{
	seListbox = new QListBox( this, "ListBox_1" );
	seListbox->setGeometry( 20, 40, 180, 200 );
	connect( seListbox, SIGNAL(highlighted(int)), SLOT(syntaxElementHighlighted(int)) );
	seListbox->setFrameStyle( 51 );
	seListbox->setLineWidth( 2 );

	QLabel* tmpQLabel;
	tmpQLabel = new QLabel( this, "Label_2" );
	tmpQLabel->setGeometry( 20, 10, 90, 30 );
	tmpQLabel->setText( "Syntax Element" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	btApply = new QPushButton( this, "PushButton_3" );
	btApply->setGeometry( 280, 210, 80, 30 );
	connect( btApply, SIGNAL(clicked()), SLOT(applyClicked()) );
	btApply->setText( "Apply" );
	btApply->setAutoRepeat( FALSE );
	btApply->setAutoResize( FALSE );

	btCancel = new QPushButton( this, "PushButton_4" );
	btCancel->setGeometry( 370, 210, 80, 30 );
	connect( btCancel, SIGNAL(clicked()), SLOT(reject()) );
	btCancel->setText( "Cancel" );
	btCancel->setAutoRepeat( FALSE );
	btCancel->setAutoResize( FALSE );

	QPushButton* tmpQPushButton;
	tmpQPushButton = new QPushButton( this, "PushButton_5" );
	tmpQPushButton->setGeometry( 220, 160, 60, 30 );
	connect( tmpQPushButton, SIGNAL(clicked()), SLOT(accept()) );
	tmpQPushButton->setText( "OK" );
	tmpQPushButton->setAutoRepeat( FALSE );
	tmpQPushButton->setAutoResize( FALSE );
	tmpQPushButton->setAutoDefault( TRUE );

	cbBold = new QCheckBox( this, "CheckBox_3" );
	cbBold->setGeometry( 220, 60, 70, 30 );
	connect( cbBold, SIGNAL(clicked()), SLOT(elemChanged()) );
	cbBold->setText( "Bold" );
	cbBold->setAutoRepeat( FALSE );
	cbBold->setAutoResize( FALSE );

	cbItalic = new QCheckBox( this, "CheckBox_4" );
	cbItalic->setGeometry( 220, 90, 70, 30 );
	connect( cbItalic, SIGNAL(clicked()), SLOT(elemChanged()) );
	cbItalic->setText( "Italic" );
	cbItalic->setAutoRepeat( FALSE );
	cbItalic->setAutoResize( FALSE );

	colorsListbox = new QListBox( this, "ListBox_2" );
	colorsListbox->setGeometry( 320, 50, 120, 140 );
	connect( colorsListbox, SIGNAL(highlighted(int)), SLOT(colorChanged(int)) );
	colorsListbox->setFrameStyle( 51 );
	colorsListbox->setLineWidth( 2 );

	tmpQLabel = new QLabel( this, "Label_9" );
	tmpQLabel->setGeometry( 320, 20, 100, 30 );
	tmpQLabel->setText( "Color" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	QButtonGroup* tmpQButtonGroup;
	tmpQButtonGroup = new QButtonGroup( this, "ButtonGroup_3" );
	tmpQButtonGroup->setGeometry( 210, 40, 90, 90 );
	tmpQButtonGroup->setFrameStyle( 49 );
	tmpQButtonGroup->setTitle( "Style" );
	tmpQButtonGroup->setAlignment( 1 );
	tmpQButtonGroup->insert( cbBold );
	tmpQButtonGroup->insert( cbItalic );
	tmpQButtonGroup->lower();

	resize( 460, 280 );
}


ColorSetData::~ColorSetData()
{
}
void ColorSetData::syntaxElementHighlighted(int)
{
}
void ColorSetData::applyClicked()
{
}
void ColorSetData::elemChanged()
{
}
void ColorSetData::colorChanged(int)
{
}
