languages/php/phpconfigparserwidgetbase.cpp
Go to the documentation of this file.00001
#include <kdialog.h>
00002
#include <klocale.h>
00003
00004
00005
00006
00007
00008
00009
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
00025
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
00076
00077 PHPConfigParserWidgetBase::~PHPConfigParserWidgetBase()
00078 {
00079
00080 }
00081
00082
00083
00084
00085
00086 void PHPConfigParserWidgetBase::languageChange()
00087 {
00088 setCaption( tr2i18n(
"Form1" ) );
00089
GroupBox13->setTitle( tr2i18n(
"Code Help" ) );
00090
codeHinting_checkbox->setText( tr2i18n(
"Enable code &hinting" ) );
00091
codeCompletion_checkbox->setText( tr2i18n(
"Enable code comp&letion" ) );
00092
GroupBox14->setTitle( tr2i18n(
"Parser" ) );
00093
realtimeParsing_checkbox->setText( tr2i18n(
"Enable &realtime parser" ) );
00094 }
00095
00096
#include "phpconfigparserwidgetbase.moc"
This file is part of the documentation for KDevelop Version 3.0.4.