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

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

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_PluginParameter(object):
    def setupUi(self, PluginParameter):
        PluginParameter.setObjectName("PluginParameter")
        PluginParameter.resize(369, 22)
        self.horizontalLayout = QtWidgets.QHBoxLayout(PluginParameter)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(PluginParameter)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.widget = ParamSpinBox(PluginParameter)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.widget.setObjectName("widget")
        self.horizontalLayout.addWidget(self.widget)
        self.sb_control = QtWidgets.QSpinBox(PluginParameter)
        self.sb_control.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.sb_control.setMinimum(-1)
        self.sb_control.setMaximum(119)
        self.sb_control.setProperty("value", -1)
        self.sb_control.setObjectName("sb_control")
        self.horizontalLayout.addWidget(self.sb_control)
        self.sb_channel = QtWidgets.QSpinBox(PluginParameter)
        self.sb_channel.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.sb_channel.setMinimum(1)
        self.sb_channel.setMaximum(16)
        self.sb_channel.setProperty("value", 1)
        self.sb_channel.setObjectName("sb_channel")
        self.horizontalLayout.addWidget(self.sb_channel)

        self.retranslateUi(PluginParameter)
        QtCore.QMetaObject.connectSlotsByName(PluginParameter)

    def retranslateUi(self, PluginParameter):
        _translate = QtCore.QCoreApplication.translate
        PluginParameter.setWindowTitle(_translate("PluginParameter", "Form"))
        self.label.setText(_translate("PluginParameter", "Parameter Name"))
        self.sb_control.setSpecialValueText(_translate("PluginParameter", "(none)"))
        self.sb_control.setPrefix(_translate("PluginParameter", "cc #"))
        self.sb_channel.setPrefix(_translate("PluginParameter", "ch "))

from widgets.paramspinbox import ParamSpinBox
