languages/cpp/pcsimporter/customimporter/settingsdialogbase.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 "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
00025
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
00059
00060 SettingsDialogBase::~SettingsDialogBase()
00061 {
00062
00063 }
00064
00065
00066
00067
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"
This file is part of the documentation for KDevelop Version 3.0.4.