# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'eric/UI/NumbersWidget.ui'
#
# Created: Sat Jan 18 15:10:14 2014
#      by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_NumbersWidget(object):
    def setupUi(self, NumbersWidget):
        NumbersWidget.setObjectName(_fromUtf8("NumbersWidget"))
        NumbersWidget.resize(749, 147)
        self.gridLayout_2 = QtGui.QGridLayout(NumbersWidget)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.binaryGroup = QtGui.QGroupBox(NumbersWidget)
        self.binaryGroup.setObjectName(_fromUtf8("binaryGroup"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.binaryGroup)
        self.horizontalLayout_2.setMargin(2)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.binInButton = QtGui.QToolButton(self.binaryGroup)
        self.binInButton.setObjectName(_fromUtf8("binInButton"))
        self.horizontalLayout_2.addWidget(self.binInButton)
        self.binEdit = QtGui.QLineEdit(self.binaryGroup)
        self.binEdit.setMaxLength(64)
        self.binEdit.setObjectName(_fromUtf8("binEdit"))
        self.horizontalLayout_2.addWidget(self.binEdit)
        self.binOutButton = QtGui.QToolButton(self.binaryGroup)
        self.binOutButton.setObjectName(_fromUtf8("binOutButton"))
        self.horizontalLayout_2.addWidget(self.binOutButton)
        self.horizontalLayout_6.addWidget(self.binaryGroup)
        self.octalGroup = QtGui.QGroupBox(NumbersWidget)
        self.octalGroup.setObjectName(_fromUtf8("octalGroup"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.octalGroup)
        self.horizontalLayout_3.setMargin(2)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.octInButton = QtGui.QToolButton(self.octalGroup)
        self.octInButton.setObjectName(_fromUtf8("octInButton"))
        self.horizontalLayout_3.addWidget(self.octInButton)
        self.octEdit = QtGui.QLineEdit(self.octalGroup)
        self.octEdit.setMaxLength(24)
        self.octEdit.setObjectName(_fromUtf8("octEdit"))
        self.horizontalLayout_3.addWidget(self.octEdit)
        self.octOutButton = QtGui.QToolButton(self.octalGroup)
        self.octOutButton.setObjectName(_fromUtf8("octOutButton"))
        self.horizontalLayout_3.addWidget(self.octOutButton)
        self.horizontalLayout_6.addWidget(self.octalGroup)
        self.decimalGroup = QtGui.QGroupBox(NumbersWidget)
        self.decimalGroup.setObjectName(_fromUtf8("decimalGroup"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.decimalGroup)
        self.horizontalLayout_4.setMargin(2)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.decInButton = QtGui.QToolButton(self.decimalGroup)
        self.decInButton.setObjectName(_fromUtf8("decInButton"))
        self.horizontalLayout_4.addWidget(self.decInButton)
        self.decEdit = QtGui.QLineEdit(self.decimalGroup)
        self.decEdit.setMaxLength(22)
        self.decEdit.setObjectName(_fromUtf8("decEdit"))
        self.horizontalLayout_4.addWidget(self.decEdit)
        self.decOutButton = QtGui.QToolButton(self.decimalGroup)
        self.decOutButton.setObjectName(_fromUtf8("decOutButton"))
        self.horizontalLayout_4.addWidget(self.decOutButton)
        self.horizontalLayout_6.addWidget(self.decimalGroup)
        self.hexGroup = QtGui.QGroupBox(NumbersWidget)
        self.hexGroup.setObjectName(_fromUtf8("hexGroup"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.hexGroup)
        self.horizontalLayout_5.setMargin(2)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.hexInButton = QtGui.QToolButton(self.hexGroup)
        self.hexInButton.setObjectName(_fromUtf8("hexInButton"))
        self.horizontalLayout_5.addWidget(self.hexInButton)
        self.hexEdit = QtGui.QLineEdit(self.hexGroup)
        self.hexEdit.setMaxLength(16)
        self.hexEdit.setObjectName(_fromUtf8("hexEdit"))
        self.horizontalLayout_5.addWidget(self.hexEdit)
        self.hexOutButton = QtGui.QToolButton(self.hexGroup)
        self.hexOutButton.setObjectName(_fromUtf8("hexOutButton"))
        self.horizontalLayout_5.addWidget(self.hexOutButton)
        self.horizontalLayout_6.addWidget(self.hexGroup)
        self.gridLayout_2.addLayout(self.horizontalLayout_6, 0, 0, 1, 2)
        self.binTable = QtGui.QTableView(NumbersWidget)
        self.binTable.setEditTriggers(QtGui.QAbstractItemView.AllEditTriggers)
        self.binTable.setTabKeyNavigation(False)
        self.binTable.setProperty("showDropIndicator", False)
        self.binTable.setDragDropOverwriteMode(False)
        self.binTable.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.binTable.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.binTable.setShowGrid(False)
        self.binTable.setCornerButtonEnabled(False)
        self.binTable.setObjectName(_fromUtf8("binTable"))
        self.binTable.verticalHeader().setVisible(False)
        self.gridLayout_2.addWidget(self.binTable, 1, 0, 1, 1)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(NumbersWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.formatBox = E5TextSpinBox(NumbersWidget)
        self.formatBox.setWrapping(True)
        self.formatBox.setAlignment(QtCore.Qt.AlignCenter)
        self.formatBox.setObjectName(_fromUtf8("formatBox"))
        self.gridLayout.addWidget(self.formatBox, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(NumbersWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.sizeBox = E5TextSpinBox(NumbersWidget)
        self.sizeBox.setWrapping(True)
        self.sizeBox.setAlignment(QtCore.Qt.AlignCenter)
        self.sizeBox.setObjectName(_fromUtf8("sizeBox"))
        self.gridLayout.addWidget(self.sizeBox, 1, 1, 1, 1)
        self.byteOrderButton = QtGui.QPushButton(NumbersWidget)
        self.byteOrderButton.setObjectName(_fromUtf8("byteOrderButton"))
        self.gridLayout.addWidget(self.byteOrderButton, 2, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(62, 13, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 1, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 1, 1, 1, 1)

        self.retranslateUi(NumbersWidget)
        QtCore.QMetaObject.connectSlotsByName(NumbersWidget)
        NumbersWidget.setTabOrder(self.binInButton, self.binEdit)
        NumbersWidget.setTabOrder(self.binEdit, self.binOutButton)
        NumbersWidget.setTabOrder(self.binOutButton, self.octInButton)
        NumbersWidget.setTabOrder(self.octInButton, self.octEdit)
        NumbersWidget.setTabOrder(self.octEdit, self.octOutButton)
        NumbersWidget.setTabOrder(self.octOutButton, self.decInButton)
        NumbersWidget.setTabOrder(self.decInButton, self.decEdit)
        NumbersWidget.setTabOrder(self.decEdit, self.decOutButton)
        NumbersWidget.setTabOrder(self.decOutButton, self.hexInButton)
        NumbersWidget.setTabOrder(self.hexInButton, self.hexEdit)
        NumbersWidget.setTabOrder(self.hexEdit, self.hexOutButton)
        NumbersWidget.setTabOrder(self.hexOutButton, self.binTable)
        NumbersWidget.setTabOrder(self.binTable, self.formatBox)
        NumbersWidget.setTabOrder(self.formatBox, self.sizeBox)
        NumbersWidget.setTabOrder(self.sizeBox, self.byteOrderButton)

    def retranslateUi(self, NumbersWidget):
        NumbersWidget.setWindowTitle(_translate("NumbersWidget", "Numbers Formats", None))
        self.binaryGroup.setTitle(_translate("NumbersWidget", "Binary", None))
        self.binInButton.setToolTip(_translate("NumbersWidget", "Press to import the selected binary number", None))
        self.binInButton.setText(_translate("NumbersWidget", "...", None))
        self.binEdit.setToolTip(_translate("NumbersWidget", "Enter the binary number", None))
        self.binOutButton.setToolTip(_translate("NumbersWidget", "Press to send the binary number to the current editor", None))
        self.binOutButton.setText(_translate("NumbersWidget", "...", None))
        self.octalGroup.setTitle(_translate("NumbersWidget", "Octal", None))
        self.octInButton.setToolTip(_translate("NumbersWidget", "Press to import the selected octal number", None))
        self.octInButton.setText(_translate("NumbersWidget", "...", None))
        self.octEdit.setToolTip(_translate("NumbersWidget", "Enter the octal number", None))
        self.octOutButton.setToolTip(_translate("NumbersWidget", "Press to send the octal number to the current editor", None))
        self.octOutButton.setText(_translate("NumbersWidget", "...", None))
        self.decimalGroup.setTitle(_translate("NumbersWidget", "Decimal", None))
        self.decInButton.setToolTip(_translate("NumbersWidget", "Press to import the selected decimal number", None))
        self.decInButton.setText(_translate("NumbersWidget", "...", None))
        self.decEdit.setToolTip(_translate("NumbersWidget", "Enter the decimal number", None))
        self.decOutButton.setToolTip(_translate("NumbersWidget", "Press to send the decimal number to the current editor", None))
        self.decOutButton.setText(_translate("NumbersWidget", "...", None))
        self.hexGroup.setTitle(_translate("NumbersWidget", "Hexadecimal", None))
        self.hexInButton.setToolTip(_translate("NumbersWidget", "Press to import the selected hex number", None))
        self.hexInButton.setText(_translate("NumbersWidget", "...", None))
        self.hexEdit.setToolTip(_translate("NumbersWidget", "Enter the hex number", None))
        self.hexOutButton.setToolTip(_translate("NumbersWidget", "Press to send the hex number to the current editor", None))
        self.hexOutButton.setText(_translate("NumbersWidget", "...", None))
        self.label.setText(_translate("NumbersWidget", "Input Format:", None))
        self.formatBox.setToolTip(_translate("NumbersWidget", "Select the input format", None))
        self.label_2.setText(_translate("NumbersWidget", "Bitsize:", None))
        self.sizeBox.setToolTip(_translate("NumbersWidget", "Select the bit size", None))
        self.byteOrderButton.setToolTip(_translate("NumbersWidget", "Press to swap the current byte order", None))
        self.byteOrderButton.setText(_translate("NumbersWidget", "Swap byte order", None))

from E5Gui.E5TextSpinBox import E5TextSpinBox
