#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './searchallbase.ui' ** ** Created: Вск Мар 4 15:40:37 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 "searchallbase.h" #include #include #include #include #include #include #include #include #include "intedit.h" /* * Constructs a SearchAllBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ SearchAllBase::SearchAllBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "SearchAll" ); SearchAllLayout = new QVBoxLayout( this, 0, 6, "SearchAllLayout"); grpMail = new RadioGroup( this, "grpMail" ); grpMailLayout = new QVBoxLayout( grpMail, 11, 6, "grpMailLayout"); edtMail = new QLineEdit( grpMail, "edtMail" ); grpMailLayout->addWidget( edtMail ); SearchAllLayout->addWidget( grpMail ); grpName = new RadioGroup( this, "grpName" ); grpNameLayout = new QVBoxLayout( grpName, 11, 6, "grpNameLayout"); TextLabel5 = new QLabel( grpName, "TextLabel5" ); grpNameLayout->addWidget( TextLabel5 ); edtFirst = new QLineEdit( grpName, "edtFirst" ); grpNameLayout->addWidget( edtFirst ); TextLabel6 = new QLabel( grpName, "TextLabel6" ); grpNameLayout->addWidget( TextLabel6 ); edtLast = new QLineEdit( grpName, "edtLast" ); grpNameLayout->addWidget( edtLast ); TextLabel7 = new QLabel( grpName, "TextLabel7" ); grpNameLayout->addWidget( TextLabel7 ); edtNick = new QLineEdit( grpName, "edtNick" ); grpNameLayout->addWidget( edtNick ); SearchAllLayout->addWidget( grpName ); Spacer8 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); SearchAllLayout->addItem( Spacer8 ); languageChange(); resize( QSize(164, 361).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ SearchAllBase::~SearchAllBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void SearchAllBase::languageChange() { setProperty( "caption", i18n( "Form4" ) ); grpMail->setProperty( "title", i18n( "&E-Mail" ) ); grpName->setProperty( "title", i18n( "&Name" ) ); TextLabel5->setProperty( "text", i18n( "First:" ) ); TextLabel6->setProperty( "text", i18n( "Last:" ) ); TextLabel7->setProperty( "text", i18n( "Nick:" ) ); } #include "searchallbase.moc"