#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './gpgadvbase.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 "gpgadvbase.h" #include #include #include #include #include #include #include #include /* * Constructs a GpgAdvancedBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ GpgAdvancedBase::GpgAdvancedBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "GpgAdvanced" ); GpgAdvancedLayout = new QVBoxLayout( this, 11, 6, "GpgAdvancedLayout"); GroupBox1 = new QGroupBox( this, "GroupBox1" ); GroupBox1->setColumnLayout(0, Qt::Vertical ); GroupBox1->layout()->setSpacing( 6 ); GroupBox1->layout()->setMargin( 11 ); GroupBox1Layout = new QGridLayout( GroupBox1->layout() ); GroupBox1Layout->setAlignment( Qt::AlignTop ); TextLabel7 = new QLabel( GroupBox1, "TextLabel7" ); TextLabel7->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox1Layout->addWidget( TextLabel7, 0, 0 ); TextLabel8 = new QLabel( GroupBox1, "TextLabel8" ); TextLabel8->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox1Layout->addWidget( TextLabel8, 1, 0 ); TextLabel9 = new QLabel( GroupBox1, "TextLabel9" ); TextLabel9->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox1Layout->addWidget( TextLabel9, 2, 0 ); edtGenKey = new QLineEdit( GroupBox1, "edtGenKey" ); GroupBox1Layout->addWidget( edtGenKey, 0, 1 ); edtPublic = new QLineEdit( GroupBox1, "edtPublic" ); GroupBox1Layout->addWidget( edtPublic, 1, 1 ); edtSecret = new QLineEdit( GroupBox1, "edtSecret" ); GroupBox1Layout->addWidget( edtSecret, 2, 1 ); TextLabel10 = new QLabel( GroupBox1, "TextLabel10" ); TextLabel10->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox1Layout->addWidget( TextLabel10, 3, 0 ); edtImport = new QLineEdit( GroupBox1, "edtImport" ); GroupBox1Layout->addWidget( edtImport, 3, 1 ); TextLabel11 = new QLabel( GroupBox1, "TextLabel11" ); TextLabel11->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox1Layout->addWidget( TextLabel11, 4, 0 ); edtExport = new QLineEdit( GroupBox1, "edtExport" ); GroupBox1Layout->addWidget( edtExport, 4, 1 ); TextLabel13 = new QLabel( GroupBox1, "TextLabel13" ); TextLabel13->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox1Layout->addWidget( TextLabel13, 6, 0 ); edtEncrypt = new QLineEdit( GroupBox1, "edtEncrypt" ); GroupBox1Layout->addWidget( edtEncrypt, 6, 1 ); TextLabel14 = new QLabel( GroupBox1, "TextLabel14" ); TextLabel14->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignRight ) ); GroupBox1Layout->addWidget( TextLabel14, 7, 0 ); edtDecrypt = new QLineEdit( GroupBox1, "edtDecrypt" ); GroupBox1Layout->addWidget( edtDecrypt, 7, 1 ); GpgAdvancedLayout->addWidget( GroupBox1 ); Spacer10 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); GpgAdvancedLayout->addItem( Spacer10 ); languageChange(); resize( QSize(499, 268).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ GpgAdvancedBase::~GpgAdvancedBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void GpgAdvancedBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); GroupBox1->setProperty( "title", i18n( "Command arguments" ) ); TextLabel7->setProperty( "text", i18n( "Generate key:" ) ); TextLabel8->setProperty( "text", i18n( "List public keys:" ) ); TextLabel9->setProperty( "text", i18n( "List secret keys:" ) ); TextLabel10->setProperty( "text", i18n( "Import public:" ) ); TextLabel11->setProperty( "text", i18n( "Export public:" ) ); TextLabel13->setProperty( "text", i18n( "Encrypt:" ) ); TextLabel14->setProperty( "text", i18n( "Decrypt:" ) ); } #include "gpgadvbase.moc"