#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './jabberhomeinfobase.ui' ** ** Created: Вск Мар 4 15:40:53 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 "jabberhomeinfobase.h" #include #include #include #include #include #include #include #include /* * Constructs a JabberHomeInfoBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ JabberHomeInfoBase::JabberHomeInfoBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "LocationInfo" ); LocationInfoLayout = new QGridLayout( this, 1, 1, 11, 6, "LocationInfoLayout"); edtZip = new QLineEdit( this, "edtZip" ); LocationInfoLayout->addWidget( edtZip, 4, 1 ); edtState = new QLineEdit( this, "edtState" ); LocationInfoLayout->addWidget( edtState, 3, 1 ); edtCountry = new QLineEdit( this, "edtCountry" ); LocationInfoLayout->addWidget( edtCountry, 5, 1 ); edtCity = new QLineEdit( this, "edtCity" ); LocationInfoLayout->addWidget( edtCity, 2, 1 ); TextLabel12 = new QLabel( this, "TextLabel12" ); TextLabel12->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); LocationInfoLayout->addWidget( TextLabel12, 2, 0 ); TextLabel14 = new QLabel( this, "TextLabel14" ); TextLabel14->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); LocationInfoLayout->addWidget( TextLabel14, 4, 0 ); TextLabel15 = new QLabel( this, "TextLabel15" ); TextLabel15->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); LocationInfoLayout->addWidget( TextLabel15, 5, 0 ); TextLabel13 = new QLabel( this, "TextLabel13" ); TextLabel13->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); LocationInfoLayout->addWidget( TextLabel13, 3, 0 ); TextLabel11 = new QLabel( this, "TextLabel11" ); TextLabel11->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); LocationInfoLayout->addWidget( TextLabel11, 0, 0 ); edtExt = new QMultiLineEdit( this, "edtExt" ); LocationInfoLayout->addWidget( edtExt, 1, 1 ); edtStreet = new QMultiLineEdit( this, "edtStreet" ); LocationInfoLayout->addWidget( edtStreet, 0, 1 ); Spacer2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); LocationInfoLayout->addItem( Spacer2, 6, 1 ); languageChange(); resize( QSize(409, 283).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // tab order } /* * Destroys the object and frees any allocated resources */ JabberHomeInfoBase::~JabberHomeInfoBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void JabberHomeInfoBase::languageChange() { setProperty( "caption", i18n( "Form2" ) ); TextLabel12->setProperty( "text", i18n( "City:" ) ); TextLabel14->setProperty( "text", i18n( "Zip code:" ) ); TextLabel15->setProperty( "text", i18n( "Country:" ) ); TextLabel13->setProperty( "text", i18n( "State:" ) ); TextLabel11->setProperty( "text", i18n( "Address:" ) ); } #include "jabberhomeinfobase.moc"