#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './wifacecfgbase.ui' ** ** Created: Вск Мар 4 15:41:02 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 "wifacecfgbase.h" #include #include #include #include #include #include #include #include "editfile.h" /* * Constructs a WIfaceCfgBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ WIfaceCfgBase::WIfaceCfgBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "WIfaceCfg" ); WIfaceCfgLayout = new QVBoxLayout( this, 11, 6, "WIfaceCfgLayout"); Layout7 = new QHBoxLayout( 0, 0, 6, "Layout7"); TextLabel2 = new QLabel( this, "TextLabel2" ); Layout7->addWidget( TextLabel2 ); edtText = new LineEdit( this, "edtText" ); Layout7->addWidget( edtText ); WIfaceCfgLayout->addLayout( Layout7 ); TextLabel3 = new QLabel( this, "TextLabel3" ); WIfaceCfgLayout->addWidget( TextLabel3 ); edtTip = new MultiLineEdit( this, "edtTip" ); WIfaceCfgLayout->addWidget( edtTip ); TextLabel3_2 = new QLabel( this, "TextLabel3_2" ); WIfaceCfgLayout->addWidget( TextLabel3_2 ); edtForecastTip = new MultiLineEdit( this, "edtForecastTip" ); WIfaceCfgLayout->addWidget( edtForecastTip ); Layout8 = new QHBoxLayout( 0, 0, 6, "Layout8"); btnHelp = new QPushButton( this, "btnHelp" ); Layout8->addWidget( btnHelp ); Spacer6 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); Layout8->addItem( Spacer6 ); WIfaceCfgLayout->addLayout( Layout8 ); languageChange(); resize( QSize(371, 236).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ WIfaceCfgBase::~WIfaceCfgBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void WIfaceCfgBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); TextLabel2->setProperty( "text", i18n( "Button text:" ) ); TextLabel3->setProperty( "text", i18n( "Button tip:" ) ); TextLabel3_2->setProperty( "text", i18n( "Forecast tip:" ) ); btnHelp->setProperty( "text", i18n( "&Help" ) ); } #include "wifacecfgbase.moc"