#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './aimsearchbase.ui' ** ** Created: Вск Мар 4 15:40:51 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 "aimsearchbase.h" #include #include #include #include #include #include #include #include #include #include /* * Constructs a AIMSearchBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ AIMSearchBase::AIMSearchBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "AIMSearch" ); AIMSearchLayout = new QVBoxLayout( this, 0, 6, "AIMSearchLayout"); GroupBox7 = new QGroupBox( this, "GroupBox7" ); GroupBox7->setColumnLayout(0, Qt::Vertical ); GroupBox7->layout()->setSpacing( 6 ); GroupBox7->layout()->setMargin( 11 ); GroupBox7Layout = new QGridLayout( GroupBox7->layout() ); GroupBox7Layout->setAlignment( Qt::AlignTop ); TextLabel1 = new QLabel( GroupBox7, "TextLabel1" ); TextLabel1->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox7Layout->addWidget( TextLabel1, 0, 0 ); edtFirst = new QLineEdit( GroupBox7, "edtFirst" ); GroupBox7Layout->addWidget( edtFirst, 0, 1 ); TextLabel2 = new QLabel( GroupBox7, "TextLabel2" ); TextLabel2->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox7Layout->addWidget( TextLabel2, 1, 0 ); edtLast = new QLineEdit( GroupBox7, "edtLast" ); GroupBox7Layout->addWidget( edtLast, 1, 1 ); TextLabel3 = new QLabel( GroupBox7, "TextLabel3" ); TextLabel3->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox7Layout->addWidget( TextLabel3, 2, 0 ); edtMiddle = new QLineEdit( GroupBox7, "edtMiddle" ); GroupBox7Layout->addWidget( edtMiddle, 2, 1 ); TextLabel4 = new QLabel( GroupBox7, "TextLabel4" ); TextLabel4->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox7Layout->addWidget( TextLabel4, 3, 0 ); edtMaiden = new QLineEdit( GroupBox7, "edtMaiden" ); GroupBox7Layout->addWidget( edtMaiden, 3, 1 ); TextLabel5 = new QLabel( GroupBox7, "TextLabel5" ); TextLabel5->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox7Layout->addWidget( TextLabel5, 4, 0 ); edtNick = new QLineEdit( GroupBox7, "edtNick" ); GroupBox7Layout->addWidget( edtNick, 4, 1 ); AIMSearchLayout->addWidget( GroupBox7 ); GroupBox8 = new QGroupBox( this, "GroupBox8" ); GroupBox8->setColumnLayout(0, Qt::Vertical ); GroupBox8->layout()->setSpacing( 6 ); GroupBox8->layout()->setMargin( 11 ); GroupBox8Layout = new QGridLayout( GroupBox8->layout() ); GroupBox8Layout->setAlignment( Qt::AlignTop ); TextLabel6 = new QLabel( GroupBox8, "TextLabel6" ); TextLabel6->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox8Layout->addWidget( TextLabel6, 0, 0 ); cmbCountry = new QComboBox( FALSE, GroupBox8, "cmbCountry" ); GroupBox8Layout->addWidget( cmbCountry, 0, 1 ); TextLabel7 = new QLabel( GroupBox8, "TextLabel7" ); TextLabel7->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox8Layout->addWidget( TextLabel7, 1, 0 ); edtState = new QLineEdit( GroupBox8, "edtState" ); GroupBox8Layout->addWidget( edtState, 1, 1 ); TextLabel8 = new QLabel( GroupBox8, "TextLabel8" ); TextLabel8->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox8Layout->addWidget( TextLabel8, 2, 0 ); edtCity = new QLineEdit( GroupBox8, "edtCity" ); GroupBox8Layout->addWidget( edtCity, 2, 1 ); TextLabel9 = new QLabel( GroupBox8, "TextLabel9" ); TextLabel9->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox8Layout->addWidget( TextLabel9, 3, 0 ); edtZip = new QLineEdit( GroupBox8, "edtZip" ); GroupBox8Layout->addWidget( edtZip, 3, 1 ); TextLabel10 = new QLabel( GroupBox8, "TextLabel10" ); TextLabel10->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox8Layout->addWidget( TextLabel10, 4, 0 ); edtStreet = new QLineEdit( GroupBox8, "edtStreet" ); GroupBox8Layout->addWidget( edtStreet, 4, 1 ); AIMSearchLayout->addWidget( GroupBox8 ); Spacer7 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); AIMSearchLayout->addItem( Spacer7 ); languageChange(); resize( QSize(477, 370).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ AIMSearchBase::~AIMSearchBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void AIMSearchBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); GroupBox7->setProperty( "title", i18n( "Names" ) ); TextLabel1->setProperty( "text", i18n( "First:" ) ); TextLabel2->setProperty( "text", i18n( "Last:" ) ); TextLabel3->setProperty( "text", i18n( "Middle:" ) ); TextLabel4->setProperty( "text", i18n( "Maiden:" ) ); TextLabel5->setProperty( "text", i18n( "Nick:" ) ); GroupBox8->setProperty( "title", i18n( "Location" ) ); TextLabel6->setProperty( "text", i18n( "Country:" ) ); TextLabel7->setProperty( "text", i18n( "State:" ) ); TextLabel8->setProperty( "text", i18n( "City:" ) ); TextLabel9->setProperty( "text", i18n( "Zip:" ) ); TextLabel10->setProperty( "text", i18n( "Street:" ) ); } #include "aimsearchbase.moc"