############################################################################### # ############################################################################### ################################################################################# ## Form generated from reading UI file 'sslclient.ui' ## ## Created: Wed Dec 3 23:12:51 2014 ## by: Qt User Interface Compiler version 4.8.6 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ package Ui_Form; use strict; use warnings; use QtCore4; use QtGui4; sub vboxLayout { return shift->{vboxLayout}; } sub gridLayout { return shift->{gridLayout}; } sub hostNameLabel { return shift->{hostNameLabel}; } sub hostNameEdit { return shift->{hostNameEdit}; } sub portLabel { return shift->{portLabel}; } sub portBox { return shift->{portBox}; } sub connectButton { return shift->{connectButton}; } sub sessionBox { return shift->{sessionBox}; } sub vboxLayout1 { return shift->{vboxLayout1}; } sub hboxLayout { return shift->{hboxLayout}; } sub cipherText { return shift->{cipherText}; } sub cipherLabel { return shift->{cipherLabel}; } sub sessionOutput { return shift->{sessionOutput}; } sub hboxLayout1 { return shift->{hboxLayout1}; } sub sessionInputLabel { return shift->{sessionInputLabel}; } sub sessionInput { return shift->{sessionInput}; } sub sendButton { return shift->{sendButton}; } sub setupUi { my ( $class, $form ) = @_; my $self = bless {}, $class; if ( !defined $form->objectName() ) { $form->setObjectName( "form" ); } $form->resize( 343, 320 ); my $vboxLayout = Qt::VBoxLayout( $form ); $self->{vboxLayout} = $vboxLayout; $vboxLayout->setObjectName( "vboxLayout" ); my $gridLayout = Qt::GridLayout( ); $self->{gridLayout} = $gridLayout; $gridLayout->setObjectName( "gridLayout" ); my $hostNameLabel = Qt::Label( $form ); $self->{hostNameLabel} = $hostNameLabel; $hostNameLabel->setObjectName( "hostNameLabel" ); $gridLayout->addWidget( $hostNameLabel, 0, 0, 1, 1 ); my $hostNameEdit = Qt::LineEdit( $form ); $self->{hostNameEdit} = $hostNameEdit; $hostNameEdit->setObjectName( "hostNameEdit" ); $gridLayout->addWidget( $hostNameEdit, 0, 1, 1, 1 ); my $portLabel = Qt::Label( $form ); $self->{portLabel} = $portLabel; $portLabel->setObjectName( "portLabel" ); $gridLayout->addWidget( $portLabel, 1, 0, 1, 1 ); my $portBox = Qt::SpinBox( $form ); $self->{portBox} = $portBox; $portBox->setObjectName( "portBox" ); $portBox->setMinimum( 1 ); $portBox->setMaximum( 65535 ); $portBox->setValue( 993 ); $gridLayout->addWidget( $portBox, 1, 1, 1, 1 ); $vboxLayout->addLayout( $gridLayout ); my $connectButton = Qt::PushButton( $form ); $self->{connectButton} = $connectButton; $connectButton->setObjectName( "connectButton" ); $connectButton->setEnabled( 1 ); $connectButton->setDefault( 1 ); $vboxLayout->addWidget( $connectButton ); my $sessionBox = Qt::GroupBox( $form ); $self->{sessionBox} = $sessionBox; $sessionBox->setObjectName( "sessionBox" ); $sessionBox->setEnabled( 0 ); my $vboxLayout1 = Qt::VBoxLayout( $sessionBox ); $self->{vboxLayout1} = $vboxLayout1; $vboxLayout1->setObjectName( "vboxLayout1" ); my $hboxLayout = Qt::HBoxLayout( ); $self->{hboxLayout} = $hboxLayout; $hboxLayout->setObjectName( "hboxLayout" ); my $cipherText = Qt::Label( $sessionBox ); $self->{cipherText} = $cipherText; $cipherText->setObjectName( "cipherText" ); $hboxLayout->addWidget( $cipherText ); my $cipherLabel = Qt::Label( $sessionBox ); $self->{cipherLabel} = $cipherLabel; $cipherLabel->setObjectName( "cipherLabel" ); $cipherLabel->setAlignment( Qt::AlignRight()|Qt::AlignTrailing()|Qt::AlignVCenter() ); $hboxLayout->addWidget( $cipherLabel ); $vboxLayout1->addLayout( $hboxLayout ); my $sessionOutput = Qt::TextEdit( $sessionBox ); $self->{sessionOutput} = $sessionOutput; $sessionOutput->setObjectName( "sessionOutput" ); $sessionOutput->setEnabled( 0 ); $sessionOutput->setFocusPolicy( Qt::NoFocus() ); $sessionOutput->setReadOnly( 1 ); $vboxLayout1->addWidget( $sessionOutput ); my $hboxLayout1 = Qt::HBoxLayout( ); $self->{hboxLayout1} = $hboxLayout1; $hboxLayout1->setObjectName( "hboxLayout1" ); my $sessionInputLabel = Qt::Label( $sessionBox ); $self->{sessionInputLabel} = $sessionInputLabel; $sessionInputLabel->setObjectName( "sessionInputLabel" ); $hboxLayout1->addWidget( $sessionInputLabel ); my $sessionInput = Qt::LineEdit( $sessionBox ); $self->{sessionInput} = $sessionInput; $sessionInput->setObjectName( "sessionInput" ); $sessionInput->setEnabled( 0 ); $hboxLayout1->addWidget( $sessionInput ); my $sendButton = Qt::PushButton( $sessionBox ); $self->{sendButton} = $sendButton; $sendButton->setObjectName( "sendButton" ); $sendButton->setEnabled( 0 ); $sendButton->setFocusPolicy( Qt::TabFocus() ); $sendButton->setDefault( 1 ); $hboxLayout1->addWidget( $sendButton ); $vboxLayout1->addLayout( $hboxLayout1 ); $vboxLayout->addWidget( $sessionBox ); $self->retranslateUi( $form ); Qt::Object::connect($hostNameEdit, SIGNAL 'returnPressed()' , $connectButton, SLOT 'animateClick()' ); Qt::Object::connect($sessionInput, SIGNAL 'returnPressed()' , $sendButton, SLOT 'animateClick()' ); Qt::MetaObject::connectSlotsByName( $form ); return $self; } # setupUi sub setup_ui { my ( $form ) = @_; return setupUi( $form ); } sub retranslateUi { my ( $self, $form ) = @_; $form->setWindowTitle( Qt::Application::translate( 'Form', "Secure Socket Client", undef, Qt::Application::UnicodeUTF8() ) ); $self->{hostNameLabel}->setText( Qt::Application::translate( 'Form', "Host name:", undef, Qt::Application::UnicodeUTF8() ) ); $self->{hostNameEdit}->setText( Qt::Application::translate( 'Form', "imap.example.com", undef, Qt::Application::UnicodeUTF8() ) ); $self->{portLabel}->setText( Qt::Application::translate( 'Form', "Port:", undef, Qt::Application::UnicodeUTF8() ) ); $self->{connectButton}->setText( Qt::Application::translate( 'Form', "Connect to host", undef, Qt::Application::UnicodeUTF8() ) ); $self->{sessionBox}->setTitle( Qt::Application::translate( 'Form', "Active session", undef, Qt::Application::UnicodeUTF8() ) ); $self->{cipherText}->setText( Qt::Application::translate( 'Form', "Cryptographic Cipher:", undef, Qt::Application::UnicodeUTF8() ) ); $self->{cipherLabel}->setText( Qt::Application::translate( 'Form', "<none>", undef, Qt::Application::UnicodeUTF8() ) ); $self->{sessionOutput}->setHtml( Qt::Application::translate( 'Form', "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" . "p, li { white-space: pre-wrap; }\n" . "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n" . "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", undef, Qt::Application::UnicodeUTF8() ) ); $self->{sessionInputLabel}->setText( Qt::Application::translate( 'Form', "Input:", undef, Qt::Application::UnicodeUTF8() ) ); $self->{sendButton}->setText( Qt::Application::translate( 'Form', "&Send", undef, Qt::Application::UnicodeUTF8() ) ); } # retranslateUi sub retranslate_ui { my ( $form ) = @_; retranslateUi( $form ); } 1;