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

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


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_wdgProductRange(object):
    def setupUi(self, wdgProductRange):
        wdgProductRange.setObjectName("wdgProductRange")
        wdgProductRange.resize(991, 735)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(wdgProductRange)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.lbl = QtWidgets.QLabel(wdgProductRange)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lbl.sizePolicy().hasHeightForWidth())
        self.lbl.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.lbl.setFont(font)
        self.lbl.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl.setObjectName("lbl")
        self.verticalLayout_3.addWidget(self.lbl)
        self.groupBox = QtWidgets.QGroupBox(wdgProductRange)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_8.addWidget(self.label_3)
        self.cmbProducts = QtWidgets.QComboBox(self.groupBox)
        self.cmbProducts.setObjectName("cmbProducts")
        self.horizontalLayout_8.addWidget(self.cmbProducts)
        self.cmdIRAnalisis = QtWidgets.QToolButton(self.groupBox)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/books.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdIRAnalisis.setIcon(icon)
        self.cmdIRAnalisis.setObjectName("cmdIRAnalisis")
        self.horizontalLayout_8.addWidget(self.cmdIRAnalisis)
        self.cmdIRInsertar = QtWidgets.QToolButton(self.groupBox)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdIRInsertar.setIcon(icon1)
        self.cmdIRInsertar.setObjectName("cmdIRInsertar")
        self.horizontalLayout_8.addWidget(self.cmdIRInsertar)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.spnDown = QtWidgets.QDoubleSpinBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spnDown.sizePolicy().hasHeightForWidth())
        self.spnDown.setSizePolicy(sizePolicy)
        self.spnDown.setMinimumSize(QtCore.QSize(200, 0))
        self.spnDown.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.spnDown.setDecimals(1)
        self.spnDown.setSingleStep(0.1)
        self.spnDown.setProperty("value", 2.0)
        self.spnDown.setObjectName("spnDown")
        self.horizontalLayout.addWidget(self.spnDown)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.label_5 = QtWidgets.QLabel(self.groupBox)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_9.addWidget(self.label_5)
        self.spnGains = QtWidgets.QDoubleSpinBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spnGains.sizePolicy().hasHeightForWidth())
        self.spnGains.setSizePolicy(sizePolicy)
        self.spnGains.setMinimumSize(QtCore.QSize(200, 0))
        self.spnGains.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.spnGains.setDecimals(1)
        self.spnGains.setSingleStep(0.1)
        self.spnGains.setProperty("value", 2.0)
        self.spnGains.setObjectName("spnGains")
        self.horizontalLayout_9.addWidget(self.spnGains)
        self.verticalLayout.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.txtInvertir = myQLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtInvertir.sizePolicy().hasHeightForWidth())
        self.txtInvertir.setSizePolicy(sizePolicy)
        self.txtInvertir.setMinimumSize(QtCore.QSize(200, 0))
        self.txtInvertir.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.txtInvertir.setObjectName("txtInvertir")
        self.horizontalLayout_2.addWidget(self.txtInvertir)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_5.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.cmd = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmd.sizePolicy().hasHeightForWidth())
        self.cmd.setSizePolicy(sizePolicy)
        self.cmd.setObjectName("cmd")
        self.verticalLayout_2.addWidget(self.cmd)
        self.horizontalLayout_5.addLayout(self.verticalLayout_2)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem1)
        self.horizontalLayout_7.addLayout(self.horizontalLayout_5)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.mqtw = mqtwObjects(wdgProductRange)
        self.mqtw.setObjectName("mqtw")
        self.verticalLayout_3.addWidget(self.mqtw)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.lblTotal = QtWidgets.QLabel(wdgProductRange)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTotal.sizePolicy().hasHeightForWidth())
        self.lblTotal.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.lblTotal.setFont(font)
        self.lblTotal.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTotal.setObjectName("lblTotal")
        self.horizontalLayout_6.addWidget(self.lblTotal)
        self.verticalLayout_3.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_3.addLayout(self.verticalLayout_3)
        self.actionOrderAdd = QtWidgets.QAction(wdgProductRange)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/order.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOrderAdd.setIcon(icon2)
        self.actionOrderAdd.setObjectName("actionOrderAdd")
        self.actionInvestmentMergingCurrent = QtWidgets.QAction(wdgProductRange)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/investment.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentMergingCurrent.setIcon(icon3)
        self.actionInvestmentMergingCurrent.setObjectName("actionInvestmentMergingCurrent")
        self.actionRangeInformation = QtWidgets.QAction(wdgProductRange)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/gafas.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionRangeInformation.setIcon(icon4)
        self.actionRangeInformation.setObjectName("actionRangeInformation")

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

    def retranslateUi(self, wdgProductRange):
        _translate = QtCore.QCoreApplication.translate
        self.lbl.setText(_translate("wdgProductRange", "Product ranges"))
        self.groupBox.setTitle(_translate("wdgProductRange", "Settings of your range"))
        self.label_3.setText(_translate("wdgProductRange", "Select a product"))
        self.cmdIRAnalisis.setToolTip(_translate("wdgProductRange", "Show benchmark report"))
        self.cmdIRAnalisis.setText(_translate("wdgProductRange", "..."))
        self.cmdIRInsertar.setToolTip(_translate("wdgProductRange", "Add a price to the benchmark"))
        self.cmdIRInsertar.setText(_translate("wdgProductRange", "..."))
        self.label_2.setText(_translate("wdgProductRange", "Percentage between ranges"))
        self.spnDown.setSuffix(_translate("wdgProductRange", " %"))
        self.label_5.setText(_translate("wdgProductRange", "Gains percentage"))
        self.spnGains.setSuffix(_translate("wdgProductRange", " %"))
        self.label.setText(_translate("wdgProductRange", "Money to invest"))
        self.txtInvertir.setText(_translate("wdgProductRange", "4000"))
        self.cmd.setText(_translate("wdgProductRange", "Update ranges"))
        self.actionOrderAdd.setText(_translate("wdgProductRange", "Add order at this price"))
        self.actionOrderAdd.setToolTip(_translate("wdgProductRange", "Add order at this price"))
        self.actionInvestmentMergingCurrent.setText(_translate("wdgProductRange", "Investment merging current operations"))
        self.actionInvestmentMergingCurrent.setToolTip(_translate("wdgProductRange", "Investment merging current operations"))
        self.actionRangeInformation.setText(_translate("wdgProductRange", "Range information"))
        self.actionRangeInformation.setToolTip(_translate("wdgProductRange", "Range information"))
from xulpymoney.ui.myqlineedit import myQLineEdit
from xulpymoney.ui.myqtablewidget import mqtwObjects
import xulpymoney.images.xulpymoney_rc
