00001 #include <klocale.h>
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #include "overviewform.h"
00012
00013 #include <qvariant.h>
00014 #include <qsettings.h>
00015 #include <qpixmap.h>
00016 #include <qpushbutton.h>
00017 #include <qlabel.h>
00018 #include <qlineedit.h>
00019 #include <qlayout.h>
00020 #include <qtooltip.h>
00021 #include <qwhatsthis.h>
00022 #include <qimage.h>
00023 #include <qpixmap.h>
00024
00025 #include "linklistbox.h"
00026 #include "./overviewform.ui.h"
00027
00028
00029
00030
00031 OverviewForm::OverviewForm( QWidget* parent, const char* name, WFlags fl )
00032 : QWidget( parent, name, fl )
00033 {
00034 if ( !name )
00035 setName( "OverviewForm" );
00036 OverviewFormLayout = new QHBoxLayout( this, 11, 6, "OverviewFormLayout");
00037
00038 layout8 = new QVBoxLayout( 0, 0, 6, "layout8");
00039
00040 title = new QLabel( this, "title" );
00041 title->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)0, 0, 0, title->sizePolicy().hasHeightForWidth() ) );
00042 layout8->addWidget( title );
00043
00044 layout7 = new QHBoxLayout( 0, 0, 6, "layout7");
00045
00046 textLabel1 = new QLabel( this, "textLabel1" );
00047 layout7->addWidget( textLabel1 );
00048
00049 search = new QLineEdit( this, "search" );
00050 layout7->addWidget( search );
00051 layout8->addLayout( layout7 );
00052
00053 linklistbox = new LinkListBox( this, "linklistbox" );
00054 linklistbox->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, linklistbox->sizePolicy().hasHeightForWidth() ) );
00055 layout8->addWidget( linklistbox );
00056 OverviewFormLayout->addLayout( layout8 );
00057 languageChange();
00058 resize( QSize(745, 505).expandedTo(minimumSizeHint()) );
00059 clearWState( WState_Polished );
00060
00061
00062 connect( search, SIGNAL( textChanged(const QString&) ), this, SLOT( incrementalSearch(const QString&) ) );
00063 init();
00064 }
00065
00066
00067
00068
00069 OverviewForm::~OverviewForm()
00070 {
00071
00072 }
00073
00074
00075
00076
00077
00078 void OverviewForm::languageChange()
00079 {
00080 setCaption( tr2i18n( "Form2" ) );
00081 title->setText( tr2i18n( "Title" ) );
00082 textLabel1->setText( tr2i18n( "Search " ) );
00083 }
00084
00085 #include "overviewform.moc"