# Path: drawingDimensioning/py3_helpers.py
# def unicode(*args):
#     return str(args[0])
# 
# def translate(*args):
#     if len(args) < 3:
#         args.append(None)
#     try:
#         return QtGui.QApplication.translate(args[0], args[1], args[2], QtGui.QApplication.UnicodeUTF8)
#     except AttributeError:
#         return QtGui.QApplication.translate(args[0], args[1], args[2])


from drawingDimensioning.py3_helpers import unicode, translate
from PySide import QtCore, QtGui
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_4 = QtGui.QLabel(Dialog)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_5.addWidget(self.label_4)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem3)
        self.familyLineEdit = QtGui.QLineEdit(Dialog)
        self.familyLineEdit.setObjectName("familyLineEdit")
        self.horizontalLayout_5.addWidget(self.familyLineEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.placeButton = QtGui.QPushButton(Dialog)
        self.placeButton.setObjectName("placeButton")
        self.verticalLayout.addWidget(self.placeButton)

        self.retranslateUi(Dialog)
        QtCore.QObject.connect(self.placeButton, QtCore.SIGNAL("released()"), Dialog.accept)
        QtCore.QObject.connect(self.textLineEdit, QtCore.SIGNAL("returnPressed()"), Dialog.accept)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(translate("Dialog", "Add Text", None))
        self.label.setText(translate("Dialog", "Text", None))
        self.label_2.setText(translate("Dialog", "Font-size", None))
        self.sizeLineEdit.setText(translate("Dialog", "4pt", None))
        self.label_5.setText(translate("Dialog", "Rotation", None))
        self.label_6.setText(translate("Dialog", "°", None))
        self.label_3.setText(translate("Dialog", "Color", None))
        self.colorLineEdit.setText(translate("Dialog", "rgb(255,0,0)", None))
        self.label_4.setText(translate("Dialog", "Family", None))

# Path: drawingDimensioning/py3_helpers.py
# def unicode(*args):
#     return str(args[0])
# 
# def translate(*args):
#     if len(args) < 3:
#         args.append(None)
#     try:
#         return QtGui.QApplication.translate(args[0], args[1], args[2], QtGui.QApplication.UnicodeUTF8)
#     except AttributeError:
#         return QtGui.QApplication.translate(args[0], args[1], args[2])


# Path: drawingDimensioning/textAddDialog.py
from drawingDimensioning.py3_helpers import unicode, translate
from PySide import QtCore, QtGui

        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_4 = QtGui.QLabel(Dialog)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_5.addWidget(self.label_4)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem3)
        self.familyLineEdit = QtGui.QLineEdit(Dialog)
        self.familyLineEdit.setObjectName("familyLineEdit")
        self.horizontalLayout_5.addWidget(self.familyLineEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.placeButton = QtGui.QPushButton(Dialog)
        self.placeButton.setObjectName("placeButton")
        self.verticalLayout.addWidget(self.placeButton)

        self.retranslateUi(Dialog)
        QtCore.QObject.connect(self.placeButton, QtCore.SIGNAL("released()"), Dialog.accept)
        QtCore.QObject.connect(self.textLineEdit, QtCore.SIGNAL("returnPressed()"), Dialog.accept)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(translate("Dialog", "Add Text", None))
        self.label.setText(translate("Dialog", "Text", None))
        self.label_2.setText(translate("Dialog", "Font-size", None))
        self.sizeLineEdit.setText(translate("Dialog", "4pt", None))
        self.label_5.setText(translate("Dialog", "Rotation", None))
        self.label_6.setText(translate("Dialog", "°", None))
        self.label_3.setText(translate("Dialog", "Color", None))
        self.colorLineEdit.setText(translate("Dialog", "rgb(255,0,0)", None))
        self.label_4.setText(translate("Dialog", "Family", None))

        self.familyLineEdit.setText(translate("Dialog", "Verdana", None))