#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './plugincfgbase.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 "plugincfgbase.h" #include #include #include #include #include #include #include #include #include #include "qchildwidget.h" /* * Constructs a PluginCfgBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ PluginCfgBase::PluginCfgBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "PluginCfgBaseForm" ); PluginCfgBaseFormLayout = new QVBoxLayout( this, 11, 6, "PluginCfgBaseFormLayout"); tabWnd = new QTabWidget( this, "tabWnd" ); tab = new QWidget( tabWnd, "tab" ); tabLayout = new QVBoxLayout( tab, 11, 6, "tabLayout"); chkEnable = new QCheckBox( tab, "chkEnable" ); tabLayout->addWidget( chkEnable ); lblDescription = new QLabel( tab, "lblDescription" ); lblDescription->setProperty( "alignment", int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); tabLayout->addWidget( lblDescription ); addWnd = new QChildWidget( tab, "addWnd" ); tabLayout->addWidget( addWnd ); tabWnd->insertTab( tab, QString::fromLatin1("") ); PluginCfgBaseFormLayout->addWidget( tabWnd ); languageChange(); resize( QSize(334, 260).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ PluginCfgBase::~PluginCfgBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void PluginCfgBase::languageChange() { setProperty( "caption", i18n( "PluginCfgBaseForm" ) ); chkEnable->setProperty( "text", i18n( "Plugin &enabled" ) ); lblDescription->setProperty( "text", QString::null ); tabWnd->changeTab( tab, QString::null ); } #include "plugincfgbase.moc"