#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './prefcfgbase.ui' ** ** Created: Вск Мар 4 15:40:34 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 "prefcfgbase.h" #include #include #include #include #include #include #include #include #include "qchildwidget.h" /* * Constructs a PrefConfigBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ PrefConfigBase::PrefConfigBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "PrefConfigBaseForm" ); PrefConfigBaseFormLayout = new QVBoxLayout( this, 11, 6, "PrefConfigBaseFormLayout"); tabWnd = new QTabWidget( this, "tabWnd" ); tab = new QWidget( tabWnd, "tab" ); tabLayout = new QVBoxLayout( tab, 11, 6, "tabLayout"); chkOverride = new QCheckBox( tab, "chkOverride" ); tabLayout->addWidget( chkOverride ); addWnd = new QChildWidget( tab, "addWnd" ); tabLayout->addWidget( addWnd ); tabWnd->insertTab( tab, QString::fromLatin1("") ); PrefConfigBaseFormLayout->addWidget( tabWnd ); languageChange(); resize( QSize(354, 266).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ PrefConfigBase::~PrefConfigBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void PrefConfigBase::languageChange() { setProperty( "caption", i18n( "PrefConfigBaseForm" ) ); chkOverride->setProperty( "text", i18n( "&Override global settings" ) ); tabWnd->changeTab( tab, QString::null ); } #include "prefcfgbase.moc"