KDevelop API Documentation

phpconfigparserwidgetbase.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 './phpconfigparserwidgetbase.ui'
00005 **
00006 ** Created: Tue Feb 22 09:10:19 2005
00007 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.4   edited Nov 24 2003 $)
00008 **
00009 ** WARNING! All changes made in this file will be lost!
00010 ****************************************************************************/
00011 
00012 #include "phpconfigparserwidgetbase.h"
00013 
00014 #include <qvariant.h>
00015 #include <kdialog.h>
00016 #include <qpushbutton.h>
00017 #include <qgroupbox.h>
00018 #include <qcheckbox.h>
00019 #include <qlayout.h>
00020 #include <qtooltip.h>
00021 #include <qwhatsthis.h>
00022 
00023 /*
00024  *  Constructs a PHPConfigParserWidgetBase as a child of 'parent', with the
00025  *  name 'name' and widget flags set to 'f'.
00026  */
00027 PHPConfigParserWidgetBase::PHPConfigParserWidgetBase( QWidget* parent, const char* name, WFlags fl )
00028     : QWidget( parent, name, fl )
00029 {
00030     if ( !name )
00031     setName( "Form1" );
00032     Form1Layout = new QGridLayout( this, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "Form1Layout"); 
00033 
00034     GroupBox13 = new QGroupBox( this, "GroupBox13" );
00035     GroupBox13->setColumnLayout(0, Qt::Vertical );
00036     GroupBox13->layout()->setSpacing( KDialog::spacingHint() );
00037     GroupBox13->layout()->setMargin( KDialog::marginHint() );
00038     GroupBox13Layout = new QGridLayout( GroupBox13->layout() );
00039     GroupBox13Layout->setAlignment( Qt::AlignTop );
00040 
00041     codeHinting_checkbox = new QCheckBox( GroupBox13, "codeHinting_checkbox" );
00042 
00043     GroupBox13Layout->addWidget( codeHinting_checkbox, 1, 0 );
00044 
00045     codeCompletion_checkbox = new QCheckBox( GroupBox13, "codeCompletion_checkbox" );
00046 
00047     GroupBox13Layout->addWidget( codeCompletion_checkbox, 0, 0 );
00048 
00049     Form1Layout->addWidget( GroupBox13, 0, 0 );
00050 
00051     GroupBox14 = new QGroupBox( this, "GroupBox14" );
00052     GroupBox14->setColumnLayout(0, Qt::Vertical );
00053     GroupBox14->layout()->setSpacing( KDialog::spacingHint() );
00054     GroupBox14->layout()->setMargin( KDialog::marginHint() );
00055     GroupBox14Layout = new QGridLayout( GroupBox14->layout() );
00056     GroupBox14Layout->setAlignment( Qt::AlignTop );
00057 
00058     realtimeParsing_checkbox = new QCheckBox( GroupBox14, "realtimeParsing_checkbox" );
00059 
00060     GroupBox14Layout->addWidget( realtimeParsing_checkbox, 0, 0 );
00061 
00062     Form1Layout->addWidget( GroupBox14, 0, 1 );
00063     Spacer33 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
00064     Form1Layout->addItem( Spacer33, 1, 0 );
00065     Spacer34 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding );
00066     Form1Layout->addItem( Spacer34, 1, 1 );
00067     Spacer35 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
00068     Form1Layout->addItem( Spacer35, 0, 2 );
00069     languageChange();
00070     resize( QSize(435, 260).expandedTo(minimumSizeHint()) );
00071     clearWState( WState_Polished );
00072 }
00073 
00074 /*
00075  *  Destroys the object and frees any allocated resources
00076  */
00077 PHPConfigParserWidgetBase::~PHPConfigParserWidgetBase()
00078 {
00079     // no need to delete child widgets, Qt does it all for us
00080 }
00081 
00082 /*
00083  *  Sets the strings of the subwidgets using the current
00084  *  language.
00085  */
00086 void PHPConfigParserWidgetBase::languageChange()
00087 {
00088     GroupBox13->setTitle( tr2i18n( "Code Help" ) );
00089     codeHinting_checkbox->setText( tr2i18n( "Enable code &hinting" ) );
00090     codeCompletion_checkbox->setText( tr2i18n( "Enable code comp&letion" ) );
00091     GroupBox14->setTitle( tr2i18n( "Parser" ) );
00092     realtimeParsing_checkbox->setText( tr2i18n( "Enable &realtime parser" ) );
00093 }
00094 
00095 #include "phpconfigparserwidgetbase.moc"
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:33 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003