KDevelop API Documentation

languages/cpp/pcsimporter/customimporter/settingsdialogbase.cpp

Go to the documentation of this file.
00001 #include <kdialog.h> 00002 #include <klocale.h> 00003 /**************************************************************************** 00004 ** Form implementation generated from reading ui file './settingsdialogbase.ui' 00005 ** 00006 ** Created: Tue Oct 19 07:53:50 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 "settingsdialogbase.h" 00013 00014 #include <qvariant.h> 00015 #include <qpushbutton.h> 00016 #include <qlabel.h> 00017 #include <qcheckbox.h> 00018 #include <qlineedit.h> 00019 #include <qlayout.h> 00020 #include <qtooltip.h> 00021 #include <qwhatsthis.h> 00022 00023 /* 00024 * Constructs a SettingsDialogBase as a child of 'parent', with the 00025 * name 'name' and widget flags set to 'f'. 00026 */ 00027 SettingsDialogBase::SettingsDialogBase( QWidget* parent, const char* name, WFlags fl ) 00028 : QWidget( parent, name, fl ) 00029 { 00030 if ( !name ) 00031 setName( "SettingsDialogBase" ); 00032 SettingsDialogBaseLayout = new QGridLayout( this, 1, 1, 11, 6, "SettingsDialogBaseLayout"); 00033 00034 grid = new QGridLayout( 0, 1, 1, 0, 6, "grid"); 00035 00036 textLabel1_2 = new QLabel( this, "textLabel1_2" ); 00037 00038 grid->addWidget( textLabel1_2, 0, 0 ); 00039 00040 recursive_box = new QCheckBox( this, "recursive_box" ); 00041 recursive_box->setChecked( TRUE ); 00042 00043 grid->addWidget( recursive_box, 3, 0 ); 00044 00045 dbName_edit = new QLineEdit( this, "dbName_edit" ); 00046 00047 grid->addMultiCellWidget( dbName_edit, 1, 1, 0, 1 ); 00048 spacer2 = new QSpacerItem( 291, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00049 grid->addItem( spacer2, 3, 1 ); 00050 00051 SettingsDialogBaseLayout->addLayout( grid, 0, 0 ); 00052 languageChange(); 00053 resize( QSize(394, 340).expandedTo(minimumSizeHint()) ); 00054 clearWState( WState_Polished ); 00055 } 00056 00057 /* 00058 * Destroys the object and frees any allocated resources 00059 */ 00060 SettingsDialogBase::~SettingsDialogBase() 00061 { 00062 // no need to delete child widgets, Qt does it all for us 00063 } 00064 00065 /* 00066 * Sets the strings of the subwidgets using the current 00067 * language. 00068 */ 00069 void SettingsDialogBase::languageChange() 00070 { 00071 setCaption( tr2i18n( "Form1" ) ); 00072 textLabel1_2->setText( tr2i18n( "Database name:" ) ); 00073 recursive_box->setText( tr2i18n( "&Recursive" ) ); 00074 } 00075 00076 #include "settingsdialogbase.moc"
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:01:43 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003