#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './jidadvsearchbase.ui' ** ** Created: Вск Мар 4 15:40:55 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 "jidadvsearchbase.h" #include #include #include #include #include #include #include /* * Constructs a JIDAdvSearchBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ JIDAdvSearchBase::JIDAdvSearchBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "JIDAdvSearch" ); JIDAdvSearchLayout = new QVBoxLayout( this, 11, 6, "JIDAdvSearchLayout"); lblTitle = new QLabel( this, "lblTitle" ); lblTitle->setProperty( "alignment", int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); JIDAdvSearchLayout->addWidget( lblTitle ); grpSearch = new QGroupBox( this, "grpSearch" ); JIDAdvSearchLayout->addWidget( grpSearch ); Spacer2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); JIDAdvSearchLayout->addItem( Spacer2 ); lblInstruction = new QLabel( this, "lblInstruction" ); lblInstruction->setProperty( "alignment", int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); JIDAdvSearchLayout->addWidget( lblInstruction ); languageChange(); resize( QSize(415, 331).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ JIDAdvSearchBase::~JIDAdvSearchBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void JIDAdvSearchBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); lblTitle->setProperty( "text", QString::null ); grpSearch->setProperty( "title", QString::null ); lblInstruction->setProperty( "text", QString::null ); } #include "jidadvsearchbase.moc"