#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './logconfigbase.ui' ** ** Created: Вск Мар 4 15:40:56 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 "logconfigbase.h" #include #include #include #include #include #include #include "editfile.h" #include "listview.h" /* * Constructs a LogConfigBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ LogConfigBase::LogConfigBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "Form1" ); Form1Layout = new QVBoxLayout( this, 11, 6, "Form1Layout"); Layout1 = new QHBoxLayout( 0, 0, 6, "Layout1"); TextLabel1_2 = new QLabel( this, "TextLabel1_2" ); Layout1->addWidget( TextLabel1_2 ); edtFile = new EditFile( this, "edtFile" ); edtFile->setProperty( "sizePolicy", QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, edtFile->sizePolicy().hasHeightForWidth() ) ); Layout1->addWidget( edtFile ); Form1Layout->addLayout( Layout1 ); TextLabel1 = new QLabel( this, "TextLabel1" ); Form1Layout->addWidget( TextLabel1 ); lstLevel = new ListView( this, "lstLevel" ); Form1Layout->addWidget( lstLevel ); languageChange(); resize( QSize(315, 270).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ LogConfigBase::~LogConfigBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void LogConfigBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); TextLabel1_2->setProperty( "text", i18n( "File:" ) ); TextLabel1->setProperty( "text", i18n( "Log level:" ) ); } #include "logconfigbase.moc"