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

# Form implementation generated from reading ui file 'C:\Users\hoeren\eclipse-workspace3\TDK\src\ATE\Data\Formats\register_map\utils\regedit\MainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_mainWindow(object):
    def setupUi(self, mainWindow):
        mainWindow.setObjectName("mainWindow")
        mainWindow.resize(650, 650)
        mainWindow.setMinimumSize(QtCore.QSize(650, 650))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        mainWindow.setFont(font)
        self.centralwidget = QtWidgets.QWidget(mainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.registerMapGroupBox = QtWidgets.QGroupBox(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.registerMapGroupBox.sizePolicy().hasHeightForWidth())
        self.registerMapGroupBox.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.registerMapGroupBox.setFont(font)
        self.registerMapGroupBox.setObjectName("registerMapGroupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.registerMapGroupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.directoryLayout = QtWidgets.QHBoxLayout()
        self.directoryLayout.setObjectName("directoryLayout")
        self.directoryLabel = QtWidgets.QLabel(self.registerMapGroupBox)
        self.directoryLabel.setMinimumSize(QtCore.QSize(75, 23))
        self.directoryLabel.setMaximumSize(QtCore.QSize(70, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.directoryLabel.setFont(font)
        self.directoryLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.directoryLabel.setObjectName("directoryLabel")
        self.directoryLayout.addWidget(self.directoryLabel)
        self.directoryLineEdit = QtWidgets.QLineEdit(self.registerMapGroupBox)
        self.directoryLineEdit.setMinimumSize(QtCore.QSize(0, 23))
        self.directoryLineEdit.setMaximumSize(QtCore.QSize(16777215, 23))
        self.directoryLineEdit.setText("")
        self.directoryLineEdit.setObjectName("directoryLineEdit")
        self.directoryLayout.addWidget(self.directoryLineEdit)
        self.changeDirectoryPushButton = QtWidgets.QPushButton(self.registerMapGroupBox)
        self.changeDirectoryPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.changeDirectoryPushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.changeDirectoryPushButton.setFont(font)
        self.changeDirectoryPushButton.setText("")
        self.changeDirectoryPushButton.setIconSize(QtCore.QSize(32, 32))
        self.changeDirectoryPushButton.setObjectName("changeDirectoryPushButton")
        self.directoryLayout.addWidget(self.changeDirectoryPushButton)
        self.verticalLayout.addLayout(self.directoryLayout)
        self.registerMapLayout = QtWidgets.QHBoxLayout()
        self.registerMapLayout.setObjectName("registerMapLayout")
        self.registermapLabel = QtWidgets.QLabel(self.registerMapGroupBox)
        self.registermapLabel.setMinimumSize(QtCore.QSize(75, 23))
        self.registermapLabel.setMaximumSize(QtCore.QSize(70, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registermapLabel.setFont(font)
        self.registermapLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registermapLabel.setObjectName("registermapLabel")
        self.registerMapLayout.addWidget(self.registermapLabel)
        self.registermapComboBox = QtWidgets.QComboBox(self.registerMapGroupBox)
        self.registermapComboBox.setMinimumSize(QtCore.QSize(150, 0))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registermapComboBox.setFont(font)
        self.registermapComboBox.setObjectName("registermapComboBox")
        self.registerMapLayout.addWidget(self.registermapComboBox)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registerMapLayout.addItem(spacerItem)
        self.removeRegistermapPushButton = QtWidgets.QPushButton(self.registerMapGroupBox)
        self.removeRegistermapPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.removeRegistermapPushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.removeRegistermapPushButton.setFont(font)
        self.removeRegistermapPushButton.setText("")
        self.removeRegistermapPushButton.setIconSize(QtCore.QSize(32, 32))
        self.removeRegistermapPushButton.setObjectName("removeRegistermapPushButton")
        self.registerMapLayout.addWidget(self.removeRegistermapPushButton)
        self.copyRegistermapPushButton = QtWidgets.QPushButton(self.registerMapGroupBox)
        self.copyRegistermapPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.copyRegistermapPushButton.setMaximumSize(QtCore.QSize(23, 23))
        self.copyRegistermapPushButton.setText("")
        self.copyRegistermapPushButton.setIconSize(QtCore.QSize(32, 32))
        self.copyRegistermapPushButton.setObjectName("copyRegistermapPushButton")
        self.registerMapLayout.addWidget(self.copyRegistermapPushButton)
        self.exportRegistermapPushButton = QtWidgets.QPushButton(self.registerMapGroupBox)
        self.exportRegistermapPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.exportRegistermapPushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.exportRegistermapPushButton.setFont(font)
        self.exportRegistermapPushButton.setText("")
        self.exportRegistermapPushButton.setIconSize(QtCore.QSize(32, 32))
        self.exportRegistermapPushButton.setObjectName("exportRegistermapPushButton")
        self.registerMapLayout.addWidget(self.exportRegistermapPushButton)
        self.saveAllPushButton = QtWidgets.QPushButton(self.registerMapGroupBox)
        self.saveAllPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.saveAllPushButton.setMaximumSize(QtCore.QSize(23, 23))
        self.saveAllPushButton.setText("")
        self.saveAllPushButton.setIconSize(QtCore.QSize(32, 32))
        self.saveAllPushButton.setObjectName("saveAllPushButton")
        self.registerMapLayout.addWidget(self.saveAllPushButton)
        self.saveRegistermapPushButton = QtWidgets.QPushButton(self.registerMapGroupBox)
        self.saveRegistermapPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.saveRegistermapPushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.saveRegistermapPushButton.setFont(font)
        self.saveRegistermapPushButton.setText("")
        self.saveRegistermapPushButton.setIconSize(QtCore.QSize(32, 32))
        self.saveRegistermapPushButton.setObjectName("saveRegistermapPushButton")
        self.registerMapLayout.addWidget(self.saveRegistermapPushButton)
        self.importRegistermapPushButton = QtWidgets.QPushButton(self.registerMapGroupBox)
        self.importRegistermapPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.importRegistermapPushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.importRegistermapPushButton.setFont(font)
        self.importRegistermapPushButton.setText("")
        self.importRegistermapPushButton.setIconSize(QtCore.QSize(32, 32))
        self.importRegistermapPushButton.setObjectName("importRegistermapPushButton")
        self.registerMapLayout.addWidget(self.importRegistermapPushButton)
        self.addRegistermapPushButton = QtWidgets.QPushButton(self.registerMapGroupBox)
        self.addRegistermapPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.addRegistermapPushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.addRegistermapPushButton.setFont(font)
        self.addRegistermapPushButton.setText("")
        self.addRegistermapPushButton.setIconSize(QtCore.QSize(32, 32))
        self.addRegistermapPushButton.setObjectName("addRegistermapPushButton")
        self.registerMapLayout.addWidget(self.addRegistermapPushButton)
        self.verticalLayout.addLayout(self.registerMapLayout)
        self.verticalLayout_3.addWidget(self.registerMapGroupBox)
        self.registersGroupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.registersGroupBox.setEnabled(True)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.registersGroupBox.setFont(font)
        self.registersGroupBox.setAutoFillBackground(False)
        self.registersGroupBox.setObjectName("registersGroupBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.registersGroupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.leftFrame = QtWidgets.QFrame(self.registersGroupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leftFrame.sizePolicy().hasHeightForWidth())
        self.leftFrame.setSizePolicy(sizePolicy)
        self.leftFrame.setMinimumSize(QtCore.QSize(161, 300))
        self.leftFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.leftFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.leftFrame.setObjectName("leftFrame")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.leftFrame)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.registersListWidget = QtWidgets.QListWidget(self.leftFrame)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registersListWidget.setFont(font)
        self.registersListWidget.setObjectName("registersListWidget")
        self.verticalLayout_2.addWidget(self.registersListWidget)
        self.registersAddRemoveButtonLayout = QtWidgets.QHBoxLayout()
        self.registersAddRemoveButtonLayout.setObjectName("registersAddRemoveButtonLayout")
        self.removeRegisterPushButton = QtWidgets.QPushButton(self.leftFrame)
        self.removeRegisterPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.removeRegisterPushButton.setMaximumSize(QtCore.QSize(23, 23))
        self.removeRegisterPushButton.setText("")
        self.removeRegisterPushButton.setIconSize(QtCore.QSize(32, 32))
        self.removeRegisterPushButton.setObjectName("removeRegisterPushButton")
        self.registersAddRemoveButtonLayout.addWidget(self.removeRegisterPushButton)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registersAddRemoveButtonLayout.addItem(spacerItem1)
        self.addRegisterPushButton = QtWidgets.QPushButton(self.leftFrame)
        self.addRegisterPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.addRegisterPushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.addRegisterPushButton.setFont(font)
        self.addRegisterPushButton.setText("")
        self.addRegisterPushButton.setIconSize(QtCore.QSize(32, 32))
        self.addRegisterPushButton.setObjectName("addRegisterPushButton")
        self.registersAddRemoveButtonLayout.addWidget(self.addRegisterPushButton)
        self.verticalLayout_2.addLayout(self.registersAddRemoveButtonLayout)
        self.horizontalLayout.addWidget(self.leftFrame)
        self.rightFrame = QtWidgets.QFrame(self.registersGroupBox)
        self.rightFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.rightFrame.setFrameShadow(QtWidgets.QFrame.Raised)
        self.rightFrame.setObjectName("rightFrame")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.rightFrame)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.sizeAndFormatLayout = QtWidgets.QHBoxLayout()
        self.sizeAndFormatLayout.setObjectName("sizeAndFormatLayout")
        self.sizeLayout = QtWidgets.QVBoxLayout()
        self.sizeLayout.setObjectName("sizeLayout")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_9 = QtWidgets.QLabel(self.rightFrame)
        self.label_9.setMinimumSize(QtCore.QSize(85, 20))
        self.label_9.setMaximumSize(QtCore.QSize(70, 20))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_9.setFont(font)
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_4.addWidget(self.label_9)
        self.addressSizeLineEdit = QtWidgets.QLineEdit(self.rightFrame)
        self.addressSizeLineEdit.setMinimumSize(QtCore.QSize(100, 20))
        self.addressSizeLineEdit.setMaximumSize(QtCore.QSize(100, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.addressSizeLineEdit.setFont(font)
        self.addressSizeLineEdit.setText("")
        self.addressSizeLineEdit.setObjectName("addressSizeLineEdit")
        self.horizontalLayout_4.addWidget(self.addressSizeLineEdit)
        self.sizeLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_6 = QtWidgets.QLabel(self.rightFrame)
        self.label_6.setMinimumSize(QtCore.QSize(85, 20))
        self.label_6.setMaximumSize(QtCore.QSize(70, 20))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_5.addWidget(self.label_6)
        self.wordSizeLineEdit = QtWidgets.QLineEdit(self.rightFrame)
        self.wordSizeLineEdit.setMinimumSize(QtCore.QSize(100, 20))
        self.wordSizeLineEdit.setMaximumSize(QtCore.QSize(100, 20))
        self.wordSizeLineEdit.setObjectName("wordSizeLineEdit")
        self.horizontalLayout_5.addWidget(self.wordSizeLineEdit)
        self.sizeLayout.addLayout(self.horizontalLayout_5)
        self.sizeAndFormatLayout.addLayout(self.sizeLayout)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.sizeAndFormatLayout.addItem(spacerItem2)
        self.formatLayout = QtWidgets.QGroupBox(self.rightFrame)
        self.formatLayout.setObjectName("formatLayout")
        self.gridLayout = QtWidgets.QGridLayout(self.formatLayout)
        self.gridLayout.setObjectName("gridLayout")
        self.hexadecimalRadioButton = QtWidgets.QRadioButton(self.formatLayout)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.hexadecimalRadioButton.setFont(font)
        self.hexadecimalRadioButton.setObjectName("hexadecimalRadioButton")
        self.gridLayout.addWidget(self.hexadecimalRadioButton, 0, 0, 1, 1)
        self.octalRadioButton = QtWidgets.QRadioButton(self.formatLayout)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.octalRadioButton.setFont(font)
        self.octalRadioButton.setObjectName("octalRadioButton")
        self.gridLayout.addWidget(self.octalRadioButton, 0, 1, 1, 1)
        self.decimalRadioButton = QtWidgets.QRadioButton(self.formatLayout)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.decimalRadioButton.setFont(font)
        self.decimalRadioButton.setChecked(True)
        self.decimalRadioButton.setObjectName("decimalRadioButton")
        self.gridLayout.addWidget(self.decimalRadioButton, 1, 0, 1, 1)
        self.binaryRadioButton = QtWidgets.QRadioButton(self.formatLayout)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.binaryRadioButton.setFont(font)
        self.binaryRadioButton.setObjectName("binaryRadioButton")
        self.gridLayout.addWidget(self.binaryRadioButton, 1, 1, 1, 1)
        self.sizeAndFormatLayout.addWidget(self.formatLayout)
        self.verticalLayout_7.addLayout(self.sizeAndFormatLayout)
        self.registerDetailsGroupBox = QtWidgets.QGroupBox(self.rightFrame)
        self.registerDetailsGroupBox.setObjectName("registerDetailsGroupBox")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.registerDetailsGroupBox)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.registerNameLayout = QtWidgets.QHBoxLayout()
        self.registerNameLayout.setObjectName("registerNameLayout")
        self.registerNameLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerNameLabel.setMinimumSize(QtCore.QSize(70, 22))
        self.registerNameLabel.setMaximumSize(QtCore.QSize(70, 22))
        self.registerNameLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registerNameLabel.setObjectName("registerNameLabel")
        self.registerNameLayout.addWidget(self.registerNameLabel)
        self.registerNameLineEdit = QtWidgets.QLineEdit(self.registerDetailsGroupBox)
        self.registerNameLineEdit.setMinimumSize(QtCore.QSize(131, 20))
        self.registerNameLineEdit.setMaximumSize(QtCore.QSize(256, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registerNameLineEdit.setFont(font)
        self.registerNameLineEdit.setText("")
        self.registerNameLineEdit.setObjectName("registerNameLineEdit")
        self.registerNameLayout.addWidget(self.registerNameLineEdit)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registerNameLayout.addItem(spacerItem3)
        self.verticalLayout_4.addLayout(self.registerNameLayout)
        self.registerDescriptionLayout = QtWidgets.QHBoxLayout()
        self.registerDescriptionLayout.setObjectName("registerDescriptionLayout")
        self.registerDescriptionLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerDescriptionLabel.setMinimumSize(QtCore.QSize(70, 22))
        self.registerDescriptionLabel.setMaximumSize(QtCore.QSize(60, 22))
        self.registerDescriptionLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registerDescriptionLabel.setObjectName("registerDescriptionLabel")
        self.registerDescriptionLayout.addWidget(self.registerDescriptionLabel)
        self.registerDescriptionLineEdit = QtWidgets.QLineEdit(self.registerDetailsGroupBox)
        self.registerDescriptionLineEdit.setMinimumSize(QtCore.QSize(150, 20))
        self.registerDescriptionLineEdit.setMaximumSize(QtCore.QSize(16777215, 20))
        self.registerDescriptionLineEdit.setObjectName("registerDescriptionLineEdit")
        self.registerDescriptionLayout.addWidget(self.registerDescriptionLineEdit)
        self.verticalLayout_4.addLayout(self.registerDescriptionLayout)
        self.registerOffsetLayout = QtWidgets.QHBoxLayout()
        self.registerOffsetLayout.setObjectName("registerOffsetLayout")
        self.registerOffsetLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerOffsetLabel.setMinimumSize(QtCore.QSize(70, 22))
        self.registerOffsetLabel.setMaximumSize(QtCore.QSize(60, 22))
        self.registerOffsetLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registerOffsetLabel.setObjectName("registerOffsetLabel")
        self.registerOffsetLayout.addWidget(self.registerOffsetLabel)
        self.registerOffsetSpinBox = QtWidgets.QSpinBox(self.registerDetailsGroupBox)
        self.registerOffsetSpinBox.setMinimumSize(QtCore.QSize(42, 22))
        self.registerOffsetSpinBox.setMaximumSize(QtCore.QSize(16777215, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registerOffsetSpinBox.setFont(font)
        self.registerOffsetSpinBox.setObjectName("registerOffsetSpinBox")
        self.registerOffsetLayout.addWidget(self.registerOffsetSpinBox)
        self.label = QtWidgets.QLabel(self.registerDetailsGroupBox)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.registerOffsetLayout.addWidget(self.label)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registerOffsetLayout.addItem(spacerItem4)
        self.verticalLayout_4.addLayout(self.registerOffsetLayout)
        self.registerWordsLayout = QtWidgets.QHBoxLayout()
        self.registerWordsLayout.setObjectName("registerWordsLayout")
        self.registerWordsLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerWordsLabel.setMinimumSize(QtCore.QSize(70, 22))
        self.registerWordsLabel.setMaximumSize(QtCore.QSize(60, 22))
        self.registerWordsLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registerWordsLabel.setObjectName("registerWordsLabel")
        self.registerWordsLayout.addWidget(self.registerWordsLabel)
        self.registerWordsSpinBox = QtWidgets.QSpinBox(self.registerDetailsGroupBox)
        self.registerWordsSpinBox.setMinimumSize(QtCore.QSize(42, 22))
        self.registerWordsSpinBox.setMaximumSize(QtCore.QSize(16777215, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registerWordsSpinBox.setFont(font)
        self.registerWordsSpinBox.setMinimum(1)
        self.registerWordsSpinBox.setProperty("value", 1)
        self.registerWordsSpinBox.setObjectName("registerWordsSpinBox")
        self.registerWordsLayout.addWidget(self.registerWordsSpinBox)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registerWordsLayout.addItem(spacerItem5)
        self.verticalLayout_4.addLayout(self.registerWordsLayout)
        self.registerRepresentationLayout = QtWidgets.QVBoxLayout()
        self.registerRepresentationLayout.setObjectName("registerRepresentationLayout")
        self.registerRepresentationOffsetLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerRepresentationOffsetLabel.setMinimumSize(QtCore.QSize(400, 20))
        self.registerRepresentationOffsetLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Monospac821 BT")
        font.setBold(False)
        font.setWeight(50)
        self.registerRepresentationOffsetLabel.setFont(font)
        self.registerRepresentationOffsetLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.registerRepresentationOffsetLabel.setObjectName("registerRepresentationOffsetLabel")
        self.registerRepresentationLayout.addWidget(self.registerRepresentationOffsetLabel)
        self.registerRepresentationUtilizationLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerRepresentationUtilizationLabel.setMinimumSize(QtCore.QSize(400, 20))
        self.registerRepresentationUtilizationLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Monospac821 BT")
        font.setBold(False)
        font.setWeight(50)
        self.registerRepresentationUtilizationLabel.setFont(font)
        self.registerRepresentationUtilizationLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.registerRepresentationUtilizationLabel.setObjectName("registerRepresentationUtilizationLabel")
        self.registerRepresentationLayout.addWidget(self.registerRepresentationUtilizationLabel)
        self.registerRepresentationBitsLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerRepresentationBitsLabel.setMinimumSize(QtCore.QSize(400, 20))
        self.registerRepresentationBitsLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        font = QtGui.QFont()
        font.setFamily("Monospac821 BT")
        font.setBold(False)
        font.setWeight(50)
        self.registerRepresentationBitsLabel.setFont(font)
        self.registerRepresentationBitsLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.registerRepresentationBitsLabel.setObjectName("registerRepresentationBitsLabel")
        self.registerRepresentationLayout.addWidget(self.registerRepresentationBitsLabel)
        self.verticalLayout_4.addLayout(self.registerRepresentationLayout)
        self.registerSliceLayout = QtWidgets.QHBoxLayout()
        self.registerSliceLayout.setObjectName("registerSliceLayout")
        self.registerSliceLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerSliceLabel.setMinimumSize(QtCore.QSize(70, 22))
        self.registerSliceLabel.setMaximumSize(QtCore.QSize(60, 22))
        self.registerSliceLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registerSliceLabel.setObjectName("registerSliceLabel")
        self.registerSliceLayout.addWidget(self.registerSliceLabel)
        self.registerSliceLineEdit = QtWidgets.QLineEdit(self.registerDetailsGroupBox)
        self.registerSliceLineEdit.setMinimumSize(QtCore.QSize(100, 20))
        self.registerSliceLineEdit.setMaximumSize(QtCore.QSize(100, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registerSliceLineEdit.setFont(font)
        self.registerSliceLineEdit.setObjectName("registerSliceLineEdit")
        self.registerSliceLayout.addWidget(self.registerSliceLineEdit)
        spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registerSliceLayout.addItem(spacerItem6)
        self.verticalLayout_4.addLayout(self.registerSliceLayout)
        self.registerAccessLayout = QtWidgets.QHBoxLayout()
        self.registerAccessLayout.setObjectName("registerAccessLayout")
        self.registerAccessLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerAccessLabel.setMinimumSize(QtCore.QSize(70, 22))
        self.registerAccessLabel.setMaximumSize(QtCore.QSize(60, 22))
        self.registerAccessLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registerAccessLabel.setObjectName("registerAccessLabel")
        self.registerAccessLayout.addWidget(self.registerAccessLabel)
        self.registerAccessComboBox = QtWidgets.QComboBox(self.registerDetailsGroupBox)
        self.registerAccessComboBox.setMinimumSize(QtCore.QSize(55, 22))
        self.registerAccessComboBox.setMaximumSize(QtCore.QSize(55, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registerAccessComboBox.setFont(font)
        self.registerAccessComboBox.setObjectName("registerAccessComboBox")
        self.registerAccessComboBox.addItem("")
        self.registerAccessComboBox.addItem("")
        self.registerAccessComboBox.addItem("")
        self.registerAccessLayout.addWidget(self.registerAccessComboBox)
        spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registerAccessLayout.addItem(spacerItem7)
        self.verticalLayout_4.addLayout(self.registerAccessLayout)
        self.registerDefaultLayout = QtWidgets.QHBoxLayout()
        self.registerDefaultLayout.setObjectName("registerDefaultLayout")
        self.registerDefaultLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerDefaultLabel.setMinimumSize(QtCore.QSize(70, 22))
        self.registerDefaultLabel.setMaximumSize(QtCore.QSize(60, 22))
        self.registerDefaultLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registerDefaultLabel.setObjectName("registerDefaultLabel")
        self.registerDefaultLayout.addWidget(self.registerDefaultLabel)
        self.registerDefaultLineEdit = QtWidgets.QLineEdit(self.registerDetailsGroupBox)
        self.registerDefaultLineEdit.setMinimumSize(QtCore.QSize(131, 20))
        self.registerDefaultLineEdit.setMaximumSize(QtCore.QSize(256, 20))
        self.registerDefaultLineEdit.setObjectName("registerDefaultLineEdit")
        self.registerDefaultLayout.addWidget(self.registerDefaultLineEdit)
        spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registerDefaultLayout.addItem(spacerItem8)
        self.verticalLayout_4.addLayout(self.registerDefaultLayout)
        self.registerPresetsLayout = QtWidgets.QHBoxLayout()
        self.registerPresetsLayout.setObjectName("registerPresetsLayout")
        self.registerPresetsLabelLayout = QtWidgets.QVBoxLayout()
        self.registerPresetsLabelLayout.setObjectName("registerPresetsLabelLayout")
        self.registerPresetsLabel = QtWidgets.QLabel(self.registerDetailsGroupBox)
        self.registerPresetsLabel.setMinimumSize(QtCore.QSize(70, 22))
        self.registerPresetsLabel.setMaximumSize(QtCore.QSize(60, 22))
        self.registerPresetsLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.registerPresetsLabel.setObjectName("registerPresetsLabel")
        self.registerPresetsLabelLayout.addWidget(self.registerPresetsLabel)
        spacerItem9 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.registerPresetsLabelLayout.addItem(spacerItem9)
        self.registerPresetsLayout.addLayout(self.registerPresetsLabelLayout)
        self.registerPresetsDataLayout = QtWidgets.QVBoxLayout()
        self.registerPresetsDataLayout.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.registerPresetsDataLayout.setObjectName("registerPresetsDataLayout")
        self.registerPresetsTableWidget = QtWidgets.QTableWidget(self.registerDetailsGroupBox)
        self.registerPresetsTableWidget.setMinimumSize(QtCore.QSize(320, 25))
        self.registerPresetsTableWidget.setObjectName("registerPresetsTableWidget")
        self.registerPresetsTableWidget.setColumnCount(2)
        self.registerPresetsTableWidget.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.registerPresetsTableWidget.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.registerPresetsTableWidget.setHorizontalHeaderItem(1, item)
        self.registerPresetsDataLayout.addWidget(self.registerPresetsTableWidget)
        self.registerPresetsAddRemoveLayout = QtWidgets.QHBoxLayout()
        self.registerPresetsAddRemoveLayout.setObjectName("registerPresetsAddRemoveLayout")
        self.registerPresetsRemovePushButton = QtWidgets.QPushButton(self.registerDetailsGroupBox)
        self.registerPresetsRemovePushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.registerPresetsRemovePushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registerPresetsRemovePushButton.setFont(font)
        self.registerPresetsRemovePushButton.setText("")
        self.registerPresetsRemovePushButton.setIconSize(QtCore.QSize(32, 32))
        self.registerPresetsRemovePushButton.setObjectName("registerPresetsRemovePushButton")
        self.registerPresetsAddRemoveLayout.addWidget(self.registerPresetsRemovePushButton)
        spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.registerPresetsAddRemoveLayout.addItem(spacerItem10)
        self.registerPresetsAddPushButton = QtWidgets.QPushButton(self.registerDetailsGroupBox)
        self.registerPresetsAddPushButton.setMinimumSize(QtCore.QSize(23, 23))
        self.registerPresetsAddPushButton.setMaximumSize(QtCore.QSize(23, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.registerPresetsAddPushButton.setFont(font)
        self.registerPresetsAddPushButton.setText("")
        self.registerPresetsAddPushButton.setIconSize(QtCore.QSize(32, 32))
        self.registerPresetsAddPushButton.setObjectName("registerPresetsAddPushButton")
        self.registerPresetsAddRemoveLayout.addWidget(self.registerPresetsAddPushButton)
        self.registerPresetsDataLayout.addLayout(self.registerPresetsAddRemoveLayout)
        self.registerPresetsLayout.addLayout(self.registerPresetsDataLayout)
        self.verticalLayout_4.addLayout(self.registerPresetsLayout)
        self.verticalLayout_7.addWidget(self.registerDetailsGroupBox)
        self.horizontalLayout.addWidget(self.rightFrame)
        self.verticalLayout_3.addWidget(self.registersGroupBox)
        mainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(mainWindow)
        self.statusbar.setObjectName("statusbar")
        mainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(mainWindow)
        QtCore.QMetaObject.connectSlotsByName(mainWindow)
        mainWindow.setTabOrder(self.directoryLineEdit, self.changeDirectoryPushButton)
        mainWindow.setTabOrder(self.changeDirectoryPushButton, self.registermapComboBox)
        mainWindow.setTabOrder(self.registermapComboBox, self.removeRegistermapPushButton)
        mainWindow.setTabOrder(self.removeRegistermapPushButton, self.exportRegistermapPushButton)
        mainWindow.setTabOrder(self.exportRegistermapPushButton, self.saveAllPushButton)
        mainWindow.setTabOrder(self.saveAllPushButton, self.saveRegistermapPushButton)
        mainWindow.setTabOrder(self.saveRegistermapPushButton, self.importRegistermapPushButton)
        mainWindow.setTabOrder(self.importRegistermapPushButton, self.addRegistermapPushButton)
        mainWindow.setTabOrder(self.addRegistermapPushButton, self.registersListWidget)
        mainWindow.setTabOrder(self.registersListWidget, self.addRegisterPushButton)
        mainWindow.setTabOrder(self.addRegisterPushButton, self.removeRegisterPushButton)
        mainWindow.setTabOrder(self.removeRegisterPushButton, self.registerNameLineEdit)
        mainWindow.setTabOrder(self.registerNameLineEdit, self.registerDescriptionLineEdit)
        mainWindow.setTabOrder(self.registerDescriptionLineEdit, self.registerOffsetSpinBox)
        mainWindow.setTabOrder(self.registerOffsetSpinBox, self.registerWordsSpinBox)
        mainWindow.setTabOrder(self.registerWordsSpinBox, self.registerAccessComboBox)
        mainWindow.setTabOrder(self.registerAccessComboBox, self.registerPresetsTableWidget)
        mainWindow.setTabOrder(self.registerPresetsTableWidget, self.registerPresetsAddPushButton)
        mainWindow.setTabOrder(self.registerPresetsAddPushButton, self.registerPresetsRemovePushButton)
        mainWindow.setTabOrder(self.registerPresetsRemovePushButton, self.decimalRadioButton)
        mainWindow.setTabOrder(self.decimalRadioButton, self.hexadecimalRadioButton)
        mainWindow.setTabOrder(self.hexadecimalRadioButton, self.binaryRadioButton)
        mainWindow.setTabOrder(self.binaryRadioButton, self.octalRadioButton)

    def retranslateUi(self, mainWindow):
        _translate = QtCore.QCoreApplication.translate
        mainWindow.setWindowTitle(_translate("mainWindow", "Register Map Editor"))
        self.registerMapGroupBox.setTitle(_translate("mainWindow", "Register Map:"))
        self.directoryLabel.setText(_translate("mainWindow", "Directory:"))
        self.changeDirectoryPushButton.setToolTip(_translate("mainWindow", "Change Directory"))
        self.registermapLabel.setText(_translate("mainWindow", "Register Map:"))
        self.registermapComboBox.setToolTip(_translate("mainWindow", "Select register map from directory"))
        self.removeRegistermapPushButton.setToolTip(_translate("mainWindow", "Delete current register map from disk !"))
        self.copyRegistermapPushButton.setToolTip(_translate("mainWindow", "Copy current register map to new name"))
        self.exportRegistermapPushButton.setToolTip(_translate("mainWindow", "Export Current Register Map"))
        self.saveAllPushButton.setToolTip(_translate("mainWindow", "Save All Register Maps"))
        self.saveRegistermapPushButton.setToolTip(_translate("mainWindow", "Save Current Register Map"))
        self.importRegistermapPushButton.setToolTip(_translate("mainWindow", "Import Register Map"))
        self.addRegistermapPushButton.setToolTip(_translate("mainWindow", "Add Register Map"))
        self.registersGroupBox.setTitle(_translate("mainWindow", "Registers:"))
        self.removeRegisterPushButton.setToolTip(_translate("mainWindow", "Remove Selected Register"))
        self.addRegisterPushButton.setToolTip(_translate("mainWindow", "Add Register"))
        self.label_9.setText(_translate("mainWindow", "Address Size:"))
        self.label_6.setText(_translate("mainWindow", "Word Size:"))
        self.formatLayout.setTitle(_translate("mainWindow", "Representation format:"))
        self.hexadecimalRadioButton.setToolTip(_translate("mainWindow", "0xFF = 255"))
        self.hexadecimalRadioButton.setText(_translate("mainWindow", "Hexadecimal"))
        self.octalRadioButton.setToolTip(_translate("mainWindow", "0o377 = 255"))
        self.octalRadioButton.setText(_translate("mainWindow", "Octal"))
        self.decimalRadioButton.setToolTip(_translate("mainWindow", "255"))
        self.decimalRadioButton.setText(_translate("mainWindow", "Decimal"))
        self.binaryRadioButton.setToolTip(_translate("mainWindow", "0b11111111 = 255"))
        self.binaryRadioButton.setText(_translate("mainWindow", "Binary"))
        self.registerDetailsGroupBox.setTitle(_translate("mainWindow", "Details:"))
        self.registerNameLabel.setText(_translate("mainWindow", "Name:"))
        self.registerNameLineEdit.setToolTip(_translate("mainWindow", "Register Name"))
        self.registerDescriptionLabel.setText(_translate("mainWindow", "Description:"))
        self.registerDescriptionLineEdit.setToolTip(_translate("mainWindow", "Register Description"))
        self.registerOffsetLabel.setText(_translate("mainWindow", "Offset:"))
        self.registerOffsetSpinBox.setToolTip(_translate("mainWindow", "Offset in words from the beginning"))
        self.label.setText(_translate("mainWindow", "words"))
        self.registerWordsLabel.setText(_translate("mainWindow", "Words:"))
        self.registerWordsSpinBox.setToolTip(_translate("mainWindow", "Number of words in this register"))
        self.registerRepresentationOffsetLabel.setText(_translate("mainWindow", "........ ........ ........ ........ ........"))
        self.registerRepresentationUtilizationLabel.setText(_translate("mainWindow", "........ ........ ........ ........ ........"))
        self.registerRepresentationBitsLabel.setText(_translate("mainWindow", "........ ........ ........ ........ ........"))
        self.registerSliceLabel.setText(_translate("mainWindow", "Slice:"))
        self.registerSliceLineEdit.setText(_translate("mainWindow", "bit 99 to bit 99"))
        self.registerAccessLabel.setText(_translate("mainWindow", "Access:"))
        self.registerAccessComboBox.setToolTip(_translate("mainWindow", "How the register can be accessed"))
        self.registerAccessComboBox.setItemText(0, _translate("mainWindow", "R/W"))
        self.registerAccessComboBox.setItemText(1, _translate("mainWindow", "R"))
        self.registerAccessComboBox.setItemText(2, _translate("mainWindow", "W"))
        self.registerDefaultLabel.setText(_translate("mainWindow", "Default:"))
        self.registerPresetsLabel.setText(_translate("mainWindow", "Presets:"))
        item = self.registerPresetsTableWidget.horizontalHeaderItem(0)
        item.setText(_translate("mainWindow", "Preset"))
        item = self.registerPresetsTableWidget.horizontalHeaderItem(1)
        item.setText(_translate("mainWindow", "Description"))
        self.registerPresetsRemovePushButton.setToolTip(_translate("mainWindow", "Remove Selected Preset"))
        self.registerPresetsAddPushButton.setToolTip(_translate("mainWindow", "Add Preset"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    mainWindow = QtWidgets.QMainWindow()
    ui = Ui_mainWindow()
    ui.setupUi(mainWindow)
    mainWindow.show()
    sys.exit(app.exec_())

