2012-11-19 20:45:05 +01:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'help.ui'
#
2012-12-21 16:55:29 +01:00
# Created: Wed Dec 19 15:53:53 2012
2012-11-19 20:45:05 +01:00
# by: PyQt4 UI code generator 4.9.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore , QtGui
try :
_fromUtf8 = QtCore . QString . fromUtf8
except AttributeError :
_fromUtf8 = lambda s : s
class Ui_helpDialog ( object ) :
def setupUi ( self , helpDialog ) :
helpDialog . setObjectName ( _fromUtf8 ( " helpDialog " ) )
2012-12-21 16:55:29 +01:00
helpDialog . resize ( 335 , 96 )
self . formLayout = QtGui . QFormLayout ( helpDialog )
self . formLayout . setObjectName ( _fromUtf8 ( " formLayout " ) )
self . labelHelpURI = QtGui . QLabel ( helpDialog )
self . labelHelpURI . setObjectName ( _fromUtf8 ( " labelHelpURI " ) )
self . formLayout . setWidget ( 1 , QtGui . QFormLayout . LabelRole , self . labelHelpURI )
self . label = QtGui . QLabel ( helpDialog )
self . label . setWordWrap ( True )
self . label . setObjectName ( _fromUtf8 ( " label " ) )
self . formLayout . setWidget ( 0 , QtGui . QFormLayout . SpanningRole , self . label )
spacerItem = QtGui . QSpacerItem ( 40 , 20 , QtGui . QSizePolicy . Expanding , QtGui . QSizePolicy . Minimum )
self . formLayout . setItem ( 2 , QtGui . QFormLayout . LabelRole , spacerItem )
2012-11-19 20:45:05 +01:00
self . buttonBox = QtGui . QDialogButtonBox ( helpDialog )
self . buttonBox . setOrientation ( QtCore . Qt . Horizontal )
self . buttonBox . setStandardButtons ( QtGui . QDialogButtonBox . Ok )
self . buttonBox . setObjectName ( _fromUtf8 ( " buttonBox " ) )
2012-12-21 16:55:29 +01:00
self . formLayout . setWidget ( 2 , QtGui . QFormLayout . FieldRole , self . buttonBox )
2012-11-19 20:45:05 +01:00
self . retranslateUi ( helpDialog )
QtCore . QObject . connect ( self . buttonBox , QtCore . SIGNAL ( _fromUtf8 ( " accepted() " ) ) , helpDialog . accept )
QtCore . QObject . connect ( self . buttonBox , QtCore . SIGNAL ( _fromUtf8 ( " rejected() " ) ) , helpDialog . reject )
QtCore . QMetaObject . connectSlotsByName ( helpDialog )
def retranslateUi ( self , helpDialog ) :
helpDialog . setWindowTitle ( QtGui . QApplication . translate ( " helpDialog " , " Help " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . labelHelpURI . setText ( QtGui . QApplication . translate ( " helpDialog " , " <a href= \" http://Bitmessage.org/wiki/PyBitmessage_Help \" >http://Bitmessage.org/wiki/PyBitmessage_Help</a> " , None , QtGui . QApplication . UnicodeUTF8 ) )
2012-12-21 16:55:29 +01:00
self . label . setText ( QtGui . QApplication . translate ( " helpDialog " , " As Bitmessage is a collaborative project, help can be found online in the Bitmessage Wiki: " , None , QtGui . QApplication . UnicodeUTF8 ) )
2012-11-19 20:45:05 +01:00