#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './iconcfgbase.ui' ** ** Created: Вск Мар 4 15:40:46 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 "iconcfgbase.h" #include #include #include #include #include #include #include /* * Constructs a IconCfgBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ IconCfgBase::IconCfgBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "Form1" ); Form1Layout = new QGridLayout( this, 1, 1, 11, 6, "Form1Layout"); btnUp = new QPushButton( this, "btnUp" ); btnUp->setAutoDefault( TRUE ); Form1Layout->addWidget( btnUp, 0, 1 ); btnDown = new QPushButton( this, "btnDown" ); Form1Layout->addWidget( btnDown, 1, 1 ); btnRemove = new QPushButton( this, "btnRemove" ); Form1Layout->addWidget( btnRemove, 3, 1 ); btnAdd = new QPushButton( this, "btnAdd" ); Form1Layout->addWidget( btnAdd, 2, 1 ); Spacer5 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); Form1Layout->addItem( Spacer5, 4, 1 ); lstIcon = new QListBox( this, "lstIcon" ); Form1Layout->addMultiCellWidget( lstIcon, 0, 4, 0, 0 ); languageChange(); resize( QSize(382, 262).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ IconCfgBase::~IconCfgBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void IconCfgBase::languageChange() { setCaption( i18n( "Form1" ) ); btnUp->setText( i18n( "&Up" ) ); btnDown->setText( i18n( "&Down" ) ); btnRemove->setText( i18n( "&Remove" ) ); btnAdd->setText( i18n( "&New" ) ); } #include "iconcfgbase.moc"