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

# Form implementation generated from reading ui file 'eric/HexEdit/HexEditGotoWidget.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_HexEditGotoWidget(object):
    def setupUi(self, HexEditGotoWidget):
        HexEditGotoWidget.setObjectName(_fromUtf8("HexEditGotoWidget"))
        HexEditGotoWidget.resize(600, 54)
        self.gridLayout = QtGui.QGridLayout(HexEditGotoWidget)
        self.gridLayout.setMargin(1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.closeButton = QtGui.QToolButton(HexEditGotoWidget)
        self.closeButton.setText(_fromUtf8(""))
        self.closeButton.setObjectName(_fromUtf8("closeButton"))
        self.gridLayout.addWidget(self.closeButton, 0, 0, 1, 1)
        self.label = QtGui.QLabel(HexEditGotoWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 1, 1, 1)
        self.formatCombo = QtGui.QComboBox(HexEditGotoWidget)
        self.formatCombo.setObjectName(_fromUtf8("formatCombo"))
        self.gridLayout.addWidget(self.formatCombo, 0, 2, 1, 1)
        self.offsetEdit = QtGui.QLineEdit(HexEditGotoWidget)
        self.offsetEdit.setObjectName(_fromUtf8("offsetEdit"))
        self.gridLayout.addWidget(self.offsetEdit, 0, 3, 1, 1)
        self.cursorCheckBox = QtGui.QCheckBox(HexEditGotoWidget)
        self.cursorCheckBox.setObjectName(_fromUtf8("cursorCheckBox"))
        self.gridLayout.addWidget(self.cursorCheckBox, 0, 4, 1, 1)
        self.backCheckBox = QtGui.QCheckBox(HexEditGotoWidget)
        self.backCheckBox.setObjectName(_fromUtf8("backCheckBox"))
        self.gridLayout.addWidget(self.backCheckBox, 0, 5, 1, 1)
        self.gotoButton = QtGui.QPushButton(HexEditGotoWidget)
        self.gotoButton.setEnabled(False)
        self.gotoButton.setObjectName(_fromUtf8("gotoButton"))
        self.gridLayout.addWidget(self.gotoButton, 0, 6, 1, 1)
        self.selectionCheckBox = QtGui.QCheckBox(HexEditGotoWidget)
        self.selectionCheckBox.setObjectName(_fromUtf8("selectionCheckBox"))
        self.gridLayout.addWidget(self.selectionCheckBox, 1, 4, 1, 2)

        self.retranslateUi(HexEditGotoWidget)
        QtCore.QObject.connect(self.offsetEdit, QtCore.SIGNAL(_fromUtf8("returnPressed()")), self.gotoButton.animateClick)
        QtCore.QMetaObject.connectSlotsByName(HexEditGotoWidget)
        HexEditGotoWidget.setTabOrder(self.formatCombo, self.offsetEdit)
        HexEditGotoWidget.setTabOrder(self.offsetEdit, self.cursorCheckBox)
        HexEditGotoWidget.setTabOrder(self.cursorCheckBox, self.backCheckBox)
        HexEditGotoWidget.setTabOrder(self.backCheckBox, self.selectionCheckBox)
        HexEditGotoWidget.setTabOrder(self.selectionCheckBox, self.gotoButton)
        HexEditGotoWidget.setTabOrder(self.gotoButton, self.closeButton)

    def retranslateUi(self, HexEditGotoWidget):
        HexEditGotoWidget.setWindowTitle(_translate("HexEditGotoWidget", "Go to", None))
        self.closeButton.setToolTip(_translate("HexEditGotoWidget", "Press to close the window", None))
        self.label.setText(_translate("HexEditGotoWidget", "Offset:", None))
        self.formatCombo.setToolTip(_translate("HexEditGotoWidget", "Select the data format of the offset field", None))
        self.offsetEdit.setToolTip(_translate("HexEditGotoWidget", "Enter the address to move to or the offset from the cursor position", None))
        self.cursorCheckBox.setToolTip(_translate("HexEditGotoWidget", "Select to move relative to the cursor", None))
        self.cursorCheckBox.setText(_translate("HexEditGotoWidget", "From Cursor", None))
        self.backCheckBox.setToolTip(_translate("HexEditGotoWidget", "Select to move backwards", None))
        self.backCheckBox.setText(_translate("HexEditGotoWidget", "Backwards", None))
        self.gotoButton.setToolTip(_translate("HexEditGotoWidget", "Press to move the cursor", None))
        self.gotoButton.setText(_translate("HexEditGotoWidget", "> Goto", None))
        self.selectionCheckBox.setToolTip(_translate("HexEditGotoWidget", "Select to also extend the selection", None))
        self.selectionCheckBox.setText(_translate("HexEditGotoWidget", "Extend Selection", None))

