############################################################################### # ############################################################################### ################################################################################# ## Form generated from reading UI file 'authenticationdialog.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_Dialog; use strict; use warnings; use QtCore4; use QtGui4; sub gridLayout { return shift->{gridLayout}; } sub label { return shift->{label}; } sub label_2 { return shift->{label_2}; } sub userEdit { return shift->{userEdit}; } sub label_3 { return shift->{label_3}; } sub passwordEdit { return shift->{passwordEdit}; } sub buttonBox { return shift->{buttonBox}; } sub label_4 { return shift->{label_4}; } sub siteDescription { return shift->{siteDescription}; } sub spacerItem { return shift->{spacerItem}; } sub setupUi { my ( $class, $dialog ) = @_; my $self = bless {}, $class; if ( !defined $dialog->objectName() ) { $dialog->setObjectName( "dialog" ); } $dialog->resize( 389, 243 ); my $gridLayout = Qt::GridLayout( $dialog ); $self->{gridLayout} = $gridLayout; $gridLayout->setObjectName( "gridLayout" ); my $label = Qt::Label( $dialog ); $self->{label} = $label; $label->setObjectName( "label" ); $label->setWordWrap( 0 ); $gridLayout->addWidget( $label, 0, 0, 1, 2 ); my $label_2 = Qt::Label( $dialog ); $self->{label_2} = $label_2; $label_2->setObjectName( "label_2" ); $gridLayout->addWidget( $label_2, 2, 0, 1, 1 ); my $userEdit = Qt::LineEdit( $dialog ); $self->{userEdit} = $userEdit; $userEdit->setObjectName( "userEdit" ); $gridLayout->addWidget( $userEdit, 2, 1, 1, 1 ); my $label_3 = Qt::Label( $dialog ); $self->{label_3} = $label_3; $label_3->setObjectName( "label_3" ); $gridLayout->addWidget( $label_3, 3, 0, 1, 1 ); my $passwordEdit = Qt::LineEdit( $dialog ); $self->{passwordEdit} = $passwordEdit; $passwordEdit->setObjectName( "passwordEdit" ); $gridLayout->addWidget( $passwordEdit, 3, 1, 1, 1 ); my $buttonBox = Qt::DialogButtonBox( $dialog ); $self->{buttonBox} = $buttonBox; $buttonBox->setObjectName( "buttonBox" ); $buttonBox->setOrientation( Qt::Horizontal() ); $buttonBox->setStandardButtons( Qt::DialogButtonBox::Cancel()|Qt::DialogButtonBox::Ok() ); $gridLayout->addWidget( $buttonBox, 5, 0, 1, 2 ); my $label_4 = Qt::Label( $dialog ); $self->{label_4} = $label_4; $label_4->setObjectName( "label_4" ); $gridLayout->addWidget( $label_4, 1, 0, 1, 1 ); my $siteDescription = Qt::Label( $dialog ); $self->{siteDescription} = $siteDescription; $siteDescription->setObjectName( "siteDescription" ); my $font = Qt::Font(); $font->setBold( 1 ); $font->setWeight( 75 ); $siteDescription->setFont( $font ); $siteDescription->setWordWrap( 1 ); $gridLayout->addWidget( $siteDescription, 1, 1, 1, 1 ); my $spacerItem = Qt::SpacerItem( 20, 40, Qt::SizePolicy::Minimum(), Qt::SizePolicy::Expanding() ); $gridLayout->addItem( $spacerItem, 4, 0, 1, 1 ); $self->retranslateUi( $dialog ); Qt::Object::connect($buttonBox, SIGNAL 'accepted()' , $dialog, SLOT 'accept()' ); Qt::Object::connect($buttonBox, SIGNAL 'rejected()' , $dialog, SLOT 'reject()' ); Qt::MetaObject::connectSlotsByName( $dialog ); return $self; } # setupUi sub setup_ui { my ( $dialog ) = @_; return setupUi( $dialog ); } sub retranslateUi { my ( $self, $dialog ) = @_; $dialog->setWindowTitle( Qt::Application::translate( 'Dialog', "Http authentication required", undef, Qt::Application::UnicodeUTF8() ) ); $self->{label}->setText( Qt::Application::translate( 'Dialog', "You need to supply a Username and a Password to access this site", undef, Qt::Application::UnicodeUTF8() ) ); $self->{label_2}->setText( Qt::Application::translate( 'Dialog', "Username:", undef, Qt::Application::UnicodeUTF8() ) ); $self->{label_3}->setText( Qt::Application::translate( 'Dialog', "Password:", undef, Qt::Application::UnicodeUTF8() ) ); $self->{label_4}->setText( Qt::Application::translate( 'Dialog', "Site:", undef, Qt::Application::UnicodeUTF8() ) ); $self->{siteDescription}->setText( Qt::Application::translate( 'Dialog', "%1 at %2", undef, Qt::Application::UnicodeUTF8() ) ); } # retranslateUi sub retranslate_ui { my ( $dialog ) = @_; retranslateUi( $dialog ); } 1;