#NEWLINE# def setupUi( self , TripwireDialog ) : #NEWLINE# #INDENT# TripwireDialog . setObjectName ( 'TripwireDialog' ) #NEWLINE# TripwireDialog . resize ( 400 , 255 ) #NEWLINE# sizePolicy = QtGui . QSizePolicy ( QtGui . QSizePolicy . Fixed , QtGui . QSizePolicy . Fixed ) #NEWLINE# sizePolicy . setHorizontalStretch ( 0 ) #NEWLINE# sizePolicy . setVerticalStretch ( 0 ) #NEWLINE# sizePolicy . setHeightForWidth ( TripwireDialog . sizePolicy ( ) . hasHeightForWidth ( ) ) #NEWLINE# TripwireDialog . setSizePolicy ( sizePolicy ) #NEWLINE# TripwireDialog . setMinimumSize ( QtCore . QSize ( 400 , 255 ) ) #NEWLINE# TripwireDialog . setMaximumSize ( QtCore . QSize ( 400 , 255 ) ) #NEWLINE# font = QtGui . QFont ( ) #NEWLINE# font . setFamily ( 'Arial' ) #NEWLINE# TripwireDialog . setFont ( font ) #NEWLINE# icon = QtGui . QIcon ( ) #NEWLINE# icon . addPixmap ( QtGui . QPixmap ( ':/images/app_icon.png' ) , QtGui . QIcon . Normal , QtGui . QIcon . Off ) #NEWLINE# TripwireDialog . setWindowIcon ( icon ) #NEWLINE# TripwireDialog . setSizeGripEnabled ( False ) #NEWLINE# self . gridLayout = QtGui . QGridLayout ( TripwireDialog ) #NEWLINE# self . gridLayout . setObjectName ( 'gridLayout' ) #NEWLINE# self . lineEdit_pass = QtGui . QLineEdit ( TripwireDialog ) #NEWLINE# self . lineEdit_pass . setInputMethodHints ( ( ( QtCore . Qt . ImhHiddenText | QtCore . Qt . ImhNoAutoUppercase ) | QtCore . Qt . ImhNoPredictiveText ) ) #NEWLINE# self . lineEdit_pass . setEchoMode ( QtGui . QLineEdit . Password ) #NEWLINE# self . lineEdit_pass . setObjectName ( 'lineEdit_pass' ) #NEWLINE# self . gridLayout . addWidget ( self . lineEdit_pass , 3 , 1 , 1 , 1 ) #NEWLINE# self . label_2 = QtGui . QLabel ( TripwireDialog ) #NEWLINE# self . label_2 . setAlignment ( ( ( QtCore . Qt . AlignRight | QtCore . Qt . AlignTrailing ) | QtCore . Qt . AlignVCenter ) ) #NEWLINE# self . label_2 . setObjectName ( 'label_2' ) #NEWLINE# self . gridLayout . addWidget ( self . label_2 , 2 , 0 , 1 , 1 ) #NEWLINE# self . lineEdit_url = QtGui . QLineEdit ( TripwireDialog ) #NEWLINE# self . lineEdit_url . setObjectName ( 'lineEdit_url' ) #NEWLINE# self . gridLayout . addWidget ( self . lineEdit_url , 1 , 1 , 1 , 1 ) #NEWLINE# self . label = QtGui . QLabel ( TripwireDialog ) #NEWLINE# self . label . setAlignment ( ( ( QtCore . Qt . AlignRight | QtCore . Qt . AlignTrailing ) | QtCore . Qt . AlignVCenter ) ) #NEWLINE# self . label . setObjectName ( 'label' ) #NEWLINE# self . gridLayout . addWidget ( self . label , 1 , 0 , 1 , 1 ) #NEWLINE# self . label_3 = QtGui . QLabel ( TripwireDialog ) #NEWLINE# self . label_3 . setAlignment ( ( ( QtCore . Qt . AlignRight | QtCore . Qt . AlignTrailing ) | QtCore . Qt . AlignVCenter ) ) #NEWLINE# self . label_3 . setObjectName ( 'label_3' ) #NEWLINE# self . gridLayout . addWidget ( self . label_3 , 3 , 0 , 1 , 1 ) #NEWLINE# self . buttonBox = QtGui . QDialogButtonBox ( TripwireDialog ) #NEWLINE# self . buttonBox . setOrientation ( QtCore . Qt . Horizontal ) #NEWLINE# self . buttonBox . setStandardButtons ( ( QtGui . QDialogButtonBox . Cancel | QtGui . QDialogButtonBox . Ok ) ) #NEWLINE# self . buttonBox . setObjectName ( 'buttonBox' ) #NEWLINE# self . gridLayout . addWidget ( self . buttonBox , 5 , 0 , 1 , 2 ) #NEWLINE# self . lineEdit_user = QtGui . QLineEdit ( TripwireDialog ) #NEWLINE# self . lineEdit_user . setObjectName ( 'lineEdit_user' ) #NEWLINE# self . gridLayout . addWidget ( self . lineEdit_user , 2 , 1 , 1 , 1 ) #NEWLINE# self . label_4 = QtGui . QLabel ( self ) #NEWLINE# self . label_4 . setText ( '' ) #NEWLINE# self . label_4 . setPixmap ( QtGui . QPixmap ( ':/images/tripwire_banner.png' ) ) #NEWLINE# self . label_4 . setObjectName ( 'label_4' ) #NEWLINE# self . gridLayout . addWidget ( self . label_4 , 0 , 0 , 1 , 2 ) #NEWLINE# self . label_5 = QtGui . QLabel ( TripwireDialog ) #NEWLINE# self . label_5 . setAlignment ( ( ( QtCore . Qt . AlignLeading | QtCore . Qt . AlignLeft ) | QtCore . Qt . AlignVCenter ) ) #NEWLINE# self . label_5 . setOpenExternalLinks ( True ) #NEWLINE# self . label_5 . setObjectName ( 'label_5' ) #NEWLINE# self . gridLayout . addWidget ( self . label_5 , 4 , 1 , 1 , 1 ) #NEWLINE# self . retranslateUi ( TripwireDialog ) #NEWLINE# QtCore . QObject . connect ( self . buttonBox , QtCore . SIGNAL ( 'accepted()' ) , TripwireDialog . accept ) #NEWLINE# QtCore . QObject . connect ( self . buttonBox , QtCore . SIGNAL ( 'rejected()' ) , TripwireDialog . reject ) #NEWLINE# QtCore . QMetaObject . connectSlotsByName ( TripwireDialog )