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

# Form implementation generated from reading ui file 'pkmidicron/preferencesdialog.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_PreferencesDialog(object):
    def setupUi(self, PreferencesDialog):
        PreferencesDialog.setObjectName("PreferencesDialog")
        PreferencesDialog.setWindowModality(QtCore.Qt.WindowModal)
        PreferencesDialog.resize(437, 575)
        PreferencesDialog.setMinimumSize(QtCore.QSize(250, 0))
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(PreferencesDialog)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.stackedWidget = QtWidgets.QStackedWidget(PreferencesDialog)
        self.stackedWidget.setObjectName("stackedWidget")
        self.generalPage = QtWidgets.QWidget()
        self.generalPage.setObjectName("generalPage")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.generalPage)
        self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.groupBox_4 = QtWidgets.QGroupBox(self.generalPage)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.enableNetworkingBox = QtWidgets.QCheckBox(self.groupBox_4)
        self.enableNetworkingBox.setObjectName("enableNetworkingBox")
        self.verticalLayout_4.addWidget(self.enableNetworkingBox)
        self.verticalLayout_6.addWidget(self.groupBox_4)
        self.groupBox = QtWidgets.QGroupBox(self.generalPage)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.iconOnlyButton = QtWidgets.QRadioButton(self.groupBox)
        self.iconOnlyButton.setObjectName("iconOnlyButton")
        self.verticalLayout.addWidget(self.iconOnlyButton)
        self.iconPlusNameButton = QtWidgets.QRadioButton(self.groupBox)
        self.iconPlusNameButton.setObjectName("iconPlusNameButton")
        self.verticalLayout.addWidget(self.iconPlusNameButton)
        self.verticalLayout_6.addWidget(self.groupBox)
        self.splitter = QtWidgets.QSplitter(self.generalPage)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName("splitter")
        self.groupBox_2 = QtWidgets.QGroupBox(self.splitter)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_3.setContentsMargins(-1, -1, -1, 0)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.enableAllInputsBox = QtWidgets.QCheckBox(self.groupBox_2)
        self.enableAllInputsBox.setObjectName("enableAllInputsBox")
        self.horizontalLayout_3.addWidget(self.enableAllInputsBox)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.portList = ListWidget(self.groupBox_2)
        self.portList.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
        self.portList.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.portList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.portList.setObjectName("portList")
        self.verticalLayout_3.addWidget(self.portList)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.addPortButton = QtWidgets.QPushButton(self.groupBox_2)
        self.addPortButton.setObjectName("addPortButton")
        self.horizontalLayout.addWidget(self.addPortButton)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.groupBox_3 = QtWidgets.QGroupBox(self.splitter)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_2.setContentsMargins(-1, -1, -1, 0)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pythonPathList = QtWidgets.QListWidget(self.groupBox_3)
        self.pythonPathList.setAcceptDrops(True)
        self.pythonPathList.setDragDropMode(QtWidgets.QAbstractItemView.DropOnly)
        self.pythonPathList.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectItems)
        self.pythonPathList.setObjectName("pythonPathList")
        self.verticalLayout_2.addWidget(self.pythonPathList)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(48, 15, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.addPathButton = QtWidgets.QPushButton(self.groupBox_3)
        self.addPathButton.setObjectName("addPathButton")
        self.horizontalLayout_2.addWidget(self.addPathButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.verticalLayout_6.addWidget(self.splitter)
        self.groupBox.raise_()
        self.splitter.raise_()
        self.groupBox_4.raise_()
        self.stackedWidget.addWidget(self.generalPage)
        self.pythonPage = QtWidgets.QWidget()
        self.pythonPage.setObjectName("pythonPage")
        self.stackedWidget.addWidget(self.pythonPage)
        self.verticalLayout_5.addWidget(self.stackedWidget)

        self.retranslateUi(PreferencesDialog)
        self.stackedWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(PreferencesDialog)

    def retranslateUi(self, PreferencesDialog):
        _translate = QtCore.QCoreApplication.translate
        PreferencesDialog.setWindowTitle(_translate("PreferencesDialog", "Dialog"))
        self.groupBox_4.setTitle(_translate("PreferencesDialog", "General"))
        self.enableNetworkingBox.setText(_translate("PreferencesDialog", "Enable Networking"))
        self.groupBox.setTitle(_translate("PreferencesDialog", "Toolbar Icons"))
        self.iconOnlyButton.setText(_translate("PreferencesDialog", "Icon Only"))
        self.iconPlusNameButton.setText(_translate("PreferencesDialog", "Icon + Name"))
        self.groupBox_2.setTitle(_translate("PreferencesDialog", "Ports"))
        self.enableAllInputsBox.setToolTip(_translate("PreferencesDialog", "This overrides all settings in the ports list"))
        self.enableAllInputsBox.setText(_translate("PreferencesDialog", "Always Enable All Inputs (Ignores checkboxes below)"))
        self.addPortButton.setText(_translate("PreferencesDialog", "+"))
        self.groupBox_3.setTitle(_translate("PreferencesDialog", "Python Search Paths"))
        self.addPathButton.setText(_translate("PreferencesDialog", "+"))

from .util import ListWidget
