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

	--- Dlgedit generated file ---

	File: EditorSettingsData.cpp
	Last generated: Fri Feb 27 17:52:47 1998

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

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

#include "EditorSettingsData.h"

#define Inherited QDialog

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

EditorSettingsData::EditorSettingsData
(
	QWidget* parent,
	const char* name
)
	:
	Inherited( parent, name, TRUE )
{
	btOk = new QPushButton( this, "PushButton_1" );
	btOk->setGeometry( 260, 150, 70, 30 );
	connect( btOk, SIGNAL(clicked()), SLOT(accept()) );
	btOk->setText( "OK" );
	btOk->setAutoRepeat( FALSE );
	btOk->setAutoResize( FALSE );
	btOk->setAutoDefault( TRUE );

	tabWidth = new QLineEdit( this, "LineEdit_1" );
	tabWidth->setGeometry( 360, 90, 40, 30 );
	tabWidth->setText( "4" );
	tabWidth->setMaxLength( 32767 );
	tabWidth->setEchoMode( QLineEdit::Normal );
	tabWidth->setFrame( TRUE );

	QLabel* tmpQLabel;
	tmpQLabel = new QLabel( this, "Label_1" );
	tmpQLabel->setGeometry( 270, 90, 80, 30 );
	tmpQLabel->setText( "Tab Width:" );
	tmpQLabel->setAlignment( 290 );
	tmpQLabel->setMargin( -1 );

	btCancel = new QPushButton( this, "PushButton_2" );
	btCancel->setGeometry( 420, 150, 70, 30 );
	connect( btCancel, SIGNAL(clicked()), SLOT(reject()) );
	btCancel->setText( "Cancel" );
	btCancel->setAutoRepeat( FALSE );
	btCancel->setAutoResize( FALSE );

	tmpQLabel = new QLabel( this, "Label_2" );
	tmpQLabel->setGeometry( 410, 90, 60, 30 );
	tmpQLabel->setText( "Chars" );
	tmpQLabel->setAlignment( 289 );
	tmpQLabel->setMargin( -1 );

	autoindent = new QCheckBox( this, "CheckBox_1" );
	autoindent->setGeometry( 30, 30, 160, 30 );
	autoindent->setText( "Autoindent" );
	autoindent->setAutoRepeat( TRUE );
	autoindent->setAutoResize( FALSE );

	tabsAsSpaces = new QCheckBox( this, "CheckBox_2" );
	tabsAsSpaces->setGeometry( 270, 60, 200, 30 );
	tabsAsSpaces->setText( "Insert Tabs as Spaces" );
	tabsAsSpaces->setAutoRepeat( TRUE );
	tabsAsSpaces->setAutoResize( FALSE );

	tabsVisible = new QCheckBox( this, "CheckBox_3" );
	tabsVisible->setGeometry( 270, 30, 160, 30 );
	tabsVisible->setText( "Make Tabs Visible" );
	tabsVisible->setAutoRepeat( TRUE );
	tabsVisible->setAutoResize( FALSE );

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

	overwriteSel = new QCheckBox( this, "CheckBox_4" );
	overwriteSel->setGeometry( 30, 60, 200, 30 );
	overwriteSel->setText( "Overwrite Selection" );
	overwriteSel->setAutoRepeat( FALSE );
	overwriteSel->setAutoResize( FALSE );

	useColors = new QCheckBox( this, "CheckBox_5" );
	useColors->setGeometry( 30, 90, 200, 30 );
	useColors->setText( "Use Syntax Highlighting" );
	useColors->setAutoRepeat( FALSE );
	useColors->setAutoResize( FALSE );

	autoClipboarding = new QCheckBox( this, "CheckBox_6" );
	autoClipboarding->setGeometry( 30, 120, 210, 30 );
	autoClipboarding->setText( "Automatic Copy" );
	autoClipboarding->setAutoRepeat( FALSE );
	autoClipboarding->setAutoResize( FALSE );

	QButtonGroup* tmpQButtonGroup;
	tmpQButtonGroup = new QButtonGroup( this, "ButtonGroup_2" );
	tmpQButtonGroup->setGeometry( 260, 10, 230, 120 );
	tmpQButtonGroup->setFrameStyle( 49 );
	tmpQButtonGroup->setTitle( "Tab Settings" );
	tmpQButtonGroup->setAlignment( 1 );
	tmpQButtonGroup->insert( tabsAsSpaces );
	tmpQButtonGroup->insert( tabsVisible );
	tmpQButtonGroup->lower();

	tmpQButtonGroup = new QButtonGroup( this, "ButtonGroup_1" );
	tmpQButtonGroup->setGeometry( 20, 10, 230, 170 );
	tmpQButtonGroup->setFrameStyle( 49 );
	tmpQButtonGroup->setTitle( "Settings" );
	tmpQButtonGroup->setAlignment( 1 );
	tmpQButtonGroup->insert( autoindent );
	tmpQButtonGroup->insert( overwriteSel );
	tmpQButtonGroup->insert( useColors );
	tmpQButtonGroup->insert( autoClipboarding );
	tmpQButtonGroup->lower();

	resize( 510, 210 );
}


EditorSettingsData::~EditorSettingsData()
{
}
void EditorSettingsData::applyClicked()
{
}
