#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './homedircfgbase.ui' ** ** Created: Вск Мар 4 15:40:42 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 "homedircfgbase.h" #include #include #include #include #include #include #include #include "editfile.h" /* * Constructs a HomeDirConfigBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ HomeDirConfigBase::HomeDirConfigBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "Form1" ); Form1Layout = new QVBoxLayout( this, 11, 6, "Form1Layout"); chkDefault = new QCheckBox( this, "chkDefault" ); Form1Layout->addWidget( chkDefault ); TextLabel1 = new QLabel( this, "TextLabel1" ); Form1Layout->addWidget( TextLabel1 ); edtPath = new EditFile( this, "edtPath" ); Form1Layout->addWidget( edtPath ); Spacer2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); Form1Layout->addItem( Spacer2 ); languageChange(); resize( QSize(213, 134).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ HomeDirConfigBase::~HomeDirConfigBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void HomeDirConfigBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); chkDefault->setProperty( "text", i18n( "Use &default path" ) ); TextLabel1->setProperty( "text", i18n( "Path for config files:" ) ); } #include "homedircfgbase.moc"