00001 #include <klocale.h> 00002 /**************************************************************************** 00003 ** Form implementation generated from reading ui file './noteoverviewform.ui' 00004 ** 00005 ** Created: Sa Mär 27 00:54:10 2004 00006 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.2.3 edited May 19 14:22 $) 00007 ** 00008 ** WARNING! All changes made in this file will be lost! 00009 ****************************************************************************/ 00010 00011 #include "noteoverviewform.h" 00012 00013 #include <qvariant.h> 00014 #include <qsqlquery.h> 00015 #include <qapplication.h> 00016 #include <qlayout.h> 00017 #include <qtooltip.h> 00018 #include <qwhatsthis.h> 00019 #include <qimage.h> 00020 #include <qpixmap.h> 00021 00022 #include "notetreeitem.h" 00023 #include "global.h" 00024 #include "liturl.h" 00025 #include "urlevent.h" 00026 #include "dragnoteslistview.h" 00027 #include "./noteoverviewform.ui.h" 00028 /* 00029 * Constructs a NoteOverviewForm as a child of 'parent', with the 00030 * name 'name' and widget flags set to 'f'. 00031 */ 00032 NoteOverviewForm::NoteOverviewForm( QWidget* parent, const char* name, WFlags fl ) 00033 : QWidget( parent, name, fl ) 00034 { 00035 if ( !name ) 00036 setName( "NoteOverviewForm" ); 00037 setAcceptDrops( TRUE ); 00038 NoteOverviewFormLayout = new QHBoxLayout( this, 11, 6, "NoteOverviewFormLayout"); 00039 00040 notesview = new DragNotesListView( this, "notesview" ); 00041 NoteOverviewFormLayout->addWidget( notesview ); 00042 languageChange(); 00043 resize( QSize(745, 508).expandedTo(minimumSizeHint()) ); 00044 clearWState( WState_Polished ); 00045 init(); 00046 } 00047 00048 /* 00049 * Destroys the object and frees any allocated resources 00050 */ 00051 NoteOverviewForm::~NoteOverviewForm() 00052 { 00053 // no need to delete child widgets, Qt does it all for us 00054 } 00055 00056 /* 00057 * Sets the strings of the subwidgets using the current 00058 * language. 00059 */ 00060 void NoteOverviewForm::languageChange() 00061 { 00062 setCaption( tr2i18n( "ReadOnlyFormBaseForm" ) ); 00063 } 00064 00065 #include "noteoverviewform.moc"