interfaces Library API Documentation

editorchooser_ui.cpp

00001 #include <kdialog.h> 00002 #include <klocale.h> 00003 /**************************************************************************** 00004 ** Form implementation generated from reading ui file './editorchooser_ui.ui' 00005 ** 00006 ** Created: Fri Oct 8 11:00:55 2004 00007 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $) 00008 ** 00009 ** WARNING! All changes made in this file will be lost! 00010 ****************************************************************************/ 00011 00012 #include "editorchooser_ui.h" 00013 00014 #include <qvariant.h> 00015 #include <kdialog.h> 00016 #include <qpushbutton.h> 00017 #include <qlabel.h> 00018 #include <qcombobox.h> 00019 #include <qlayout.h> 00020 #include <qtooltip.h> 00021 #include <qwhatsthis.h> 00022 00023 /* 00024 * Constructs a EditorChooser_UI as a child of 'parent', with the 00025 * name 'name' and widget flags set to 'f'. 00026 */ 00027 EditorChooser_UI::EditorChooser_UI( QWidget* parent, const char* name, WFlags fl ) 00028 : QWidget( parent, name, fl ) 00029 { 00030 if ( !name ) 00031 setName( "EditorChooser" ); 00032 EditorChooserLayout = new QVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint(), "EditorChooserLayout"); 00033 00034 layout4 = new QVBoxLayout( 0, 0, KDialog::spacingHint(), "layout4"); 00035 00036 TextLabel1 = new QLabel( this, "TextLabel1" ); 00037 TextLabel1->setMinimumSize( QSize( 460, 0 ) ); 00038 TextLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); 00039 layout4->addWidget( TextLabel1 ); 00040 00041 editorCombo = new QComboBox( FALSE, this, "editorCombo" ); 00042 layout4->addWidget( editorCombo ); 00043 EditorChooserLayout->addLayout( layout4 ); 00044 languageChange(); 00045 resize( QSize(482, 141).expandedTo(minimumSizeHint()) ); 00046 clearWState( WState_Polished ); 00047 00048 // tab order 00049 } 00050 00051 /* 00052 * Destroys the object and frees any allocated resources 00053 */ 00054 EditorChooser_UI::~EditorChooser_UI() 00055 { 00056 // no need to delete child widgets, Qt does it all for us 00057 } 00058 00059 /* 00060 * Sets the strings of the subwidgets using the current 00061 * language. 00062 */ 00063 void EditorChooser_UI::languageChange() 00064 { 00065 setCaption( tr2i18n( "Editor Chooser" ) ); 00066 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." ) ); 00067 } 00068 00069 #include "editorchooser_ui.moc"
KDE Logo
This file is part of the documentation for interfaces Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 8 11:15:30 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003