occurestagsdlg.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 "occurestagsdlg.h"
00013
00014 #include <qvariant.h>
00015 #include <qpushbutton.h>
00016 #include <qlistbox.h>
00017 #include <qlayout.h>
00018 #include <qtooltip.h>
00019 #include <qwhatsthis.h>
00020
00021
00022
00023
00024
00025
00026
00027
00028 OccuresTagsDlg::OccuresTagsDlg( QWidget* parent, const char* name, bool modal, WFlags fl )
00029 : QDialog( parent, name, modal, fl )
00030 {
00031 if ( !name )
00032 setName( "OccuresTagsDlg" );
00033 OccuresTagsDlgLayout = new QGridLayout( this, 1, 1, 11, 6, "OccuresTagsDlgLayout");
00034
00035 layout1 = new QGridLayout( 0, 1, 1, 0, 6, "layout1");
00036
00037 mCancelBtn = new QPushButton( this, "mCancelBtn" );
00038
00039 layout1->addWidget( mCancelBtn, 1, 1 );
00040 spacer1 = new QSpacerItem( 166, 10, QSizePolicy::Expanding, QSizePolicy::Minimum );
00041 layout1->addItem( spacer1, 1, 0 );
00042
00043 mOcurresList = new QListBox( this, "mOcurresList" );
00044
00045 layout1->addMultiCellWidget( mOcurresList, 0, 0, 0, 1 );
00046
00047 OccuresTagsDlgLayout->addLayout( layout1, 0, 0 );
00048 languageChange();
00049 resize( QSize(630, 300).expandedTo(minimumSizeHint()) );
00050 clearWState( WState_Polished );
00051
00052
00053 connect( mCancelBtn, SIGNAL( clicked() ), this, SLOT( close() ) );
00054
00055
00056 setTabOrder( mOcurresList, mCancelBtn );
00057 }
00058
00059
00060
00061
00062 OccuresTagsDlg::~OccuresTagsDlg()
00063 {
00064
00065 }
00066
00067
00068
00069
00070
00071 void OccuresTagsDlg::languageChange()
00072 {
00073 setCaption( tr2i18n( "Found Tags in Following Files" ) );
00074 mCancelBtn->setText( tr2i18n( "&Cancel" ) );
00075 }
00076
00077 #include "occurestagsdlg.moc"
This file is part of the documentation for KDevelop Version 3.1.2.