def METHOD_NAME(self, uiConsoleCommandDialog):
    uiConsoleCommandDialog.setObjectName("uiConsoleCommandDialog")
    uiConsoleCommandDialog.resize(965, 547)
    sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
    sizePolicy.setHorizontalStretch(0)
    sizePolicy.setVerticalStretch(0)
    sizePolicy.setHeightForWidth(uiConsoleCommandDialog.sizePolicy().hasHeightForWidth())
    uiConsoleCommandDialog.setSizePolicy(sizePolicy)
    uiConsoleCommandDialog.setMinimumSize(QtCore.QSize(0, 0))
    uiConsoleCommandDialog.setModal(True)
    self.verticalLayout = QtWidgets.QVBoxLayout(uiConsoleCommandDialog)
    self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
    self.verticalLayout.setObjectName("verticalLayout")
    self.label_2 = QtWidgets.QLabel(uiConsoleCommandDialog)
    self.label_2.setObjectName("label_2")
    self.verticalLayout.addWidget(self.label_2)
    self.horizontalLayout = QtWidgets.QHBoxLayout()
    self.horizontalLayout.setObjectName("horizontalLayout")
    self.uiCommandComboBox = QtWidgets.QComboBox(uiConsoleCommandDialog)
    sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
    sizePolicy.setHorizontalStretch(0)
    sizePolicy.setVerticalStretch(0)
    sizePolicy.setHeightForWidth(self.uiCommandComboBox.sizePolicy().hasHeightForWidth())
    self.uiCommandComboBox.setSizePolicy(sizePolicy)
    self.uiCommandComboBox.setObjectName("uiCommandComboBox")
    self.horizontalLayout.addWidget(self.uiCommandComboBox)
    self.uiRemovePushButton = QtWidgets.QPushButton(uiConsoleCommandDialog)
    self.uiRemovePushButton.setObjectName("uiRemovePushButton")
    self.horizontalLayout.addWidget(self.uiRemovePushButton)
    self.uiSavePushButton = QtWidgets.QPushButton(uiConsoleCommandDialog)
    self.uiSavePushButton.setObjectName("uiSavePushButton")
    self.horizontalLayout.addWidget(self.uiSavePushButton)
    self.verticalLayout.addLayout(self.horizontalLayout)
    self.label = QtWidgets.QLabel(uiConsoleCommandDialog)
    self.label.setTextFormat(QtCore.Qt.RichText)
    self.label.setObjectName("label")
    self.verticalLayout.addWidget(self.label)
    self.uiCommandPlainTextEdit = QtWidgets.QPlainTextEdit(uiConsoleCommandDialog)
    self.uiCommandPlainTextEdit.setMinimumSize(QtCore.QSize(500, 0))
    self.uiCommandPlainTextEdit.setObjectName("uiCommandPlainTextEdit")
    self.verticalLayout.addWidget(self.uiCommandPlainTextEdit)
    self.uiButtonBox = QtWidgets.QDialogButtonBox(uiConsoleCommandDialog)
    self.uiButtonBox.setOrientation(QtCore.Qt.Horizontal)
    self.uiButtonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
    self.uiButtonBox.setObjectName("uiButtonBox")
    self.verticalLayout.addWidget(self.uiButtonBox)
    self.retranslateUi(uiConsoleCommandDialog)
    self.uiButtonBox.accepted.connect(uiConsoleCommandDialog.accept)
    self.uiButtonBox.rejected.connect(uiConsoleCommandDialog.reject)
    QtCore.QMetaObject.connectSlotsByName(uiConsoleCommandDialog)