#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './sounduserbase.ui' ** ** Created: Вск Мар 4 15:41:00 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 "sounduserbase.h" #include #include #include #include #include #include #include "listview.h" /* * Constructs a SoundUserConfigBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ SoundUserConfigBase::SoundUserConfigBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "SoundUserConfig" ); SoundUserConfigLayout = new QVBoxLayout( this, 11, 6, "SoundUserConfigLayout"); chkDisable = new QCheckBox( this, "chkDisable" ); SoundUserConfigLayout->addWidget( chkDisable ); chkActive = new QCheckBox( this, "chkActive" ); SoundUserConfigLayout->addWidget( chkActive ); lstSound = new ListView( this, "lstSound" ); SoundUserConfigLayout->addWidget( lstSound ); languageChange(); resize( QSize(350, 187).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // tab order setTabOrder( chkDisable, chkActive ); } /* * Destroys the object and frees any allocated resources */ SoundUserConfigBase::~SoundUserConfigBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void SoundUserConfigBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); chkDisable->setProperty( "text", i18n( "&Disable all sounds" ) ); chkActive->setProperty( "text", i18n( "No sound if windows has &focus" ) ); } #include "sounduserbase.moc"