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 <kdialog.h>
00015 #include <qpushbutton.h>
00016 #include <qlabel.h>
00017 #include <qcombobox.h>
00018 #include <qlayout.h>
00019 #include <qtooltip.h>
00020 #include <qwhatsthis.h>
00021 
00022 
00023 
00024 
00025 
00026 EditorChooser_UI::EditorChooser_UI( QWidget* parent, const char* name, WFlags fl )
00027     : QWidget( parent, name, fl )
00028 {
00029     if ( !name )
00030     setName( "EditorChooser" );
00031     EditorChooserLayout = new QVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint(), "EditorChooserLayout"); 
00032 
00033     layout4 = new QVBoxLayout( 0, 0, KDialog::spacingHint(), "layout4"); 
00034 
00035     TextLabel1 = new QLabel( this, "TextLabel1" );
00036     TextLabel1->setMinimumSize( QSize( 460, 0 ) );
00037     TextLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
00038     layout4->addWidget( TextLabel1 );
00039 
00040     editorCombo = new QComboBox( FALSE, this, "editorCombo" );
00041     layout4->addWidget( editorCombo );
00042     EditorChooserLayout->addLayout( layout4 );
00043     languageChange();
00044     resize( QSize(482, 141).expandedTo(minimumSizeHint()) );
00045     clearWState( WState_Polished );
00046 
00047     
00048 }
00049 
00050 
00051 
00052 
00053 EditorChooser_UI::~EditorChooser_UI()
00054 {
00055     
00056 }
00057 
00058 
00059 
00060 
00061 
00062 void EditorChooser_UI::languageChange()
00063 {
00064     setCaption( tr2i18n( "Editor Chooser" ) );
00065     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." ) );
00066 }
00067 
00068 #include "editorchooser_ui.moc"
 
This file is part of the documentation for interfaces Library Version 3.2.0.