#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './journalsearchbase.ui' ** ** Created: Вск Мар 4 15:40:56 2007 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.7 edited Aug 31 2005 $) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "journalsearchbase.h" #include #include #include #include #include #include #include #include /* * Constructs a JournalSearchBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ JournalSearchBase::JournalSearchBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "Form1" ); Form1Layout = new QVBoxLayout( this, 0, 6, "Form1Layout"); grpCommunity = new QGroupBox( this, "grpCommunity" ); grpCommunity->setColumnLayout(0, Qt::Vertical ); grpCommunity->layout()->setSpacing( 6 ); grpCommunity->layout()->setMargin( 11 ); grpCommunityLayout = new QVBoxLayout( grpCommunity->layout() ); grpCommunityLayout->setAlignment( Qt::AlignTop ); edtCommunity = new QLineEdit( grpCommunity, "edtCommunity" ); grpCommunityLayout->addWidget( edtCommunity ); Form1Layout->addWidget( grpCommunity ); Spacer3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); Form1Layout->addItem( Spacer3 ); languageChange(); resize( QSize(212, 355).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ JournalSearchBase::~JournalSearchBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void JournalSearchBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); grpCommunity->setProperty( "title", i18n( "Add community" ) ); } #include "journalsearchbase.moc"