Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

importfront.cpp

Go to the documentation of this file.
00001 #include <klocale.h>
00002 /****************************************************************************
00003 ** Form implementation generated from reading ui file './importfront.ui'
00004 **
00005 ** Created: Sa Mär 27 13:05:48 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 "importfront.h"
00012 
00013 #include <qvariant.h>
00014 #include <qfiledialog.h>
00015 #include <qpushbutton.h>
00016 #include <qbuttongroup.h>
00017 #include <qradiobutton.h>
00018 #include <qlayout.h>
00019 #include <qtooltip.h>
00020 #include <qwhatsthis.h>
00021 #include <qimage.h>
00022 #include <qpixmap.h>
00023 
00024 #include "./importfront.ui.h"
00025 /*
00026  *  Constructs a ImportFront as a child of 'parent', with the
00027  *  name 'name' and widget flags set to 'f'.
00028  */
00029 ImportFront::ImportFront( QWidget* parent, const char* name, WFlags fl )
00030     : QWidget( parent, name, fl )
00031 {
00032     if ( !name )
00033         setName( "ImportFront" );
00034     ImportFrontLayout = new QVBoxLayout( this, 11, 6, "ImportFrontLayout"); 
00035 
00036     layout3 = new QVBoxLayout( 0, 0, 6, "layout3"); 
00037     QSpacerItem* spacer = new QSpacerItem( 20, 211, QSizePolicy::Minimum, QSizePolicy::Expanding );
00038     layout3->addItem( spacer );
00039 
00040     buttonGroup1 = new QButtonGroup( this, "buttonGroup1" );
00041 
00042     z3950 = new QRadioButton( buttonGroup1, "z3950" );
00043     z3950->setGeometry( QRect( 20, 80, 96, 20 ) );
00044 
00045     bibtex = new QRadioButton( buttonGroup1, "bibtex" );
00046     bibtex->setGeometry( QRect( 20, 20, 96, 20 ) );
00047 
00048     jstor = new QRadioButton( buttonGroup1, "jstor" );
00049     jstor->setGeometry( QRect( 20, 50, 96, 20 ) );
00050     layout3->addWidget( buttonGroup1 );
00051     QSpacerItem* spacer_2 = new QSpacerItem( 21, 283, QSizePolicy::Minimum, QSizePolicy::Expanding );
00052     layout3->addItem( spacer_2 );
00053     ImportFrontLayout->addLayout( layout3 );
00054     languageChange();
00055     resize( QSize(754, 658).expandedTo(minimumSizeHint()) );
00056     clearWState( WState_Polished );
00057 }
00058 
00059 /*
00060  *  Destroys the object and frees any allocated resources
00061  */
00062 ImportFront::~ImportFront()
00063 {
00064     // no need to delete child widgets, Qt does it all for us
00065 }
00066 
00067 /*
00068  *  Sets the strings of the subwidgets using the current
00069  *  language.
00070  */
00071 void ImportFront::languageChange()
00072 {
00073     setCaption( tr2i18n( "Form1" ) );
00074     buttonGroup1->setTitle( tr2i18n( "Format" ) );
00075     z3950->setText( tr2i18n( "Z3950" ) );
00076     bibtex->setText( tr2i18n( "BibTex" ) );
00077     jstor->setText( tr2i18n( "JStor" ) );
00078 }
00079 
00080 #include "importfront.moc"

Generated on Sat Mar 27 19:20:39 2004 for Literature by doxygen 1.3.6-20040222