Exemple #1
0
    def setupUi(self, wdgInvestmentsRanking):
        wdgInvestmentsRanking.setObjectName("wdgInvestmentsRanking")
        wdgInvestmentsRanking.resize(750, 524)
        self.horizontalLayout = QtWidgets.QHBoxLayout(wdgInvestmentsRanking)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lbl = QtWidgets.QLabel(wdgInvestmentsRanking)
        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.addWidget(self.lbl)
        self.tab = QtWidgets.QTabWidget(wdgInvestmentsRanking)
        self.tab.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.tab.setObjectName("tab")
        self.tab_ = QtWidgets.QWidget()
        self.tab_.setObjectName("tab_")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab_)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.mqtwCurrentOperations = mqtwObjects(self.tab_)
        self.mqtwCurrentOperations.setObjectName("mqtwCurrentOperations")
        self.horizontalLayout_3.addWidget(self.mqtwCurrentOperations)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/crown.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tab_, icon, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.tab_2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.mqtwOperations = mqtwObjects(self.tab_2)
        self.mqtwOperations.setObjectName("mqtwOperations")
        self.horizontalLayout_2.addWidget(self.mqtwOperations)
        self.tab.addTab(self.tab_2, icon, "")
        self.verticalLayout.addWidget(self.tab)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.actionSameProduct = QtWidgets.QAction(wdgInvestmentsRanking)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/bundle.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSameProduct.setIcon(icon1)
        self.actionSameProduct.setObjectName("actionSameProduct")
        self.actionSameProductFIFO = QtWidgets.QAction(wdgInvestmentsRanking)
        self.actionSameProductFIFO.setIcon(icon1)
        self.actionSameProductFIFO.setObjectName("actionSameProductFIFO")
        self.actionProduct = QtWidgets.QAction(wdgInvestmentsRanking)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/books.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProduct.setIcon(icon2)
        self.actionProduct.setObjectName("actionProduct")

        self.retranslateUi(wdgInvestmentsRanking)
        self.tab.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(wdgInvestmentsRanking)
Exemple #2
0
 def on_actionShowMonth_triggered(self):
     newtab = QWidget()
     horizontalLayout = QHBoxLayout(newtab)
     mqtwMonth = mqtwObjects(newtab)
     mqtwMonth.setSettings(self.mem.settings, "wdgConceptsHistorical",
                           "mqtwMonth")
     set = AccountOperationManagerHeterogeneus(self.mem)
     set.load_from_db_with_creditcard("""
          select datetime, concepts_id, operationstypes_id, amount, comment, accounts_id , -1 as creditcards_id 
          from accountsoperations 
          where
              concepts_id={0} and 
              date_part('year',datetime)={1} and 
              date_part('month',datetime)={2} 
          union all 
          select datetime, concepts_id, operationstypes_id, amount, comment, accounts_id ,creditcards.creditcards_id as creditcards_id 
          from creditcardsoperations, creditcards 
          where 
              creditcardsoperations.creditcards_id=creditcards.creditcards_id and 
              concepts_id={0} and 
              date_part('year',datetime)={1} and 
              date_part('month',datetime)={2}""".format(
         self.concept.id, self.year, self.month))
     set.myqtablewidget(mqtwMonth, True)
     horizontalLayout.addWidget(mqtwMonth)
     self.tab.addTab(
         newtab,
         self.tr("Report of {0} of {1}".format(
             self.mqtwReport.table.horizontalHeaderItem(self.month).text(),
             self.year)))
     self.tab.setCurrentWidget(newtab)
Exemple #3
0
    def setupUi(self, frmAuxiliarTables):
        frmAuxiliarTables.setObjectName("frmAuxiliarTables")
        frmAuxiliarTables.resize(612, 541)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/configure.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmAuxiliarTables.setWindowIcon(icon)
        self.horizontalLayout = QtWidgets.QHBoxLayout(frmAuxiliarTables)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(frmAuxiliarTables)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.tabWidget = QtWidgets.QTabWidget(frmAuxiliarTables)
        self.tabWidget.setObjectName("tabWidget")
        self.tabConceptos = QtWidgets.QWidget()
        self.tabConceptos.setObjectName("tabConceptos")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.tabConceptos)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.mqtwConcepts = mqtwObjects(self.tabConceptos)
        self.mqtwConcepts.setObjectName("mqtwConcepts")
        self.verticalLayout_2.addWidget(self.mqtwConcepts)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        self.tabWidget.addTab(self.tabConceptos, "")
        self.verticalLayout.addWidget(self.tabWidget)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.actionExpensesAdd = QtWidgets.QAction(frmAuxiliarTables)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExpensesAdd.setIcon(icon1)
        self.actionExpensesAdd.setObjectName("actionExpensesAdd")
        self.actionConceptDelete = QtWidgets.QAction(frmAuxiliarTables)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/eventdelete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionConceptDelete.setIcon(icon2)
        self.actionConceptDelete.setObjectName("actionConceptDelete")
        self.actionIncomesAdd = QtWidgets.QAction(frmAuxiliarTables)
        self.actionIncomesAdd.setIcon(icon1)
        self.actionIncomesAdd.setObjectName("actionIncomesAdd")
        self.actionChangeName = QtWidgets.QAction(frmAuxiliarTables)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/editar.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionChangeName.setIcon(icon3)
        self.actionChangeName.setObjectName("actionChangeName")

        self.retranslateUi(frmAuxiliarTables)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(frmAuxiliarTables)
Exemple #4
0
    def setupUi(self, wdgStrategyResults):
        wdgStrategyResults.setObjectName("wdgStrategyResults")
        wdgStrategyResults.resize(656, 497)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/bank.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        wdgStrategyResults.setWindowIcon(icon)
        self.horizontalLayout = QtWidgets.QHBoxLayout(wdgStrategyResults)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lbl = QtWidgets.QLabel(wdgStrategyResults)
        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.addWidget(self.lbl)
        self.chkFinished = QtWidgets.QCheckBox(wdgStrategyResults)
        self.chkFinished.setObjectName("chkFinished")
        self.verticalLayout.addWidget(self.chkFinished)
        self.mqtwStrategies = mqtwObjects(wdgStrategyResults)
        self.mqtwStrategies.setObjectName("mqtwStrategies")
        self.verticalLayout.addWidget(self.mqtwStrategies)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.actionStrategyNew = QtWidgets.QAction(wdgStrategyResults)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionStrategyNew.setIcon(icon1)
        self.actionStrategyNew.setObjectName("actionStrategyNew")
        self.actionStrategyDelete = QtWidgets.QAction(wdgStrategyResults)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/button_cancel.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionStrategyDelete.setIcon(icon2)
        self.actionStrategyDelete.setObjectName("actionStrategyDelete")
        self.actionStrategyEdit = QtWidgets.QAction(wdgStrategyResults)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/editar.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionStrategyEdit.setIcon(icon3)
        self.actionStrategyEdit.setObjectName("actionStrategyEdit")

        self.retranslateUi(wdgStrategyResults)
        QtCore.QMetaObject.connectSlotsByName(wdgStrategyResults)
Exemple #5
0
    def __init__(self, parent, mem):
        QDialog.__init__(self, parent)
        self.mem=mem
        self.products=ProductManager(self.mem)
        self.resize(1024, 500)
        self.horizontalLayout_2 = QHBoxLayout(self)
        self.verticalLayout = QVBoxLayout()
        self.lbl = QLabel(self)
        font = QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.lbl.setFont(font)
        self.lbl.setAlignment(Qt.AlignCenter)
        self.verticalLayout.addWidget(self.lbl)
        self.horizontalLayout = QHBoxLayout()
        spacerItem = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.widget = wdgProductSelector(self)
        self.horizontalLayout.addWidget(self.widget)
        self.label = QLabel(self)
        self.horizontalLayout.addWidget(self.label)
        self.txt = QLineEdit(self)
        self.horizontalLayout.addWidget(self.txt)
        self.cmd = QToolButton(self)
        icon = QIcon()
        icon.addPixmap(QPixmap(":/xulpymoney/document-preview-archive.png"), QIcon.Normal, QIcon.Off)
        self.cmd.setIcon(icon)
        self.horizontalLayout.addWidget(self.cmd)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.mqtwProducts = mqtwObjects(self)
        self.mqtwProducts.setSettings(self.mem.settings, "frmProductSelector", "mqtwProducts")
        self.verticalLayout.addWidget(self.mqtwProducts)
        self.lblFound = QLabel(self)
        self.verticalLayout.addWidget(self.lblFound)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        self.setWindowTitle(self.tr("Select a product"))
        self.lbl.setText(self.tr("Product list"))
        self.label.setText(self.tr("Search by code, ISIN, ticker or product name"))
        self.lblFound.setText(self.tr("Found registers"))

        self.setTabOrder(self.txt, self.cmd)
        self.setTabOrder(self.cmd, self.mqtwProducts)
        self.cmd.released.connect(self.on_cmd_released)
        self.txt.returnPressed.connect(self.on_cmd_released)                    
        self.mqtwProducts.table.cellDoubleClicked.connect(self.on_mqtwProducts_cellDoubleClicked)
Exemple #6
0
    def on_actionShowAdjustments_triggered(self):
        newtab = QWidget()
        horizontalLayout = QHBoxLayout(newtab)
        wdg = mqtwObjects(newtab)
        wdg.setSettings(self.mem.settings, "wdgDerivativesReport",
                        "mqtwShowIncomes")
        wdg.table.setSelectionBehavior(QAbstractItemView.SelectItems)

        if self.month == 13:  #Year
            tabtitle = self.tr("Incomes of {}").format(self.wyData.year)
            manager = AccountOperationManagerHeterogeneus_from_sql(
                self.mem, """
select 
    id, datetime, concepts_id, operationstypes_id, amount, comment, accounts_id 
from 
    accountsoperations 
where 
    concepts_id in (%s) AND
    date_part('year',datetime)=%s
""", (eConcept.DerivativesAdjustment, self.wyData.year))
        else:  #Month
            tabtitle = self.tr("Incomes of {0} of {1}").format(
                self.mqtwTotal.table.horizontalHeaderItem(self.month -
                                                          1).text(),
                self.wyData.year)
            manager = AccountOperationManagerHeterogeneus_from_sql(
                self.mem, """
select 
    id, datetime, concepts_id, operationstypes_id, amount, comment, accounts_id 
from 
    accountsoperations 
where 
    concepts_id in (%s) AND
    date_part('year',datetime)=%s and 
    date_part('month',datetime)=%s
""", (eConcept.DerivativesAdjustment, self.wyData.year, self.month))
        manager.myqtablewidget(wdg, True)
        wdg.drawOrderBy(0, False)
        horizontalLayout.addWidget(wdg)
        self.tab.addTab(newtab, tabtitle)
        self.tab.setCurrentWidget(newtab)
Exemple #7
0
    def setupUi(self, wdgInvestments):
        wdgInvestments.setObjectName("wdgInvestments")
        wdgInvestments.resize(754, 525)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(wdgInvestments)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lbl = QtWidgets.QLabel(wdgInvestments)
        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.addWidget(self.lbl)
        self.chkInactivas = QtWidgets.QCheckBox(wdgInvestments)
        self.chkInactivas.setObjectName("chkInactivas")
        self.verticalLayout.addWidget(self.chkInactivas)
        self.mqtwInvestments = mqtwObjects(wdgInvestments)
        self.mqtwInvestments.setObjectName("mqtwInvestments")
        self.verticalLayout.addWidget(self.mqtwInvestments)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.wdgIBM = QtWidgets.QWidget(wdgInvestments)
        self.wdgIBM.setObjectName("wdgIBM")
        self.verticalLayout_2.addWidget(self.wdgIBM)
        self.verticalLayout_3.addLayout(self.verticalLayout_2)
        self.lblTotal = QtWidgets.QLabel(wdgInvestments)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.lblTotal.setFont(font)
        self.lblTotal.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTotal.setWordWrap(True)
        self.lblTotal.setObjectName("lblTotal")
        self.verticalLayout_3.addWidget(self.lblTotal)
        self.actionInvestmentAdd = QtWidgets.QAction(wdgInvestments)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentAdd.setIcon(icon)
        self.actionInvestmentAdd.setObjectName("actionInvestmentAdd")
        self.actionInvestmentReport = QtWidgets.QAction(wdgInvestments)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/bundle.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentReport.setIcon(icon1)
        self.actionInvestmentReport.setObjectName("actionInvestmentReport")
        self.actionActive = QtWidgets.QAction(wdgInvestments)
        self.actionActive.setObjectName("actionActive")
        self.actionProduct = QtWidgets.QAction(wdgInvestments)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/books.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProduct.setIcon(icon2)
        self.actionProduct.setObjectName("actionProduct")
        self.actionProductPrice = QtWidgets.QAction(wdgInvestments)
        self.actionProductPrice.setIcon(icon)
        self.actionProductPrice.setObjectName("actionProductPrice")
        self.actionInvestmentDelete = QtWidgets.QAction(wdgInvestments)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/list-remove.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentDelete.setIcon(icon3)
        self.actionInvestmentDelete.setObjectName("actionInvestmentDelete")
        self.actionProductPriceLastRemove = QtWidgets.QAction(wdgInvestments)
        self.actionProductPriceLastRemove.setIcon(icon3)
        self.actionProductPriceLastRemove.setObjectName(
            "actionProductPriceLastRemove")
        self.actionSameProduct = QtWidgets.QAction(wdgInvestments)
        self.actionSameProduct.setIcon(icon1)
        self.actionSameProduct.setObjectName("actionSameProduct")
        self.actionSameProductFIFO = QtWidgets.QAction(wdgInvestments)
        self.actionSameProductFIFO.setIcon(icon1)
        self.actionSameProductFIFO.setObjectName("actionSameProductFIFO")
        self.actionProductUpdate = QtWidgets.QAction(wdgInvestments)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/transfer.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProductUpdate.setIcon(icon4)
        self.actionProductUpdate.setObjectName("actionProductUpdate")
        self.actionInformation = QtWidgets.QAction(wdgInvestments)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(
            QtGui.QPixmap(":/xulpymoney/document-preview-archive.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInformation.setIcon(icon5)
        self.actionInformation.setObjectName("actionInformation")

        self.retranslateUi(wdgInvestments)
        QtCore.QMetaObject.connectSlotsByName(wdgInvestments)
Exemple #8
0
    def setupUi(self, wdgSimulations):
        wdgSimulations.setObjectName("wdgSimulations")
        wdgSimulations.resize(1048, 499)
        self.horizontalLayout = QtWidgets.QHBoxLayout(wdgSimulations)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lblTitulo = QtWidgets.QLabel(wdgSimulations)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.lblTitulo.setFont(font)
        self.lblTitulo.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTitulo.setObjectName("lblTitulo")
        self.verticalLayout.addWidget(self.lblTitulo)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.lblPixmap = QtWidgets.QLabel(wdgSimulations)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPixmap.sizePolicy().hasHeightForWidth())
        self.lblPixmap.setSizePolicy(sizePolicy)
        self.lblPixmap.setMinimumSize(QtCore.QSize(48, 48))
        self.lblPixmap.setMaximumSize(QtCore.QSize(48, 48))
        self.lblPixmap.setPixmap(QtGui.QPixmap(":/xulpymoney/replication.png"))
        self.lblPixmap.setScaledContents(True)
        self.lblPixmap.setAlignment(QtCore.Qt.AlignCenter)
        self.lblPixmap.setObjectName("lblPixmap")
        self.horizontalLayout_4.addWidget(self.lblPixmap)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.groupBox = QtWidgets.QGroupBox(wdgSimulations)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.mqtwSimulations = mqtwObjects(self.groupBox)
        self.mqtwSimulations.setObjectName("mqtwSimulations")
        self.horizontalLayout_2.addWidget(self.mqtwSimulations)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.cmdCreate = QtWidgets.QPushButton(self.groupBox)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdCreate.setIcon(icon)
        self.cmdCreate.setObjectName("cmdCreate")
        self.verticalLayout_2.addWidget(self.cmdCreate)
        self.cmdDelete = QtWidgets.QPushButton(self.groupBox)
        self.cmdDelete.setEnabled(False)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/list-remove.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdDelete.setIcon(icon1)
        self.cmdDelete.setObjectName("cmdDelete")
        self.verticalLayout_2.addWidget(self.cmdDelete)
        self.cmdConnect = QtWidgets.QPushButton(self.groupBox)
        self.cmdConnect.setEnabled(False)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/transfer.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdConnect.setIcon(icon2)
        self.cmdConnect.setObjectName("cmdConnect")
        self.verticalLayout_2.addWidget(self.cmdConnect)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        self.horizontalLayout_3.addLayout(self.horizontalLayout_2)
        self.verticalLayout.addWidget(self.groupBox)
        self.horizontalLayout.addLayout(self.verticalLayout)

        self.retranslateUi(wdgSimulations)
        QtCore.QMetaObject.connectSlotsByName(wdgSimulations)
Exemple #9
0
    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.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        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.cmdDrawRanges = QtWidgets.QToolButton(self.groupBox)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/layers2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdDrawRanges.setIcon(icon1)
        self.cmdDrawRanges.setObjectName("cmdDrawRanges")
        self.horizontalLayout_8.addWidget(self.cmdDrawRanges)
        self.cmdIRInsertar = QtWidgets.QToolButton(self.groupBox)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdIRInsertar.setIcon(icon2)
        self.cmdIRInsertar.setObjectName("cmdIRInsertar")
        self.horizontalLayout_8.addWidget(self.cmdIRInsertar)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.chkOnlyFirst = QtWidgets.QCheckBox(self.groupBox)
        self.chkOnlyFirst.setObjectName("chkOnlyFirst")
        self.horizontalLayout_13.addWidget(self.chkOnlyFirst)
        self.verticalLayout.addLayout(self.horizontalLayout_13)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.chkOnlyAccount = QtWidgets.QCheckBox(self.groupBox)
        self.chkOnlyAccount.setObjectName("chkOnlyAccount")
        self.horizontalLayout_11.addWidget(self.chkOnlyAccount)
        self.cmbOnlyAccount = QtWidgets.QComboBox(self.groupBox)
        self.cmbOnlyAccount.setEnabled(False)
        self.cmbOnlyAccount.setObjectName("cmbOnlyAccount")
        self.horizontalLayout_11.addWidget(self.cmbOnlyAccount)
        self.verticalLayout.addLayout(self.horizontalLayout_11)
        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(2)
        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(2)
        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_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.label_4 = QtWidgets.QLabel(self.groupBox)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_10.addWidget(self.label_4)
        self.cmbRecomendations = QtWidgets.QComboBox(self.groupBox)
        self.cmbRecomendations.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.cmbRecomendations.setObjectName("cmbRecomendations")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/button_cancel.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbRecomendations.addItem(icon3, "")
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/star.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbRecomendations.addItem(icon4, "")
        self.cmbRecomendations.addItem(icon4, "")
        self.cmbRecomendations.addItem(icon4, "")
        self.horizontalLayout_10.addWidget(self.cmbRecomendations)
        self.verticalLayout.addLayout(self.horizontalLayout_10)
        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)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/xulpymoney/order.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOrderAdd.setIcon(icon5)
        self.actionOrderAdd.setObjectName("actionOrderAdd")
        self.actionInvestmentMergingCurrent = QtWidgets.QAction(wdgProductRange)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/xulpymoney/investment.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentMergingCurrent.setIcon(icon6)
        self.actionInvestmentMergingCurrent.setObjectName("actionInvestmentMergingCurrent")
        self.actionRangeInformation = QtWidgets.QAction(wdgProductRange)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/xulpymoney/gafas.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionRangeInformation.setIcon(icon7)
        self.actionRangeInformation.setObjectName("actionRangeInformation")

        self.retranslateUi(wdgProductRange)
        self.chkOnlyAccount.toggled['bool'].connect(self.cmbOnlyAccount.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(wdgProductRange)
Exemple #10
0
    def setupUi(self, wdgLastCurrent):
        wdgLastCurrent.setObjectName("wdgLastCurrent")
        wdgLastCurrent.resize(987, 524)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(wdgLastCurrent)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lbl = QtWidgets.QLabel(wdgLastCurrent)
        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.addWidget(self.lbl)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.label = QtWidgets.QLabel(wdgLastCurrent)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.spin = QtWidgets.QSpinBox(wdgLastCurrent)
        self.spin.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.spin.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                               | QtCore.Qt.AlignVCenter)
        self.spin.setKeyboardTracking(False)
        self.spin.setMinimum(-100)
        self.spin.setMaximum(100)
        self.spin.setProperty("value", -33)
        self.spin.setObjectName("spin")
        self.horizontalLayout.addWidget(self.spin)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.mqtwInvestments = mqtwObjects(wdgLastCurrent)
        self.mqtwInvestments.setObjectName("mqtwInvestments")
        self.verticalLayout.addWidget(self.mqtwInvestments)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.label_2 = QtWidgets.QLabel(wdgLastCurrent)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_2.addWidget(self.label_2)
        self.cmbSameProduct = QtWidgets.QComboBox(wdgLastCurrent)
        self.cmbSameProduct.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToContents)
        self.cmbSameProduct.setObjectName("cmbSameProduct")
        self.cmbSameProduct.addItem("")
        self.cmbSameProduct.addItem("")
        self.cmbSameProduct.addItem("")
        self.horizontalLayout_2.addWidget(self.cmbSameProduct)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.wdgIBM = QtWidgets.QWidget(wdgLastCurrent)
        self.wdgIBM.setObjectName("wdgIBM")
        self.verticalLayout.addWidget(self.wdgIBM)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        self.actionInvestmentReport = QtWidgets.QAction(wdgLastCurrent)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/bundle.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentReport.setIcon(icon)
        self.actionInvestmentReport.setObjectName("actionInvestmentReport")
        self.actionSortTPCVenta = QtWidgets.QAction(wdgLastCurrent)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpmoney/document-preview.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSortTPCVenta.setIcon(icon1)
        self.actionSortTPCVenta.setObjectName("actionSortTPCVenta")
        self.actionSortTPC = QtWidgets.QAction(wdgLastCurrent)
        self.actionSortTPC.setIcon(icon1)
        self.actionSortTPC.setObjectName("actionSortTPC")
        self.actionSortName = QtWidgets.QAction(wdgLastCurrent)
        self.actionSortName.setIcon(icon1)
        self.actionSortName.setObjectName("actionSortName")
        self.actionSortHour = QtWidgets.QAction(wdgLastCurrent)
        self.actionSortHour.setIcon(icon1)
        self.actionSortHour.setObjectName("actionSortHour")
        self.actionProduct = QtWidgets.QAction(wdgLastCurrent)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/books.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProduct.setIcon(icon2)
        self.actionProduct.setObjectName("actionProduct")
        self.actionSortTPCLast = QtWidgets.QAction(wdgLastCurrent)
        self.actionSortTPCLast.setObjectName("actionSortTPCLast")
        self.actionCalculate = QtWidgets.QAction(wdgLastCurrent)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/tools-wizard.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionCalculate.setIcon(icon3)
        self.actionCalculate.setObjectName("actionCalculate")
        self.actionReinvest = QtWidgets.QAction(wdgLastCurrent)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/coins.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionReinvest.setIcon(icon4)
        self.actionReinvest.setObjectName("actionReinvest")
        self.actionReinvestCurrent = QtWidgets.QAction(wdgLastCurrent)
        self.actionReinvestCurrent.setIcon(icon4)
        self.actionReinvestCurrent.setObjectName("actionReinvestCurrent")

        self.retranslateUi(wdgLastCurrent)
        self.cmbSameProduct.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(wdgLastCurrent)
Exemple #11
0
    def setupUi(self, wdgAccounts):
        wdgAccounts.setObjectName("wdgAccounts")
        wdgAccounts.resize(639, 211)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(wdgAccounts)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lbl = QtWidgets.QLabel(wdgAccounts)
        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.addWidget(self.lbl)
        self.chkInactivas = QtWidgets.QCheckBox(wdgAccounts)
        self.chkInactivas.setObjectName("chkInactivas")
        self.verticalLayout.addWidget(self.chkInactivas)
        self.mqtwAccounts = mqtwObjects(wdgAccounts)
        self.mqtwAccounts.setObjectName("mqtwAccounts")
        self.verticalLayout.addWidget(self.mqtwAccounts)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_3.addLayout(self.verticalLayout_2)
        self.lblTotal = QtWidgets.QLabel(wdgAccounts)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.lblTotal.setFont(font)
        self.lblTotal.setText("")
        self.lblTotal.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTotal.setObjectName("lblTotal")
        self.verticalLayout_3.addWidget(self.lblTotal)
        self.verticalLayout_4.addLayout(self.verticalLayout_3)
        self.actionAccountAdd = QtWidgets.QAction(wdgAccounts)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAccountAdd.setIcon(icon)
        self.actionAccountAdd.setObjectName("actionAccountAdd")
        self.actionAccountReport = QtWidgets.QAction(wdgAccounts)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/coins.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAccountReport.setIcon(icon1)
        self.actionAccountReport.setObjectName("actionAccountReport")
        self.actionAccountDelete = QtWidgets.QAction(wdgAccounts)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/list-remove.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAccountDelete.setIcon(icon2)
        self.actionAccountDelete.setObjectName("actionAccountDelete")
        self.actionActive = QtWidgets.QAction(wdgAccounts)
        self.actionActive.setCheckable(True)
        self.actionActive.setObjectName("actionActive")
        self.actionTransfer = QtWidgets.QAction(wdgAccounts)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/transfer.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionTransfer.setIcon(icon3)
        self.actionTransfer.setObjectName("actionTransfer")

        self.retranslateUi(wdgAccounts)
        QtCore.QMetaObject.connectSlotsByName(wdgAccounts)
Exemple #12
0
    def setupUi(self, wdgOpportunities):
        wdgOpportunities.setObjectName("wdgOpportunities")
        wdgOpportunities.resize(824, 596)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/bank.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        wdgOpportunities.setWindowIcon(icon)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(wdgOpportunities)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.lbl = QtWidgets.QLabel(wdgOpportunities)
        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_2.addWidget(self.lbl)
        self.tabWidget = QtWidgets.QTabWidget(wdgOpportunities)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.wdgYear = wdgYear(self.tab)
        self.wdgYear.setObjectName("wdgYear")
        self.horizontalLayout.addWidget(self.wdgYear)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.cmbMode = QtWidgets.QComboBox(self.tab)
        self.cmbMode.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.cmbMode.setObjectName("cmbMode")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/new.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbMode.addItem(icon1, "")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/expired.jpg"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbMode.addItem(icon2, "")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/tools-wizard.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbMode.addItem(icon3, "")
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/eye.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbMode.addItem(icon4, "")
        self.horizontalLayout_2.addWidget(self.cmbMode)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.mqtwOpportunities = mqtwObjects(self.tab)
        self.mqtwOpportunities.setObjectName("mqtwOpportunities")
        self.verticalLayout.addWidget(self.mqtwOpportunities)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/xulpymoney/editar.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab, icon5, "")
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem4 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem4)
        self.label = QtWidgets.QLabel(wdgOpportunities)
        self.label.setObjectName("label")
        self.horizontalLayout_4.addWidget(self.label)
        self.txtInvest = myQLineEdit(wdgOpportunities)
        self.txtInvest.setAlignment(QtCore.Qt.AlignRight
                                    | QtCore.Qt.AlignTrailing
                                    | QtCore.Qt.AlignVCenter)
        self.txtInvest.setObjectName("txtInvest")
        self.horizontalLayout_4.addWidget(self.txtInvest)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5.addLayout(self.verticalLayout_2)
        self.actionOpportunityNew = QtWidgets.QAction(wdgOpportunities)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOpportunityNew.setIcon(icon6)
        self.actionOpportunityNew.setObjectName("actionOpportunityNew")
        self.actionOpportunityDelete = QtWidgets.QAction(wdgOpportunities)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/xulpymoney/button_cancel.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOpportunityDelete.setIcon(icon7)
        self.actionOpportunityDelete.setObjectName("actionOpportunityDelete")
        self.actionOpportunityEdit = QtWidgets.QAction(wdgOpportunities)
        self.actionOpportunityEdit.setIcon(icon5)
        self.actionOpportunityEdit.setObjectName("actionOpportunityEdit")
        self.actionExecute = QtWidgets.QAction(wdgOpportunities)
        self.actionExecute.setIcon(icon3)
        self.actionExecute.setObjectName("actionExecute")
        self.actionRemove = QtWidgets.QAction(wdgOpportunities)
        self.actionRemove.setIcon(icon2)
        self.actionRemove.setObjectName("actionRemove")
        self.actionShowGraphic = QtWidgets.QAction(wdgOpportunities)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/xulpymoney/curiosity.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionShowGraphic.setIcon(icon8)
        self.actionShowGraphic.setObjectName("actionShowGraphic")

        self.retranslateUi(wdgOpportunities)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(wdgOpportunities)
Exemple #13
0
    def setupUi(self, wdgOrders):
        wdgOrders.setObjectName("wdgOrders")
        wdgOrders.resize(656, 497)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/bank.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        wdgOrders.setWindowIcon(icon)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(wdgOrders)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.lbl = QtWidgets.QLabel(wdgOrders)
        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_2.addWidget(self.lbl)
        self.tabWidget = QtWidgets.QTabWidget(wdgOrders)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.wdgYear = wdgYear(self.tab)
        self.wdgYear.setObjectName("wdgYear")
        self.horizontalLayout.addWidget(self.wdgYear)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.cmbMode = QtWidgets.QComboBox(self.tab)
        self.cmbMode.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.cmbMode.setObjectName("cmbMode")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/new.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbMode.addItem(icon1, "")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/expired.jpg"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbMode.addItem(icon2, "")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/tools-wizard.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbMode.addItem(icon3, "")
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/eye.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbMode.addItem(icon4, "")
        self.horizontalLayout_2.addWidget(self.cmbMode)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.mqtwOrders = mqtwObjects(self.tab)
        self.mqtwOrders.setObjectName("mqtwOrders")
        self.verticalLayout.addWidget(self.mqtwOrders)
        self.lblBalance = QtWidgets.QLabel(self.tab)
        self.lblBalance.setText("")
        self.lblBalance.setObjectName("lblBalance")
        self.verticalLayout.addWidget(self.lblBalance)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/xulpymoney/editar.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab, icon5, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.tab_2)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.mqtwSellingPoints = mqtwObjects(self.tab_2)
        self.mqtwSellingPoints.setObjectName("mqtwSellingPoints")
        self.horizontalLayout_5.addWidget(self.mqtwSellingPoints)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/xulpymoney/today.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab_2, icon6, "")
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.horizontalLayout_4.addLayout(self.verticalLayout_2)
        self.actionOrderNew = QtWidgets.QAction(wdgOrders)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOrderNew.setIcon(icon7)
        self.actionOrderNew.setObjectName("actionOrderNew")
        self.actionOrderDelete = QtWidgets.QAction(wdgOrders)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/xulpymoney/button_cancel.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOrderDelete.setIcon(icon8)
        self.actionOrderDelete.setObjectName("actionOrderDelete")
        self.actionOrderEdit = QtWidgets.QAction(wdgOrders)
        self.actionOrderEdit.setIcon(icon5)
        self.actionOrderEdit.setObjectName("actionOrderEdit")
        self.actionExecute = QtWidgets.QAction(wdgOrders)
        self.actionExecute.setIcon(icon3)
        self.actionExecute.setObjectName("actionExecute")
        self.actionShowReinvest = QtWidgets.QAction(wdgOrders)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/xulpymoney/gafas.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionShowReinvest.setIcon(icon9)
        self.actionShowReinvest.setObjectName("actionShowReinvest")
        self.actionShowReinvestSameProduct = QtWidgets.QAction(wdgOrders)
        self.actionShowReinvestSameProduct.setIcon(icon9)
        self.actionShowReinvestSameProduct.setObjectName(
            "actionShowReinvestSameProduct")

        self.retranslateUi(wdgOrders)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(wdgOrders)
Exemple #14
0
    def setupUi(self, frmAccountsReport):
        frmAccountsReport.setObjectName("frmAccountsReport")
        frmAccountsReport.setWindowModality(QtCore.Qt.WindowModal)
        frmAccountsReport.resize(1061, 607)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/report2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmAccountsReport.setWindowIcon(icon)
        frmAccountsReport.setModal(True)
        self._2 = QtWidgets.QVBoxLayout(frmAccountsReport)
        self._2.setObjectName("_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.lblTitulo = QtWidgets.QLabel(frmAccountsReport)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.lblTitulo.setFont(font)
        self.lblTitulo.setStyleSheet("color: rgb(0, 128, 0);")
        self.lblTitulo.setText("")
        self.lblTitulo.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTitulo.setObjectName("lblTitulo")
        self.verticalLayout_2.addWidget(self.lblTitulo)
        self.tab = QtWidgets.QTabWidget(frmAccountsReport)
        self.tab.setObjectName("tab")
        self.tabMovimientos = QtWidgets.QWidget()
        self.tabMovimientos.setObjectName("tabMovimientos")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.tabMovimientos)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.groupBox = QtWidgets.QGroupBox(self.tabMovimientos)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label)
        self.cmbEB = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEB.sizePolicy().hasHeightForWidth())
        self.cmbEB.setSizePolicy(sizePolicy)
        self.cmbEB.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.cmbEB.setObjectName("cmbEB")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.cmbEB)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2)
        self.txtAccount = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtAccount.sizePolicy().hasHeightForWidth())
        self.txtAccount.setSizePolicy(sizePolicy)
        self.txtAccount.setMinimumSize(QtCore.QSize(300, 0))
        self.txtAccount.setObjectName("txtAccount")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.txtAccount)
        self.label_8 = QtWidgets.QLabel(self.groupBox)
        self.label_8.setObjectName("label_8")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_8)
        self.cmbCurrency = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCurrency.sizePolicy().hasHeightForWidth())
        self.cmbCurrency.setSizePolicy(sizePolicy)
        self.cmbCurrency.setObjectName("cmbCurrency")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.cmbCurrency)
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_3)
        self.txtNumero = myQLineEditValidatingAccount(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtNumero.sizePolicy().hasHeightForWidth())
        self.txtNumero.setSizePolicy(sizePolicy)
        self.txtNumero.setObjectName("txtNumero")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.txtNumero)
        self.chkActiva = QtWidgets.QCheckBox(self.groupBox)
        self.chkActiva.setObjectName("chkActiva")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.chkActiva)
        self.verticalLayout.addLayout(self.formLayout)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_12.addItem(spacerItem1)
        self.cmdDatos = QtWidgets.QPushButton(self.groupBox)
        self.cmdDatos.setObjectName("cmdDatos")
        self.horizontalLayout_12.addWidget(self.cmdDatos)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_12.addItem(spacerItem2)
        self.verticalLayout.addLayout(self.horizontalLayout_12)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        self.horizontalLayout_4.addWidget(self.groupBox)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem3)
        self.verticalLayout_6.addLayout(self.horizontalLayout_4)
        self.groupBox_2 = QtWidgets.QGroupBox(self.tabMovimientos)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem4)
        self.wdgYM = wdgYearMonth(self.groupBox_2)
        self.wdgYM.setObjectName("wdgYM")
        self.horizontalLayout.addWidget(self.wdgYM)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem5)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.mqtwOperations = mqtwObjects(self.groupBox_2)
        self.mqtwOperations.setObjectName("mqtwOperations")
        self.verticalLayout_3.addWidget(self.mqtwOperations)
        self.horizontalLayout_3.addLayout(self.verticalLayout_3)
        self.verticalLayout_6.addWidget(self.groupBox_2)
        self.horizontalLayout_5.addLayout(self.verticalLayout_6)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/coins.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabMovimientos, icon1, "")
        self.tabTarjetas = QtWidgets.QWidget()
        self.tabTarjetas.setObjectName("tabTarjetas")
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.tabTarjetas)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.groupBox_3 = QtWidgets.QGroupBox(self.tabTarjetas)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.chkCreditCards = QtWidgets.QCheckBox(self.groupBox_3)
        self.chkCreditCards.setObjectName("chkCreditCards")
        self.verticalLayout_4.addWidget(self.chkCreditCards)
        self.mqtwCreditCards = mqtwObjects(self.groupBox_3)
        self.mqtwCreditCards.setObjectName("mqtwCreditCards")
        self.verticalLayout_4.addWidget(self.mqtwCreditCards)
        self.horizontalLayout_9.addLayout(self.verticalLayout_4)
        self.verticalLayout_5.addWidget(self.groupBox_3)
        self.layDiferido = QtWidgets.QHBoxLayout()
        self.layDiferido.setObjectName("layDiferido")
        self.tabOpertarjetasDiferidas = QtWidgets.QTabWidget(self.tabTarjetas)
        self.tabOpertarjetasDiferidas.setEnabled(False)
        self.tabOpertarjetasDiferidas.setObjectName("tabOpertarjetasDiferidas")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.tab_2)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.grpOperTarjetas = QtWidgets.QGroupBox(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpOperTarjetas.sizePolicy().hasHeightForWidth())
        self.grpOperTarjetas.setSizePolicy(sizePolicy)
        self.grpOperTarjetas.setCheckable(False)
        self.grpOperTarjetas.setObjectName("grpOperTarjetas")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.grpOperTarjetas)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.mqtwCreditCardOperations = mqtwObjects(self.grpOperTarjetas)
        self.mqtwCreditCardOperations.setObjectName("mqtwCreditCardOperations")
        self.verticalLayout_7.addWidget(self.mqtwCreditCardOperations)
        self.horizontalLayout_6.addWidget(self.grpOperTarjetas)
        self.verticalLayout_10 = QtWidgets.QVBoxLayout()
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_10.addItem(spacerItem6)
        self.grpPago = QtWidgets.QGroupBox(self.tab_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpPago.sizePolicy().hasHeightForWidth())
        self.grpPago.setSizePolicy(sizePolicy)
        self.grpPago.setObjectName("grpPago")
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.grpPago)
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout()
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.lblPago = QtWidgets.QLabel(self.grpPago)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPago.sizePolicy().hasHeightForWidth())
        self.lblPago.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lblPago.setFont(font)
        self.lblPago.setAlignment(QtCore.Qt.AlignCenter)
        self.lblPago.setObjectName("lblPago")
        self.verticalLayout_8.addWidget(self.lblPago)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.wdgDtPago = wdgDatetime(self.grpPago)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wdgDtPago.sizePolicy().hasHeightForWidth())
        self.wdgDtPago.setSizePolicy(sizePolicy)
        self.wdgDtPago.setObjectName("wdgDtPago")
        self.horizontalLayout_10.addWidget(self.wdgDtPago)
        self.verticalLayout_8.addLayout(self.horizontalLayout_10)
        self.cmdPago = QtWidgets.QPushButton(self.grpPago)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmdPago.sizePolicy().hasHeightForWidth())
        self.cmdPago.setSizePolicy(sizePolicy)
        self.cmdPago.setObjectName("cmdPago")
        self.verticalLayout_8.addWidget(self.cmdPago)
        self.horizontalLayout_11.addLayout(self.verticalLayout_8)
        self.verticalLayout_10.addWidget(self.grpPago)
        spacerItem7 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_10.addItem(spacerItem7)
        self.horizontalLayout_6.addLayout(self.verticalLayout_10)
        self.tabOpertarjetasDiferidas.addTab(self.tab_2, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout(self.tab_3)
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout()
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.label_6 = QtWidgets.QLabel(self.tab_3)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_13.addWidget(self.label_6)
        self.cmbFechasPago = QtWidgets.QComboBox(self.tab_3)
        self.cmbFechasPago.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.cmbFechasPago.setObjectName("cmbFechasPago")
        self.horizontalLayout_13.addWidget(self.cmbFechasPago)
        spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_13.addItem(spacerItem8)
        self.label_7 = QtWidgets.QLabel(self.tab_3)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_13.addWidget(self.label_7)
        self.cmdDevolverPago = QtWidgets.QPushButton(self.tab_3)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpmoney/tools-wizard.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdDevolverPago.setIcon(icon2)
        self.cmdDevolverPago.setObjectName("cmdDevolverPago")
        self.horizontalLayout_13.addWidget(self.cmdDevolverPago)
        self.verticalLayout_9.addLayout(self.horizontalLayout_13)
        self.mqtwCreditCardOperationsHistorical = mqtwObjects(self.tab_3)
        self.mqtwCreditCardOperationsHistorical.setObjectName("mqtwCreditCardOperationsHistorical")
        self.verticalLayout_9.addWidget(self.mqtwCreditCardOperationsHistorical)
        self.horizontalLayout_14.addLayout(self.verticalLayout_9)
        self.tabOpertarjetasDiferidas.addTab(self.tab_3, "")
        self.layDiferido.addWidget(self.tabOpertarjetasDiferidas)
        self.verticalLayout_5.addLayout(self.layDiferido)
        self.horizontalLayout_8.addLayout(self.verticalLayout_5)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/visa2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabTarjetas, icon3, "")
        self.verticalLayout_2.addWidget(self.tab)
        self._2.addLayout(self.verticalLayout_2)
        self.actionOperationAdd = QtWidgets.QAction(frmAccountsReport)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOperationAdd.setIcon(icon4)
        self.actionOperationAdd.setObjectName("actionOperationAdd")
        self.actionOperationDelete = QtWidgets.QAction(frmAccountsReport)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/xulpymoney/list-remove.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOperationDelete.setIcon(icon5)
        self.actionOperationDelete.setObjectName("actionOperationDelete")
        self.actionCreditCardAdd = QtWidgets.QAction(frmAccountsReport)
        self.actionCreditCardAdd.setIcon(icon4)
        self.actionCreditCardAdd.setObjectName("actionCreditCardAdd")
        self.actionCreditCardDelete = QtWidgets.QAction(frmAccountsReport)
        self.actionCreditCardDelete.setIcon(icon5)
        self.actionCreditCardDelete.setObjectName("actionCreditCardDelete")
        self.actionCreditCardOperAdd = QtWidgets.QAction(frmAccountsReport)
        self.actionCreditCardOperAdd.setIcon(icon4)
        self.actionCreditCardOperAdd.setObjectName("actionCreditCardOperAdd")
        self.actionCreditCardOperDelete = QtWidgets.QAction(frmAccountsReport)
        self.actionCreditCardOperDelete.setIcon(icon5)
        self.actionCreditCardOperDelete.setObjectName("actionCreditCardOperDelete")
        self.actionCreditCardEdit = QtWidgets.QAction(frmAccountsReport)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/xulpymoney/editar.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionCreditCardEdit.setIcon(icon6)
        self.actionCreditCardEdit.setObjectName("actionCreditCardEdit")
        self.actionCreditCardActivate = QtWidgets.QAction(frmAccountsReport)
        self.actionCreditCardActivate.setCheckable(True)
        self.actionCreditCardActivate.setObjectName("actionCreditCardActivate")
        self.actionOperationEdit = QtWidgets.QAction(frmAccountsReport)
        self.actionOperationEdit.setIcon(icon6)
        self.actionOperationEdit.setObjectName("actionOperationEdit")
        self.actionCreditCardOperEdit = QtWidgets.QAction(frmAccountsReport)
        self.actionCreditCardOperEdit.setIcon(icon6)
        self.actionCreditCardOperEdit.setObjectName("actionCreditCardOperEdit")
        self.actionTransferDelete = QtWidgets.QAction(frmAccountsReport)
        self.actionTransferDelete.setIcon(icon5)
        self.actionTransferDelete.setObjectName("actionTransferDelete")
        self.actionInvestmentOperationEdit = QtWidgets.QAction(frmAccountsReport)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/xulpymoney/document-edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentOperationEdit.setIcon(icon7)
        self.actionInvestmentOperationEdit.setObjectName("actionInvestmentOperationEdit")
        self.actionInvestmentOperationDelete = QtWidgets.QAction(frmAccountsReport)
        self.actionInvestmentOperationDelete.setIcon(icon5)
        self.actionInvestmentOperationDelete.setObjectName("actionInvestmentOperationDelete")
        self.actionCreditCardOperRefund = QtWidgets.QAction(frmAccountsReport)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/xulpymoney/Money.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionCreditCardOperRefund.setIcon(icon8)
        self.actionCreditCardOperRefund.setObjectName("actionCreditCardOperRefund")
        self.actionConceptReport = QtWidgets.QAction(frmAccountsReport)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/xulpymoney/hucha.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionConceptReport.setIcon(icon9)
        self.actionConceptReport.setObjectName("actionConceptReport")

        self.retranslateUi(frmAccountsReport)
        self.tab.setCurrentIndex(1)
        self.tabOpertarjetasDiferidas.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(frmAccountsReport)
Exemple #15
0
    def setupUi(self, wdgStrategyResultsAdd):
        wdgStrategyResultsAdd.setObjectName("wdgStrategyResultsAdd")
        wdgStrategyResultsAdd.resize(1048, 809)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout(wdgStrategyResultsAdd)
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.lblTitulo = QtWidgets.QLabel(wdgStrategyResultsAdd)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.lblTitulo.setFont(font)
        self.lblTitulo.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTitulo.setObjectName("lblTitulo")
        self.verticalLayout_3.addWidget(self.lblTitulo)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.lblPixmap = QtWidgets.QLabel(wdgStrategyResultsAdd)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPixmap.sizePolicy().hasHeightForWidth())
        self.lblPixmap.setSizePolicy(sizePolicy)
        self.lblPixmap.setMinimumSize(QtCore.QSize(48, 48))
        self.lblPixmap.setMaximumSize(QtCore.QSize(48, 48))
        self.lblPixmap.setPixmap(QtGui.QPixmap(":/xulpymoney/strategy.png"))
        self.lblPixmap.setScaledContents(True)
        self.lblPixmap.setAlignment(QtCore.Qt.AlignCenter)
        self.lblPixmap.setObjectName("lblPixmap")
        self.horizontalLayout_4.addWidget(self.lblPixmap)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.groupBox = QtWidgets.QGroupBox(wdgStrategyResultsAdd)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.horizontalLayout_5.addWidget(self.label)
        self.txtName = QtWidgets.QLineEdit(self.groupBox)
        self.txtName.setObjectName("txtName")
        self.horizontalLayout_5.addWidget(self.txtName)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.wdgDtFrom = wdgDatetime(self.groupBox)
        self.wdgDtFrom.setObjectName("wdgDtFrom")
        self.horizontalLayout_2.addWidget(self.wdgDtFrom)
        self.wdgDtTo = wdgDatetime(self.groupBox)
        self.wdgDtTo.setObjectName("wdgDtTo")
        self.horizontalLayout_2.addWidget(self.wdgDtTo)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_8.addWidget(self.label_2)
        self.cmsInvestments = cmbManagerSelector(self.groupBox)
        self.cmsInvestments.setObjectName("cmsInvestments")
        self.horizontalLayout_8.addWidget(self.cmsInvestments)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.cmdSave = QtWidgets.QPushButton(self.groupBox)
        self.cmdSave.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/save.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdSave.setIcon(icon)
        self.cmdSave.setObjectName("cmdSave")
        self.verticalLayout.addWidget(self.cmdSave)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.tab_4 = QtWidgets.QTabWidget(wdgStrategyResultsAdd)
        self.tab_4.setObjectName("tab_4")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.mqtwCurrent = mqtwObjects(self.tab)
        self.mqtwCurrent.setObjectName("mqtwCurrent")
        self.horizontalLayout_3.addWidget(self.mqtwCurrent)
        self.tab_4.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.tab_2)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.mqtwHistorical = mqtwObjects(self.tab_2)
        self.mqtwHistorical.setObjectName("mqtwHistorical")
        self.horizontalLayout_6.addWidget(self.mqtwHistorical)
        self.tab_4.addTab(self.tab_2, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.tab_3)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.mqtwDividends = mqtwObjects(self.tab_3)
        self.mqtwDividends.setObjectName("mqtwDividends")
        self.horizontalLayout_7.addWidget(self.mqtwDividends)
        self.tab_4.addTab(self.tab_3, "")
        self.verticalLayout_3.addWidget(self.tab_4)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        spacerItem4 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem4)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.lblResults = QtWidgets.QLabel(wdgStrategyResultsAdd)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.lblResults.setFont(font)
        self.lblResults.setAlignment(QtCore.Qt.AlignCenter)
        self.lblResults.setObjectName("lblResults")
        self.verticalLayout_2.addWidget(self.lblResults)
        self.line = QtWidgets.QFrame(wdgStrategyResultsAdd)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_2.addWidget(self.line)
        self.cmdProductsUpdate = QtWidgets.QPushButton(wdgStrategyResultsAdd)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/transfer.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdProductsUpdate.setIcon(icon1)
        self.cmdProductsUpdate.setObjectName("cmdProductsUpdate")
        self.verticalLayout_2.addWidget(self.cmdProductsUpdate)
        self.horizontalLayout_9.addLayout(self.verticalLayout_2)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem5)
        self.verticalLayout_3.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_10.addLayout(self.verticalLayout_3)

        self.retranslateUi(wdgStrategyResultsAdd)
        self.tab_4.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(wdgStrategyResultsAdd)
Exemple #16
0
    def setupUi(self, wdgDisReinvest):
        wdgDisReinvest.setObjectName("wdgDisReinvest")
        wdgDisReinvest.resize(1102, 806)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/tools-wizard.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        wdgDisReinvest.setWindowIcon(icon)
        self.horizontalLayout_21 = QtWidgets.QHBoxLayout(wdgDisReinvest)
        self.horizontalLayout_21.setObjectName("horizontalLayout_21")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.lblTitulo = QtWidgets.QLabel(wdgDisReinvest)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.lblTitulo.setFont(font)
        self.lblTitulo.setStyleSheet("color: rgb(0, 128, 0);")
        self.lblTitulo.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTitulo.setObjectName("lblTitulo")
        self.verticalLayout_3.addWidget(self.lblTitulo)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem)
        self.grp = QtWidgets.QGroupBox(wdgDisReinvest)
        self.grp.setTitle("")
        self.grp.setObjectName("grp")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.grp)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.radRe = QtWidgets.QRadioButton(self.grp)
        self.radRe.setChecked(True)
        self.radRe.setObjectName("radRe")
        self.horizontalLayout.addWidget(self.radRe)
        self.radDes = QtWidgets.QRadioButton(self.grp)
        self.radDes.setChecked(False)
        self.radDes.setObjectName("radDes")
        self.horizontalLayout.addWidget(self.radDes)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.groupBox = QtWidgets.QGroupBox(self.grp)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.lblSimulacion = QtWidgets.QLabel(self.groupBox)
        self.lblSimulacion.setObjectName("lblSimulacion")
        self.horizontalLayout_12.addWidget(self.lblSimulacion)
        self.txtSimulacion = myQLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtSimulacion.sizePolicy().hasHeightForWidth())
        self.txtSimulacion.setSizePolicy(sizePolicy)
        self.txtSimulacion.setAlignment(QtCore.Qt.AlignRight
                                        | QtCore.Qt.AlignTrailing
                                        | QtCore.Qt.AlignVCenter)
        self.txtSimulacion.setObjectName("txtSimulacion")
        self.horizontalLayout_12.addWidget(self.txtSimulacion)
        self.verticalLayout_2.addLayout(self.horizontalLayout_12)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.lblValor = QtWidgets.QLabel(self.groupBox)
        self.lblValor.setObjectName("lblValor")
        self.horizontalLayout_5.addWidget(self.lblValor)
        self.txtValorAccion = myQLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtValorAccion.sizePolicy().hasHeightForWidth())
        self.txtValorAccion.setSizePolicy(sizePolicy)
        self.txtValorAccion.setAlignment(QtCore.Qt.AlignRight
                                         | QtCore.Qt.AlignTrailing
                                         | QtCore.Qt.AlignVCenter)
        self.txtValorAccion.setObjectName("txtValorAccion")
        self.horizontalLayout_5.addWidget(self.txtValorAccion)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_4.addWidget(self.label_3)
        self.txtComision = myQLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtComision.sizePolicy().hasHeightForWidth())
        self.txtComision.setSizePolicy(sizePolicy)
        self.txtComision.setAlignment(QtCore.Qt.AlignRight
                                      | QtCore.Qt.AlignTrailing
                                      | QtCore.Qt.AlignVCenter)
        self.txtComision.setObjectName("txtComision")
        self.horizontalLayout_4.addWidget(self.txtComision)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.label_5 = QtWidgets.QLabel(self.groupBox)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_11.addWidget(self.label_5)
        self.txtAcciones = myQLineEdit(self.groupBox)
        self.txtAcciones.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtAcciones.sizePolicy().hasHeightForWidth())
        self.txtAcciones.setSizePolicy(sizePolicy)
        self.txtAcciones.setText("")
        self.txtAcciones.setAlignment(QtCore.Qt.AlignRight
                                      | QtCore.Qt.AlignTrailing
                                      | QtCore.Qt.AlignVCenter)
        self.txtAcciones.setObjectName("txtAcciones")
        self.horizontalLayout_11.addWidget(self.txtAcciones)
        self.verticalLayout_2.addLayout(self.horizontalLayout_11)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.txtImporte = myQLineEdit(self.groupBox)
        self.txtImporte.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtImporte.sizePolicy().hasHeightForWidth())
        self.txtImporte.setSizePolicy(sizePolicy)
        self.txtImporte.setText("")
        self.txtImporte.setAlignment(QtCore.Qt.AlignRight
                                     | QtCore.Qt.AlignTrailing
                                     | QtCore.Qt.AlignVCenter)
        self.txtImporte.setObjectName("txtImporte")
        self.horizontalLayout_3.addWidget(self.txtImporte)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_6.addLayout(self.verticalLayout_2)
        self.verticalLayout.addWidget(self.groupBox)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.cmdOrder = QtWidgets.QPushButton(self.grp)
        self.cmdOrder.setEnabled(False)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdOrder.setIcon(icon1)
        self.cmdOrder.setObjectName("cmdOrder")
        self.horizontalLayout_2.addWidget(self.cmdOrder)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.cmd = QtWidgets.QPushButton(self.grp)
        self.cmd.setIcon(icon)
        self.cmd.setObjectName("cmd")
        self.horizontalLayout_2.addWidget(self.cmd)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_7.addLayout(self.verticalLayout)
        self.horizontalLayout_8.addWidget(self.grp)
        self.cmdGraph = QtWidgets.QToolButton(wdgDisReinvest)
        self.cmdGraph.setEnabled(False)
        self.cmdGraph.setText("")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/report.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdGraph.setIcon(icon2)
        self.cmdGraph.setIconSize(QtCore.QSize(64, 64))
        self.cmdGraph.setObjectName("cmdGraph")
        self.horizontalLayout_8.addWidget(self.cmdGraph)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem2)
        self.verticalLayout_3.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        spacerItem3 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_14.addItem(spacerItem3)
        self.label = QtWidgets.QLabel(wdgDisReinvest)
        self.label.setObjectName("label")
        self.horizontalLayout_14.addWidget(self.label)
        self.cmbPrices = QtWidgets.QComboBox(wdgDisReinvest)
        self.cmbPrices.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToContents)
        self.cmbPrices.setObjectName("cmbPrices")
        self.horizontalLayout_14.addWidget(self.cmbPrices)
        self.verticalLayout_3.addLayout(self.horizontalLayout_14)
        self.tabOps = QtWidgets.QTabWidget(wdgDisReinvest)
        self.tabOps.setObjectName("tabOps")
        self.tab_13 = QtWidgets.QWidget()
        self.tab_13.setObjectName("tab_13")
        self.horizontalLayout_24 = QtWidgets.QHBoxLayout(self.tab_13)
        self.horizontalLayout_24.setObjectName("horizontalLayout_24")
        self.mqtwOps = mqtw(self.tab_13)
        self.mqtwOps.setObjectName("mqtwOps")
        self.horizontalLayout_24.addWidget(self.mqtwOps)
        self.tabOps.addTab(self.tab_13, "")
        self.Situac_3 = QtWidgets.QWidget()
        self.Situac_3.setObjectName("Situac_3")
        self.horizontalLayout_26 = QtWidgets.QHBoxLayout(self.Situac_3)
        self.horizontalLayout_26.setObjectName("horizontalLayout_26")
        self.mqtwCurrentOps = mqtw(self.Situac_3)
        self.mqtwCurrentOps.setObjectName("mqtwCurrentOps")
        self.horizontalLayout_26.addWidget(self.mqtwCurrentOps)
        self.tabOps.addTab(self.Situac_3, "")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.tab)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.mqtwHistoricalOps = mqtwObjects(self.tab)
        self.mqtwHistoricalOps.setObjectName("mqtwHistoricalOps")
        self.horizontalLayout_9.addWidget(self.mqtwHistoricalOps)
        self.tabOps.addTab(self.tab, "")
        self.verticalLayout_3.addWidget(self.tabOps)
        self.horizontalLayout_21.addLayout(self.verticalLayout_3)

        self.retranslateUi(wdgDisReinvest)
        self.tabOps.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(wdgDisReinvest)
Exemple #17
0
    def setupUi(self, wdgQuotesSaveResult):
        wdgQuotesSaveResult.setObjectName("wdgQuotesSaveResult")
        wdgQuotesSaveResult.resize(751, 585)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(wdgQuotesSaveResult)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lbl = QtWidgets.QLabel(wdgQuotesSaveResult)
        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.addWidget(self.lbl)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.label = QtWidgets.QLabel(wdgQuotesSaveResult)
        self.label.setMaximumSize(QtCore.QSize(64, 64))
        self.label.setText("")
        self.label.setPixmap(QtGui.QPixmap(":/xulpymoney/save.png"))
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.tab = QtWidgets.QTabWidget(wdgQuotesSaveResult)
        self.tab.setObjectName("tab")
        self.tabAdded = QtWidgets.QWidget()
        self.tabAdded.setObjectName("tabAdded")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tabAdded)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.mqtwAdded = mqtwObjects(self.tabAdded)
        self.mqtwAdded.setObjectName("mqtwAdded")
        self.horizontalLayout_3.addWidget(self.mqtwAdded)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/save.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabAdded, icon, "")
        self.tabUpdated = QtWidgets.QWidget()
        self.tabUpdated.setObjectName("tabUpdated")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.tabUpdated)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.mqtwUpdated = mqtwObjects(self.tabUpdated)
        self.mqtwUpdated.setObjectName("mqtwUpdated")
        self.horizontalLayout_4.addWidget(self.mqtwUpdated)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/editar.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabUpdated, icon1, "")
        self.tabIgnored = QtWidgets.QWidget()
        self.tabIgnored.setObjectName("tabIgnored")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.tabIgnored)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.mqtwIgnored = mqtwObjects(self.tabIgnored)
        self.mqtwIgnored.setObjectName("mqtwIgnored")
        self.horizontalLayout_5.addWidget(self.mqtwIgnored)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/study.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabIgnored, icon2, "")
        self.tabErrors = QtWidgets.QWidget()
        self.tabErrors.setObjectName("tabErrors")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.tabErrors)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.mqtwErrors = mqtwObjects(self.tabErrors)
        self.mqtwErrors.setObjectName("mqtwErrors")
        self.horizontalLayout_6.addWidget(self.mqtwErrors)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/button_cancel.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabErrors, icon3, "")
        self.verticalLayout.addWidget(self.tab)
        self.horizontalLayout_2.addLayout(self.verticalLayout)

        self.retranslateUi(wdgQuotesSaveResult)
        self.tab.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(wdgQuotesSaveResult)
Exemple #18
0
    def setupUi(self, wdgInvestmentsOperations):
        wdgInvestmentsOperations.setObjectName("wdgInvestmentsOperations")
        wdgInvestmentsOperations.resize(1048, 635)
        self.horizontalLayout = QtWidgets.QHBoxLayout(wdgInvestmentsOperations)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lbl = QtWidgets.QLabel(wdgInvestmentsOperations)
        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.addWidget(self.lbl)
        self.tab = QtWidgets.QTabWidget(wdgInvestmentsOperations)
        self.tab.setObjectName("tab")
        self.tab_1 = QtWidgets.QWidget()
        self.tab_1.setObjectName("tab_1")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.tab_1)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox = QtWidgets.QGroupBox(self.tab_1)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.radYear = QtWidgets.QRadioButton(self.groupBox)
        self.radYear.setObjectName("radYear")
        self.horizontalLayout_3.addWidget(self.radYear)
        self.wy = wdgYear(self.groupBox)
        self.wy.setObjectName("wy")
        self.horizontalLayout_3.addWidget(self.wy)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.radYearMonth = QtWidgets.QRadioButton(self.groupBox)
        self.radYearMonth.setChecked(True)
        self.radYearMonth.setObjectName("radYearMonth")
        self.horizontalLayout_2.addWidget(self.radYearMonth)
        self.wym = wdgYearMonth(self.groupBox)
        self.wym.setObjectName("wym")
        self.horizontalLayout_2.addWidget(self.wym)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.verticalLayout_2.addLayout(self.verticalLayout_3)
        self.line = QtWidgets.QFrame(self.groupBox)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_2.addWidget(self.line)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem2)
        self.cmbFilters = QtWidgets.QComboBox(self.groupBox)
        self.cmbFilters.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents)
        self.cmbFilters.setObjectName("cmbFilters")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/star.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbFilters.addItem(icon, "")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbFilters.addItem(icon1, "")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/list-remove.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbFilters.addItem(icon2, "")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/eye_red.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmbFilters.addItem(icon3, "")
        self.horizontalLayout_4.addWidget(self.cmbFilters)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_6.addLayout(self.verticalLayout_2)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.mqtw = mqtwObjects(self.tab_1)
        self.mqtw.setObjectName("mqtw")
        self.verticalLayout_4.addWidget(self.mqtw)
        self.horizontalLayout_7.addLayout(self.verticalLayout_4)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/document-edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tab_1, icon4, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.tab_2)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.mqtwCurrent = mqtwObjects(self.tab_2)
        self.mqtwCurrent.setObjectName("mqtwCurrent")
        self.horizontalLayout_5.addWidget(self.mqtwCurrent)
        self.tab.addTab(self.tab_2, icon4, "")
        self.verticalLayout.addWidget(self.tab)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.actionShowInvestment = QtWidgets.QAction(wdgInvestmentsOperations)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/xulpymoney/bundle.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionShowInvestment.setIcon(icon5)
        self.actionShowInvestment.setObjectName("actionShowInvestment")
        self.actionShowInvestmentOperation = QtWidgets.QAction(wdgInvestmentsOperations)
        self.actionShowInvestmentOperation.setIcon(icon4)
        self.actionShowInvestmentOperation.setObjectName("actionShowInvestmentOperation")
        self.actionShowAccount = QtWidgets.QAction(wdgInvestmentsOperations)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/xulpymoney/coins.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionShowAccount.setIcon(icon6)
        self.actionShowAccount.setObjectName("actionShowAccount")
        self.actionShowProduct = QtWidgets.QAction(wdgInvestmentsOperations)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/xulpymoney/books.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionShowProduct.setIcon(icon7)
        self.actionShowProduct.setObjectName("actionShowProduct")
        self.actionRangeReport = QtWidgets.QAction(wdgInvestmentsOperations)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/xulpymoney/eye.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionRangeReport.setIcon(icon8)
        self.actionRangeReport.setObjectName("actionRangeReport")

        self.retranslateUi(wdgInvestmentsOperations)
        self.tab.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(wdgInvestmentsOperations)
Exemple #19
0
    def setupUi(self, frmInvestmentReport):
        frmInvestmentReport.setObjectName("frmInvestmentReport")
        frmInvestmentReport.setWindowModality(QtCore.Qt.WindowModal)
        frmInvestmentReport.resize(860, 588)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/report2.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmInvestmentReport.setWindowIcon(icon)
        frmInvestmentReport.setModal(True)
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(frmInvestmentReport)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout()
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.lblTitulo = QtWidgets.QLabel(frmInvestmentReport)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.lblTitulo.setFont(font)
        self.lblTitulo.setStyleSheet("color: rgb(0, 128, 0);")
        self.lblTitulo.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTitulo.setObjectName("lblTitulo")
        self.verticalLayout_9.addWidget(self.lblTitulo)
        self.tab = QtWidgets.QTabWidget(frmInvestmentReport)
        self.tab.setEnabled(True)
        self.tab.setObjectName("tab")
        self.tab_12 = QtWidgets.QWidget()
        self.tab_12.setObjectName("tab_12")
        self.horizontalLayout_15 = QtWidgets.QHBoxLayout(self.tab_12)
        self.horizontalLayout_15.setObjectName("horizontalLayout_15")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        spacerItem = QtWidgets.QSpacerItem(20, 40,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_12.addItem(spacerItem1)
        self.groupBox = QtWidgets.QGroupBox(self.tab_12)
        self.groupBox.setTitle("")
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.cmbAccount = QtWidgets.QComboBox(self.groupBox)
        self.cmbAccount.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.cmbAccount.setObjectName("cmbAccount")
        self.horizontalLayout_2.addWidget(self.cmbAccount)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.txtInvestment = QtWidgets.QLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtInvestment.sizePolicy().hasHeightForWidth())
        self.txtInvestment.setSizePolicy(sizePolicy)
        self.txtInvestment.setAlignment(QtCore.Qt.AlignRight
                                        | QtCore.Qt.AlignTrailing
                                        | QtCore.Qt.AlignVCenter)
        self.txtInvestment.setObjectName("txtInvestment")
        self.horizontalLayout_3.addWidget(self.txtInvestment)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.ise = wdgProductSelector(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ise.sizePolicy().hasHeightForWidth())
        self.ise.setSizePolicy(sizePolicy)
        self.ise.setObjectName("ise")
        self.horizontalLayout_8.addWidget(self.ise)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_4 = QtWidgets.QLabel(self.groupBox)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_5.addWidget(self.label_4)
        self.txtVenta = myQLineEdit(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtVenta.sizePolicy().hasHeightForWidth())
        self.txtVenta.setSizePolicy(sizePolicy)
        self.txtVenta.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.txtVenta.setObjectName("txtVenta")
        self.horizontalLayout_5.addWidget(self.txtVenta)
        self.cmdPuntoVenta = QtWidgets.QToolButton(self.groupBox)
        self.cmdPuntoVenta.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/tools-wizard.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdPuntoVenta.setIcon(icon1)
        self.cmdPuntoVenta.setObjectName("cmdPuntoVenta")
        self.horizontalLayout_5.addWidget(self.cmdPuntoVenta)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.chkExpiration = QtWidgets.QCheckBox(self.groupBox)
        self.chkExpiration.setChecked(True)
        self.chkExpiration.setObjectName("chkExpiration")
        self.horizontalLayout_10.addWidget(self.chkExpiration)
        self.cmdToday = QtWidgets.QToolButton(self.groupBox)
        self.cmdToday.setText("")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/today.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdToday.setIcon(icon2)
        self.cmdToday.setIconSize(QtCore.QSize(32, 32))
        self.cmdToday.setObjectName("cmdToday")
        self.horizontalLayout_10.addWidget(self.cmdToday)
        self.calExpiration = QtWidgets.QCalendarWidget(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.calExpiration.sizePolicy().hasHeightForWidth())
        self.calExpiration.setSizePolicy(sizePolicy)
        self.calExpiration.setFirstDayOfWeek(QtCore.Qt.Monday)
        self.calExpiration.setVerticalHeaderFormat(
            QtWidgets.QCalendarWidget.NoVerticalHeader)
        self.calExpiration.setObjectName("calExpiration")
        self.horizontalLayout_10.addWidget(self.calExpiration)
        self.verticalLayout.addLayout(self.horizontalLayout_10)
        self.chkDailyAdjustment = QtWidgets.QCheckBox(self.groupBox)
        self.chkDailyAdjustment.setObjectName("chkDailyAdjustment")
        self.verticalLayout.addWidget(self.chkDailyAdjustment)
        self.cmdInvestment = QtWidgets.QPushButton(self.groupBox)
        self.cmdInvestment.setEnabled(False)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/save.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdInvestment.setIcon(icon3)
        self.cmdInvestment.setObjectName("cmdInvestment")
        self.verticalLayout.addWidget(self.cmdInvestment)
        self.horizontalLayout_14.addLayout(self.verticalLayout)
        self.horizontalLayout_12.addWidget(self.groupBox)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_12.addItem(spacerItem2)
        self.verticalLayout_4.addLayout(self.horizontalLayout_12)
        spacerItem3 = QtWidgets.QSpacerItem(20, 40,
                                            QtWidgets.QSizePolicy.Minimum,
                                            QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem3)
        self.horizontalLayout_15.addLayout(self.verticalLayout_4)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/bundle.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tab_12, icon4, "")
        self.tabInvestmentCurrent = QtWidgets.QWidget()
        self.tabInvestmentCurrent.setObjectName("tabInvestmentCurrent")
        self.horizontalLayout = QtWidgets.QHBoxLayout(
            self.tabInvestmentCurrent)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout()
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.grpCurrentInvestmentCurrency = QtWidgets.QGroupBox(
            self.tabInvestmentCurrent)
        self.grpCurrentInvestmentCurrency.setObjectName(
            "grpCurrentInvestmentCurrency")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(
            self.grpCurrentInvestmentCurrency)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.mqtwInvestmentCurrent = mqtw(self.grpCurrentInvestmentCurrency)
        self.mqtwInvestmentCurrent.setObjectName("mqtwInvestmentCurrent")
        self.verticalLayout_6.addWidget(self.mqtwInvestmentCurrent)
        self.verticalLayout_11.addWidget(self.grpCurrentInvestmentCurrency)
        self.grpCurrentAccountCurrency = QtWidgets.QGroupBox(
            self.tabInvestmentCurrent)
        self.grpCurrentAccountCurrency.setObjectName(
            "grpCurrentAccountCurrency")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(
            self.grpCurrentAccountCurrency)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.mqtwInvestmentCurrentAccountCurrency = mqtw(
            self.grpCurrentAccountCurrency)
        self.mqtwInvestmentCurrentAccountCurrency.setObjectName(
            "mqtwInvestmentCurrentAccountCurrency")
        self.verticalLayout_8.addWidget(
            self.mqtwInvestmentCurrentAccountCurrency)
        self.verticalLayout_11.addWidget(self.grpCurrentAccountCurrency)
        self.lblAge = QtWidgets.QLabel(self.tabInvestmentCurrent)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.lblAge.setFont(font)
        self.lblAge.setAlignment(QtCore.Qt.AlignCenter)
        self.lblAge.setObjectName("lblAge")
        self.verticalLayout_11.addWidget(self.lblAge)
        self.horizontalLayout.addLayout(self.verticalLayout_11)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/xulpymoney/document-edit.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabInvestmentCurrent, icon5, "")
        self.tabOperacionesHistoricas = QtWidgets.QWidget()
        self.tabOperacionesHistoricas.setObjectName("tabOperacionesHistoricas")
        self.horizontalLayout_17 = QtWidgets.QHBoxLayout(
            self.tabOperacionesHistoricas)
        self.horizontalLayout_17.setObjectName("horizontalLayout_17")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.chkOperaciones = QtWidgets.QCheckBox(
            self.tabOperacionesHistoricas)
        self.chkOperaciones.setObjectName("chkOperaciones")
        self.verticalLayout_7.addWidget(self.chkOperaciones)
        self.grpOperationsInvestmentCurrency = QtWidgets.QGroupBox(
            self.tabOperacionesHistoricas)
        self.grpOperationsInvestmentCurrency.setObjectName(
            "grpOperationsInvestmentCurrency")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(
            self.grpOperationsInvestmentCurrency)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.mqtwOperations = mqtw(self.grpOperationsInvestmentCurrency)
        self.mqtwOperations.setObjectName("mqtwOperations")
        self.horizontalLayout_9.addWidget(self.mqtwOperations)
        self.verticalLayout_7.addWidget(self.grpOperationsInvestmentCurrency)
        self.grpOperationsAccountCurrency = QtWidgets.QGroupBox(
            self.tabOperacionesHistoricas)
        self.grpOperationsAccountCurrency.setObjectName(
            "grpOperationsAccountCurrency")
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout(
            self.grpOperationsAccountCurrency)
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
        self.mqtwOperationsAccountCurrency = mqtw(
            self.grpOperationsAccountCurrency)
        self.mqtwOperationsAccountCurrency.setObjectName(
            "mqtwOperationsAccountCurrency")
        self.horizontalLayout_16.addWidget(self.mqtwOperationsAccountCurrency)
        self.verticalLayout_7.addWidget(self.grpOperationsAccountCurrency)
        self.horizontalLayout_17.addLayout(self.verticalLayout_7)
        self.tab.addTab(self.tabOperacionesHistoricas, icon5, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.tab_2)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout_14 = QtWidgets.QVBoxLayout()
        self.verticalLayout_14.setObjectName("verticalLayout_14")
        self.grpHistoricalInvestmentCurrency = QtWidgets.QGroupBox(self.tab_2)
        self.grpHistoricalInvestmentCurrency.setObjectName(
            "grpHistoricalInvestmentCurrency")
        self.verticalLayout_12 = QtWidgets.QVBoxLayout(
            self.grpHistoricalInvestmentCurrency)
        self.verticalLayout_12.setObjectName("verticalLayout_12")
        self.mqtwInvestmentHistorical = mqtwObjects(
            self.grpHistoricalInvestmentCurrency)
        self.mqtwInvestmentHistorical.setObjectName("mqtwInvestmentHistorical")
        self.verticalLayout_12.addWidget(self.mqtwInvestmentHistorical)
        self.verticalLayout_14.addWidget(self.grpHistoricalInvestmentCurrency)
        self.grpHistoricalAccountCurrency = QtWidgets.QGroupBox(self.tab_2)
        self.grpHistoricalAccountCurrency.setObjectName(
            "grpHistoricalAccountCurrency")
        self.verticalLayout_13 = QtWidgets.QVBoxLayout(
            self.grpHistoricalAccountCurrency)
        self.verticalLayout_13.setObjectName("verticalLayout_13")
        self.mqtwInvestmentHistoricalAccountCurrency = mqtwObjects(
            self.grpHistoricalAccountCurrency)
        self.mqtwInvestmentHistoricalAccountCurrency.setObjectName(
            "mqtwInvestmentHistoricalAccountCurrency")
        self.verticalLayout_13.addWidget(
            self.mqtwInvestmentHistoricalAccountCurrency)
        self.verticalLayout_14.addWidget(self.grpHistoricalAccountCurrency)
        self.horizontalLayout_4.addLayout(self.verticalLayout_14)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/xulpymoney/history2.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tab_2, icon6, "")
        self.tabDividends = QtWidgets.QWidget()
        self.tabDividends.setObjectName("tabDividends")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.tabDividends)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.verticalLayout_16 = QtWidgets.QVBoxLayout()
        self.verticalLayout_16.setObjectName("verticalLayout_16")
        self.chkHistoricalDividends = QtWidgets.QCheckBox(self.tabDividends)
        self.chkHistoricalDividends.setObjectName("chkHistoricalDividends")
        self.verticalLayout_16.addWidget(self.chkHistoricalDividends)
        self.grpDividendsInvestmentCurrency = QtWidgets.QGroupBox(
            self.tabDividends)
        self.grpDividendsInvestmentCurrency.setObjectName(
            "grpDividendsInvestmentCurrency")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(
            self.grpDividendsInvestmentCurrency)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.mqtwDividends = mqtw(self.grpDividendsInvestmentCurrency)
        self.mqtwDividends.setObjectName("mqtwDividends")
        self.verticalLayout_5.addWidget(self.mqtwDividends)
        self.verticalLayout_16.addWidget(self.grpDividendsInvestmentCurrency)
        self.grpDividendsAccountCurrency = QtWidgets.QGroupBox(
            self.tabDividends)
        self.grpDividendsAccountCurrency.setObjectName(
            "grpDividendsAccountCurrency")
        self.verticalLayout_15 = QtWidgets.QVBoxLayout(
            self.grpDividendsAccountCurrency)
        self.verticalLayout_15.setObjectName("verticalLayout_15")
        self.mqtwDividendsAccountCurrency = mqtw(
            self.grpDividendsAccountCurrency)
        self.mqtwDividendsAccountCurrency.setObjectName(
            "mqtwDividendsAccountCurrency")
        self.verticalLayout_15.addWidget(self.mqtwDividendsAccountCurrency)
        self.verticalLayout_16.addWidget(self.grpDividendsAccountCurrency)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.grpDividendsEstimation = QtWidgets.QGroupBox(self.tabDividends)
        self.grpDividendsEstimation.setObjectName("grpDividendsEstimation")
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout(
            self.grpDividendsEstimation)
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.lblDivAnualEstimado = QtWidgets.QLabel(
            self.grpDividendsEstimation)
        self.lblDivAnualEstimado.setObjectName("lblDivAnualEstimado")
        self.verticalLayout_2.addWidget(self.lblDivAnualEstimado)
        self.lblDivFechaRevision = QtWidgets.QLabel(
            self.grpDividendsEstimation)
        self.lblDivFechaRevision.setObjectName("lblDivFechaRevision")
        self.verticalLayout_2.addWidget(self.lblDivFechaRevision)
        self.lblDivSaldoEstimado = QtWidgets.QLabel(
            self.grpDividendsEstimation)
        self.lblDivSaldoEstimado.setObjectName("lblDivSaldoEstimado")
        self.verticalLayout_2.addWidget(self.lblDivSaldoEstimado)
        self.horizontalLayout_11.addLayout(self.verticalLayout_2)
        self.horizontalLayout_6.addWidget(self.grpDividendsEstimation)
        self.grpDividendsEfectivos = QtWidgets.QGroupBox(self.tabDividends)
        self.grpDividendsEfectivos.setObjectName("grpDividendsEfectivos")
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout(
            self.grpDividendsEfectivos)
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.lblDivTPC = QtWidgets.QLabel(self.grpDividendsEfectivos)
        self.lblDivTPC.setObjectName("lblDivTPC")
        self.verticalLayout_3.addWidget(self.lblDivTPC)
        self.lblDivTAE = QtWidgets.QLabel(self.grpDividendsEfectivos)
        self.lblDivTAE.setObjectName("lblDivTAE")
        self.verticalLayout_3.addWidget(self.lblDivTAE)
        self.horizontalLayout_13.addLayout(self.verticalLayout_3)
        self.horizontalLayout_6.addWidget(self.grpDividendsEfectivos)
        self.verticalLayout_16.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_7.addLayout(self.verticalLayout_16)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/xulpymoney/dividends.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabDividends, icon7, "")
        self.tabChart = QtWidgets.QWidget()
        self.tabChart.setObjectName("tabChart")
        self.horizontalLayout_20 = QtWidgets.QHBoxLayout(self.tabChart)
        self.horizontalLayout_20.setObjectName("horizontalLayout_20")
        self.wdgTS = VCTemporalSeries(self.tabChart)
        self.wdgTS.setObjectName("wdgTS")
        self.horizontalLayout_20.addWidget(self.wdgTS)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/xulpymoney/report.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tab.addTab(self.tabChart, icon8, "")
        self.verticalLayout_9.addWidget(self.tab)
        self.verticalLayout_10.addLayout(self.verticalLayout_9)
        self.actionOperationAdd = QtWidgets.QAction(frmInvestmentReport)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOperationAdd.setIcon(icon9)
        self.actionOperationAdd.setObjectName("actionOperationAdd")
        self.actionOperationDelete = QtWidgets.QAction(frmInvestmentReport)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(":/xulpymoney/list-remove.png"),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOperationDelete.setIcon(icon10)
        self.actionOperationDelete.setObjectName("actionOperationDelete")
        self.actionDividendAdd = QtWidgets.QAction(frmInvestmentReport)
        self.actionDividendAdd.setIcon(icon9)
        self.actionDividendAdd.setObjectName("actionDividendAdd")
        self.actionDividendRemove = QtWidgets.QAction(frmInvestmentReport)
        self.actionDividendRemove.setIcon(icon10)
        self.actionDividendRemove.setObjectName("actionDividendRemove")
        self.actionOperationEdit = QtWidgets.QAction(frmInvestmentReport)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(":/xulpymoney/editar.png"),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOperationEdit.setIcon(icon11)
        self.actionOperationEdit.setObjectName("actionOperationEdit")
        self.actionDisReinvest = QtWidgets.QAction(frmInvestmentReport)
        self.actionDisReinvest.setIcon(icon6)
        self.actionDisReinvest.setObjectName("actionDisReinvest")
        self.actionSellingPoint = QtWidgets.QAction(frmInvestmentReport)
        self.actionSellingPoint.setIcon(icon1)
        self.actionSellingPoint.setObjectName("actionSellingPoint")
        self.actionDividendEdit = QtWidgets.QAction(frmInvestmentReport)
        self.actionDividendEdit.setIcon(icon11)
        self.actionDividendEdit.setObjectName("actionDividendEdit")
        self.actionSharesTransferUndo = QtWidgets.QAction(frmInvestmentReport)
        self.actionSharesTransferUndo.setIcon(icon10)
        self.actionSharesTransferUndo.setObjectName("actionSharesTransferUndo")
        self.actionSharesTransfer = QtWidgets.QAction(frmInvestmentReport)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(":/xulpymoney/transfer.png"),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSharesTransfer.setIcon(icon12)
        self.actionSharesTransfer.setObjectName("actionSharesTransfer")
        self.actionSplit = QtWidgets.QAction(frmInvestmentReport)
        self.actionSplit.setIcon(icon11)
        self.actionSplit.setObjectName("actionSplit")
        self.actionChangeBenchmarkPrice = QtWidgets.QAction(
            frmInvestmentReport)
        self.actionChangeBenchmarkPrice.setIcon(icon11)
        self.actionChangeBenchmarkPrice.setObjectName(
            "actionChangeBenchmarkPrice")
        self.actionRangeReport = QtWidgets.QAction(frmInvestmentReport)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap(":/xulpymoney/eye.png"),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionRangeReport.setIcon(icon13)
        self.actionRangeReport.setObjectName("actionRangeReport")
        self.actionDisReinvestProduct = QtWidgets.QAction(frmInvestmentReport)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap(":/xulpymoney/study.png"),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionDisReinvestProduct.setIcon(icon14)
        self.actionDisReinvestProduct.setObjectName("actionDisReinvestProduct")
        self.actionContractAdd = QtWidgets.QAction(frmInvestmentReport)
        self.actionContractAdd.setIcon(icon9)
        self.actionContractAdd.setObjectName("actionContractAdd")
        self.actionContractDelete = QtWidgets.QAction(frmInvestmentReport)
        self.actionContractDelete.setIcon(icon10)
        self.actionContractDelete.setObjectName("actionContractDelete")
        self.actionContractEdit = QtWidgets.QAction(frmInvestmentReport)
        self.actionContractEdit.setIcon(icon11)
        self.actionContractEdit.setObjectName("actionContractEdit")

        self.retranslateUi(frmInvestmentReport)
        self.tab.setCurrentIndex(0)
        self.chkExpiration.toggled['bool'].connect(
            self.calExpiration.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(frmInvestmentReport)
Exemple #20
0
    def setupUi(self, wdgBanks):
        wdgBanks.setObjectName("wdgBanks")
        wdgBanks.resize(1037, 591)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/bank.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        wdgBanks.setWindowIcon(icon)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout(wdgBanks)
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.lbl = QtWidgets.QLabel(wdgBanks)
        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_2.addWidget(self.lbl)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.chkActives = QtWidgets.QCheckBox(wdgBanks)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkActives.sizePolicy().hasHeightForWidth())
        self.chkActives.setSizePolicy(sizePolicy)
        self.chkActives.setChecked(True)
        self.chkActives.setObjectName("chkActives")
        self.horizontalLayout_6.addWidget(self.chkActives)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem1)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label = QtWidgets.QLabel(wdgBanks)
        self.label.setObjectName("label")
        self.horizontalLayout_5.addWidget(self.label)
        self.cmdGraph = QtWidgets.QToolButton(wdgBanks)
        self.cmdGraph.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/pie.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdGraph.setIcon(icon1)
        self.cmdGraph.setObjectName("cmdGraph")
        self.horizontalLayout_5.addWidget(self.cmdGraph)
        self.horizontalLayout_6.addLayout(self.horizontalLayout_5)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.groupBox_3 = QtWidgets.QGroupBox(wdgBanks)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.mqtwBanks = mqtwObjects(self.groupBox_3)
        self.mqtwBanks.setObjectName("mqtwBanks")
        self.horizontalLayout_4.addWidget(self.mqtwBanks)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.horizontalLayout_7.addLayout(self.verticalLayout)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem2)
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.groupBox_2 = QtWidgets.QGroupBox(wdgBanks)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.mqtwAccounts = mqtwObjects(self.groupBox_2)
        self.mqtwAccounts.setObjectName("mqtwAccounts")
        self.horizontalLayout_2.addWidget(self.mqtwAccounts)
        self.horizontalLayout_3.addWidget(self.groupBox_2)
        self.groupBox = QtWidgets.QGroupBox(wdgBanks)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.mqtwInvestments = mqtwManager(self.groupBox)
        self.mqtwInvestments.setObjectName("mqtwInvestments")
        self.horizontalLayout.addWidget(self.mqtwInvestments)
        self.horizontalLayout_3.addWidget(self.groupBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_8.addLayout(self.verticalLayout_2)
        self.actionInvestmentReport = QtWidgets.QAction(wdgBanks)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/report2.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentReport.setIcon(icon2)
        self.actionInvestmentReport.setObjectName("actionInvestmentReport")
        self.actionAccountReport = QtWidgets.QAction(wdgBanks)
        self.actionAccountReport.setIcon(icon2)
        self.actionAccountReport.setObjectName("actionAccountReport")
        self.actionBankAdd = QtWidgets.QAction(wdgBanks)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionBankAdd.setIcon(icon3)
        self.actionBankAdd.setObjectName("actionBankAdd")
        self.actionBankDelete = QtWidgets.QAction(wdgBanks)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/button_cancel.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionBankDelete.setIcon(icon4)
        self.actionBankDelete.setObjectName("actionBankDelete")
        self.actionBankEdit = QtWidgets.QAction(wdgBanks)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/xulpymoney/editar.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionBankEdit.setIcon(icon5)
        self.actionBankEdit.setObjectName("actionBankEdit")
        self.actionActive = QtWidgets.QAction(wdgBanks)
        self.actionActive.setCheckable(True)
        self.actionActive.setObjectName("actionActive")

        self.retranslateUi(wdgBanks)
        QtCore.QMetaObject.connectSlotsByName(wdgBanks)
Exemple #21
0
    def setupUi(self, wdgDividendsReport):
        wdgDividendsReport.setObjectName("wdgDividendsReport")
        wdgDividendsReport.resize(1000, 531)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            wdgDividendsReport.sizePolicy().hasHeightForWidth())
        wdgDividendsReport.setSizePolicy(sizePolicy)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(wdgDividendsReport)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lbl = QtWidgets.QLabel(wdgDividendsReport)
        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.addWidget(self.lbl)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.label = QtWidgets.QLabel(wdgDividendsReport)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.spin = QtWidgets.QSpinBox(wdgDividendsReport)
        self.spin.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                               | QtCore.Qt.AlignVCenter)
        self.spin.setMinimum(1)
        self.spin.setMaximum(3650)
        self.spin.setSingleStep(10)
        self.spin.setProperty("value", 90)
        self.spin.setObjectName("spin")
        self.horizontalLayout.addWidget(self.spin)
        self.cmd = QtWidgets.QPushButton(wdgDividendsReport)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/alarm_clock.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmd.setIcon(icon)
        self.cmd.setObjectName("cmd")
        self.horizontalLayout.addWidget(self.cmd)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.chkInactivas = QtWidgets.QCheckBox(wdgDividendsReport)
        self.chkInactivas.setObjectName("chkInactivas")
        self.verticalLayout.addWidget(self.chkInactivas)
        self.mqtw = mqtwObjects(wdgDividendsReport)
        self.mqtw.setObjectName("mqtw")
        self.verticalLayout.addWidget(self.mqtw)
        self.lblTotal = QtWidgets.QLabel(wdgDividendsReport)
        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.verticalLayout.addWidget(self.lblTotal)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        self.actionEstimationDPSEdit = QtWidgets.QAction(wdgDividendsReport)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/coins.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionEstimationDPSEdit.setIcon(icon1)
        self.actionEstimationDPSEdit.setObjectName("actionEstimationDPSEdit")
        self.actionInvestmentReport = QtWidgets.QAction(wdgDividendsReport)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/report2.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionInvestmentReport.setIcon(icon2)
        self.actionInvestmentReport.setObjectName("actionInvestmentReport")
        self.actionProductReport = QtWidgets.QAction(wdgDividendsReport)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/kmplot.jpg"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProductReport.setIcon(icon3)
        self.actionProductReport.setObjectName("actionProductReport")

        self.retranslateUi(wdgDividendsReport)
        QtCore.QMetaObject.connectSlotsByName(wdgDividendsReport)
Exemple #22
0
    def setupUi(self, wdgProducts):
        wdgProducts.setObjectName("wdgProducts")
        wdgProducts.resize(892, 263)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(wdgProducts)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.lbl = QtWidgets.QLabel(wdgProducts)
        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(wdgProducts)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.txt = QtWidgets.QLineEdit(self.groupBox)
        self.txt.setObjectName("txt")
        self.horizontalLayout.addWidget(self.txt)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.line = QtWidgets.QFrame(self.groupBox)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.chkStockExchange = QtWidgets.QCheckBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkStockExchange.sizePolicy().hasHeightForWidth())
        self.chkStockExchange.setSizePolicy(sizePolicy)
        self.chkStockExchange.setObjectName("chkStockExchange")
        self.horizontalLayout_2.addWidget(self.chkStockExchange)
        self.cmbStockExchange = QtWidgets.QComboBox(self.groupBox)
        self.cmbStockExchange.setEnabled(False)
        self.cmbStockExchange.setObjectName("cmbStockExchange")
        self.horizontalLayout_2.addWidget(self.cmbStockExchange)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        self.cmd = QtWidgets.QToolButton(self.groupBox)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/search.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmd.setIcon(icon)
        self.cmd.setObjectName("cmd")
        self.horizontalLayout_3.addWidget(self.cmd)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setEnabled(False)
        self.label_2.setText("")
        self.label_2.setObjectName("label_2")
        self.verticalLayout_2.addWidget(self.label_2)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.mqtwInvestments = mqtwObjects(wdgProducts)
        self.mqtwInvestments.setObjectName("mqtwInvestments")
        self.verticalLayout_3.addWidget(self.mqtwInvestments)
        self.lblFound = QtWidgets.QLabel(wdgProducts)
        self.lblFound.setObjectName("lblFound")
        self.verticalLayout_3.addWidget(self.lblFound)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)
        self.actionProductReport = QtWidgets.QAction(wdgProducts)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/books.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProductReport.setIcon(icon1)
        self.actionProductReport.setObjectName("actionProductReport")
        self.actionIbex35 = QtWidgets.QAction(wdgProducts)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/countries/spain.gif"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionIbex35.setIcon(icon2)
        self.actionIbex35.setObjectName("actionIbex35")
        self.actionProductNew = QtWidgets.QAction(wdgProducts)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProductNew.setIcon(icon3)
        self.actionProductNew.setObjectName("actionProductNew")
        self.actionProductDelete = QtWidgets.QAction(wdgProducts)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/xulpymoney/list-remove.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionProductDelete.setIcon(icon4)
        self.actionProductDelete.setObjectName("actionProductDelete")
        self.actionFavorites = QtWidgets.QAction(wdgProducts)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/xulpymoney/star.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionFavorites.setIcon(icon5)
        self.actionFavorites.setObjectName("actionFavorites")
        self.actionMergeCodes = QtWidgets.QAction(wdgProducts)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/xulpymoney/merge.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionMergeCodes.setIcon(icon6)
        self.actionMergeCodes.setObjectName("actionMergeCodes")
        self.actionQuoteNew = QtWidgets.QAction(wdgProducts)
        self.actionQuoteNew.setIcon(icon3)
        self.actionQuoteNew.setObjectName("actionQuoteNew")
        self.actionEstimationDPSNew = QtWidgets.QAction(wdgProducts)
        self.actionEstimationDPSNew.setIcon(icon3)
        self.actionEstimationDPSNew.setObjectName("actionEstimationDPSNew")
        self.actionPurge = QtWidgets.QAction(wdgProducts)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/xulpymoney/tools-wizard.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPurge.setIcon(icon7)
        self.actionPurge.setObjectName("actionPurge")
        self.actionPurchaseGraphic = QtWidgets.QAction(wdgProducts)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/xulpymoney/report.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionPurchaseGraphic.setIcon(icon8)
        self.actionPurchaseGraphic.setObjectName("actionPurchaseGraphic")
        self.actionProductPriceLastRemove = QtWidgets.QAction(wdgProducts)
        self.actionProductPriceLastRemove.setIcon(icon4)
        self.actionProductPriceLastRemove.setObjectName(
            "actionProductPriceLastRemove")

        self.retranslateUi(wdgProducts)
        self.chkStockExchange.toggled['bool'].connect(
            self.cmbStockExchange.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(wdgProducts)