#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './gpguserbase.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 "gpguserbase.h" #include #include #include #include #include #include #include #include /* * Constructs a GpgUserBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ GpgUserBase::GpgUserBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "GpgUser" ); GpgUserLayout = new QGridLayout( this, 1, 1, 11, 6, "GpgUserLayout"); TextLabel1 = new QLabel( this, "TextLabel1" ); TextLabel1->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GpgUserLayout->addWidget( TextLabel1, 0, 0 ); cmbPublic = new QComboBox( FALSE, this, "cmbPublic" ); cmbPublic->setProperty( "sizePolicy", QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, cmbPublic->sizePolicy().hasHeightForWidth() ) ); GpgUserLayout->addWidget( cmbPublic, 0, 1 ); btnRefresh = new QPushButton( this, "btnRefresh" ); GpgUserLayout->addWidget( btnRefresh, 0, 2 ); Spacer3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); GpgUserLayout->addItem( Spacer3, 1, 0 ); languageChange(); resize( QSize(452, 159).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ GpgUserBase::~GpgUserBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void GpgUserBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); TextLabel1->setProperty( "text", i18n( "Key:" ) ); btnRefresh->setProperty( "text", i18n( "&Refresh" ) ); } #include "gpguserbase.moc"