editorchooser_ui.cpp
00001 #include <klocale.h>
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include "editorchooser_ui.h"
00012
00013 #include <qvariant.h>
00014 #include <qcombobox.h>
00015 #include <qlabel.h>
00016 #include <qlayout.h>
00017 #include <qtooltip.h>
00018 #include <qwhatsthis.h>
00019
00020
00021
00022
00023
00024 EditorChooser_UI::EditorChooser_UI( QWidget* parent, const char* name, WFlags fl )
00025 : QWidget( parent, name, fl )
00026 {
00027 if ( !name )
00028 setName( "EditorChooser" );
00029 EditorChooserLayout = new QVBoxLayout( this, 11, 6, "EditorChooserLayout");
00030
00031 TextLabel1 = new QLabel( this, "TextLabel1" );
00032 TextLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
00033 EditorChooserLayout->addWidget( TextLabel1 );
00034
00035 editorCombo = new QComboBox( FALSE, this, "editorCombo" );
00036 EditorChooserLayout->addWidget( editorCombo );
00037 QSpacerItem* spacer = new QSpacerItem( 0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding );
00038 EditorChooserLayout->addItem( spacer );
00039 languageChange();
00040 resize( QSize(472, 187).expandedTo(minimumSizeHint()) );
00041 }
00042
00043
00044
00045
00046 EditorChooser_UI::~EditorChooser_UI()
00047 {
00048
00049 }
00050
00051
00052
00053
00054
00055 void EditorChooser_UI::languageChange()
00056 {
00057 setCaption( tr2i18n( "Editor Chooser" ) );
00058 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." ) );
00059 }
00060
00061 #include "editorchooser_ui.moc"
This file is part of the documentation for kdelibs Version 3.1.0.