#include <kdialog.h>
#include <klocale.h>
/****************************************************************************
** Form implementation generated from reading ui file '/usr/src/ports/kdelibs3/kdelibs3-3.5.10-11.i686/src/kdelibs-3.5.10/interfaces/ktexteditor/editorchooser_ui.ui'
**
** Created by User Interface Compiler
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "editorchooser_ui.h"

#include <qvariant.h>
#include <kdialog.h>
#include <qpushbutton.h>
#include <qlabel.h>
#include <qcombobox.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/*
 *  Constructs a EditorChooser_UI as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
EditorChooser_UI::EditorChooser_UI( QWidget* parent, const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setName( "EditorChooser" );
    EditorChooserLayout = new QVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint(), "EditorChooserLayout"); 

    layout4 = new QVBoxLayout( 0, 0, KDialog::spacingHint(), "layout4"); 

    TextLabel1 = new QLabel( this, "TextLabel1" );
    TextLabel1->setMinimumSize( QSize( 460, 0 ) );
    TextLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
    layout4->addWidget( TextLabel1 );

    editorCombo = new QComboBox( FALSE, this, "editorCombo" );
    layout4->addWidget( editorCombo );
    EditorChooserLayout->addLayout( layout4 );
    languageChange();
    resize( QSize(482, 141).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // tab order
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void EditorChooser_UI::languageChange()
{
    setCaption( tr2i18n( "Editor Chooser" ) );
    TextLabel1->setText( tr2i18n( "Please choose the default text editing component that you wish to use in this application. If you choose <B>System Default</B>, the application will honor your changes in the Control Center. All other choices will override that setting." ) );
}

#include "editorchooser_ui.moc"
