# Form implementation generated from reading ui file '..\ui\dialogs\insert_instance.ui'
#
# Created by: PyQt6 UI code generator 6.6.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(300, 747)
        self.horizontalLayout = QtWidgets.QHBoxLayout(Dialog)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.sidebarLayout = QtWidgets.QVBoxLayout()
        self.sidebarLayout.setObjectName("sidebarLayout")
        self.dynamicTextLabel = QtWidgets.QLabel(parent=Dialog)
        self.dynamicTextLabel.setObjectName("dynamicTextLabel")
        self.sidebarLayout.addWidget(self.dynamicTextLabel)
        self.staticTextLabel = QtWidgets.QLabel(parent=Dialog)
        self.staticTextLabel.setObjectName("staticTextLabel")
        self.sidebarLayout.addWidget(self.staticTextLabel)
        self.previewRenderer = ModelRenderer(parent=Dialog)
        self.previewRenderer.setMinimumSize(QtCore.QSize(350, 0))
        self.previewRenderer.setMouseTracking(True)
        self.previewRenderer.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
        self.previewRenderer.setObjectName("previewRenderer")
        self.sidebarLayout.addWidget(self.previewRenderer)
        self.horizontalLayout.addLayout(self.sidebarLayout)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label = QtWidgets.QLabel(parent=Dialog)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label)
        self.resrefEdit = QtWidgets.QLineEdit(parent=Dialog)
        self.resrefEdit.setEnabled(False)
        self.resrefEdit.setMaxLength(16)
        self.resrefEdit.setObjectName("resrefEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.resrefEdit)
        self.label_2 = QtWidgets.QLabel(parent=Dialog)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
        self.locationSelect = QtWidgets.QComboBox(parent=Dialog)
        self.locationSelect.setObjectName("locationSelect")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.ItemRole.FieldRole, self.locationSelect)
        self.verticalLayout.addLayout(self.formLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.reuseResourceRadio = QtWidgets.QRadioButton(parent=Dialog)
        self.reuseResourceRadio.setChecked(True)
        self.reuseResourceRadio.setObjectName("reuseResourceRadio")
        self.horizontalLayout_2.addWidget(self.reuseResourceRadio)
        self.copyResourceRadio = QtWidgets.QRadioButton(parent=Dialog)
        self.copyResourceRadio.setObjectName("copyResourceRadio")
        self.horizontalLayout_2.addWidget(self.copyResourceRadio)
        self.createResourceRadio = QtWidgets.QRadioButton(parent=Dialog)
        self.createResourceRadio.setObjectName("createResourceRadio")
        self.horizontalLayout_2.addWidget(self.createResourceRadio)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.groupBox = QtWidgets.QGroupBox(parent=Dialog)
        self.groupBox.setTitle("")
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.resourceFilter = QtWidgets.QLineEdit(parent=self.groupBox)
        self.resourceFilter.setObjectName("resourceFilter")
        self.verticalLayout_2.addWidget(self.resourceFilter)
        self.resourceList = QtWidgets.QListWidget(parent=self.groupBox)
        self.resourceList.setObjectName("resourceList")
        self.verticalLayout_2.addWidget(self.resourceList)
        self.verticalLayout.addWidget(self.groupBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)
        self.horizontalLayout.addLayout(self.verticalLayout)

        self.retranslateUi(Dialog)
        self.buttonBox.accepted.connect(Dialog.accept) # type: ignore
        self.buttonBox.rejected.connect(Dialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Insert Instance"))
        self.dynamicTextLabel.setText(_translate("Dialog", "Dynamic Text"))
        self.staticTextLabel.setText(_translate("Dialog", "Selected Resource"))
        self.label.setText(_translate("Dialog", "ResRef:"))
        self.label_2.setText(_translate("Dialog", "Location:"))
        self.reuseResourceRadio.setText(_translate("Dialog", "Reuse Resource"))
        self.copyResourceRadio.setText(_translate("Dialog", "Copy Resource"))
        self.createResourceRadio.setText(_translate("Dialog", "Create Resource"))
        self.resourceFilter.setPlaceholderText(_translate("Dialog", "search..."))
        self.resourceList.setSortingEnabled(True)
from toolset.gui.widgets.renderer.model import ModelRenderer

from toolset.rcc import resources_rc_pyqt6
