#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './actioncfgbase.ui' ** ** Created: Вск Мар 4 15:40:43 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 "actioncfgbase.h" #include #include #include #include #include #include #include "listview.h" /* * Constructs a ActionConfigBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ ActionConfigBase::ActionConfigBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "ActionUserConfig" ); ActionUserConfigLayout = new QGridLayout( this, 1, 1, 11, 6, "ActionUserConfigLayout"); lstEvent = new ListView( this, "lstEvent" ); ActionUserConfigLayout->addMultiCellWidget( lstEvent, 0, 0, 0, 1 ); Spacer1 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); ActionUserConfigLayout->addItem( Spacer1, 1, 1 ); btnHelp = new QPushButton( this, "btnHelp" ); btnHelp->setProperty( "accel", QKeySequence( 4144 ) ); ActionUserConfigLayout->addWidget( btnHelp, 1, 0 ); languageChange(); resize( QSize(342, 246).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ ActionConfigBase::~ActionConfigBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void ActionConfigBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); btnHelp->setProperty( "text", i18n( "&Help" ) ); } #include "actioncfgbase.moc"