2
2
3
3
# Form implementation generated from reading ui file 'widgetNumberInput.ui'
4
4
#
5
- # Created: Wed May 21 11:41:55 2014
6
- # by: PyQt4 UI code generator 4.9.1
5
+ # Created: Thu May 22 12:21:43 2014
6
+ # by: PyQt4 UI code generator 4.9.6
7
7
#
8
8
# WARNING! All changes made in this file will be lost!
9
9
12
12
try :
13
13
_fromUtf8 = QtCore .QString .fromUtf8
14
14
except AttributeError :
15
- _fromUtf8 = lambda s : s
15
+ def _fromUtf8 (s ):
16
+ return s
17
+
18
+ try :
19
+ _encoding = QtGui .QApplication .UnicodeUTF8
20
+ def _translate (context , text , disambig ):
21
+ return QtGui .QApplication .translate (context , text , disambig , _encoding )
22
+ except AttributeError :
23
+ def _translate (context , text , disambig ):
24
+ return QtGui .QApplication .translate (context , text , disambig )
16
25
17
26
class Ui_widgetNumberInput (object ):
18
27
def setupUi (self , widgetNumberInput ):
19
28
widgetNumberInput .setObjectName (_fromUtf8 ("widgetNumberInput" ))
20
- widgetNumberInput .resize (205 , 24 )
21
- widgetNumberInput .setSpacing (0 )
29
+ widgetNumberInput .resize (251 , 24 )
22
30
self .horizontalLayout = QtGui .QHBoxLayout (widgetNumberInput )
23
- self .horizontalLayout .setSpacing (2 )
24
31
self .horizontalLayout .setMargin (0 )
25
32
self .horizontalLayout .setObjectName (_fromUtf8 ("horizontalLayout" ))
26
33
self .spnValue = QtGui .QDoubleSpinBox (widgetNumberInput )
@@ -37,7 +44,7 @@ def setupUi(self, widgetNumberInput):
37
44
QtCore .QMetaObject .connectSlotsByName (widgetNumberInput )
38
45
39
46
def retranslateUi (self , widgetNumberInput ):
40
- widgetNumberInput .setWindowTitle (QtGui . QApplication . translate ("widgetNumberInput" , "Form" , None , QtGui . QApplication . UnicodeUTF8 ))
41
- self .btnCalc .setToolTip (QtGui . QApplication . translate ("widgetNumberInput" , "Open number input dialog" , None , QtGui . QApplication . UnicodeUTF8 ))
42
- self .btnCalc .setText (QtGui . QApplication . translate ("widgetNumberInput" , "..." , None , QtGui . QApplication . UnicodeUTF8 ))
47
+ widgetNumberInput .setWindowTitle (_translate ("widgetNumberInput" , "Form" , None ))
48
+ self .btnCalc .setToolTip (_translate ("widgetNumberInput" , "Open number input dialog" , None ))
49
+ self .btnCalc .setText (_translate ("widgetNumberInput" , "..." , None ))
43
50
0 commit comments