Exemple #1
0
    def setupUi(self, frmDividendsAdd):
        frmDividendsAdd.setObjectName("frmDividendsAdd")
        frmDividendsAdd.setWindowModality(QtCore.Qt.WindowModal)
        frmDividendsAdd.resize(488, 493)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/dividends.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmDividendsAdd.setWindowIcon(icon)
        frmDividendsAdd.setModal(True)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(frmDividendsAdd)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lblTitulo = QtWidgets.QLabel(frmDividendsAdd)
        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.addWidget(self.lblTitulo)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.wdgDT = wdgDatetime(frmDividendsAdd)
        self.wdgDT.setObjectName("wdgDT")
        self.horizontalLayout.addWidget(self.wdgDT)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label = QtWidgets.QLabel(frmDividendsAdd)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole,
                                  self.label)
        self.cmb = QtWidgets.QComboBox(frmDividendsAdd)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmb.sizePolicy().hasHeightForWidth())
        self.cmb.setSizePolicy(sizePolicy)
        self.cmb.setObjectName("cmb")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.cmb)
        self.lblGross = QtWidgets.QLabel(frmDividendsAdd)
        self.lblGross.setObjectName("lblGross")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole,
                                  self.lblGross)
        self.txtBruto = myQLineEdit(frmDividendsAdd)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtBruto.sizePolicy().hasHeightForWidth())
        self.txtBruto.setSizePolicy(sizePolicy)
        self.txtBruto.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.txtBruto.setObjectName("txtBruto")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                  self.txtBruto)
        self.lblGrossAccount = QtWidgets.QLabel(frmDividendsAdd)
        self.lblGrossAccount.setObjectName("lblGrossAccount")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole,
                                  self.lblGrossAccount)
        self.wdgCurrencyConversion = wdgCurrencyConversion(frmDividendsAdd)
        self.wdgCurrencyConversion.setObjectName("wdgCurrencyConversion")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole,
                                  self.wdgCurrencyConversion)
        self.lblLiquido_4 = QtWidgets.QLabel(frmDividendsAdd)
        self.lblLiquido_4.setObjectName("lblLiquido_4")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole,
                                  self.lblLiquido_4)
        self.txtRetencion = myQLineEdit(frmDividendsAdd)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtRetencion.sizePolicy().hasHeightForWidth())
        self.txtRetencion.setSizePolicy(sizePolicy)
        self.txtRetencion.setAlignment(QtCore.Qt.AlignRight
                                       | QtCore.Qt.AlignTrailing
                                       | QtCore.Qt.AlignVCenter)
        self.txtRetencion.setObjectName("txtRetencion")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole,
                                  self.txtRetencion)
        self.lblLiquido_5 = QtWidgets.QLabel(frmDividendsAdd)
        self.lblLiquido_5.setObjectName("lblLiquido_5")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole,
                                  self.lblLiquido_5)
        self.txtDPA = myQLineEdit(frmDividendsAdd)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtDPA.sizePolicy().hasHeightForWidth())
        self.txtDPA.setSizePolicy(sizePolicy)
        self.txtDPA.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                 | QtCore.Qt.AlignVCenter)
        self.txtDPA.setObjectName("txtDPA")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole,
                                  self.txtDPA)
        self.lblLiquido = QtWidgets.QLabel(frmDividendsAdd)
        self.lblLiquido.setObjectName("lblLiquido")
        self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole,
                                  self.lblLiquido)
        self.txtComision = myQLineEdit(frmDividendsAdd)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           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.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole,
                                  self.txtComision)
        self.lblLiquido_7 = QtWidgets.QLabel(frmDividendsAdd)
        self.lblLiquido_7.setObjectName("lblLiquido_7")
        self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole,
                                  self.lblLiquido_7)
        self.txtNeto = myQLineEdit(frmDividendsAdd)
        self.txtNeto.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtNeto.sizePolicy().hasHeightForWidth())
        self.txtNeto.setSizePolicy(sizePolicy)
        self.txtNeto.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.txtNeto.setReadOnly(True)
        self.txtNeto.setObjectName("txtNeto")
        self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole,
                                  self.txtNeto)
        self.verticalLayout.addLayout(self.formLayout)
        self.lblTPC = QtWidgets.QLabel(frmDividendsAdd)
        self.lblTPC.setText("")
        self.lblTPC.setAlignment(QtCore.Qt.AlignCenter)
        self.lblTPC.setObjectName("lblTPC")
        self.verticalLayout.addWidget(self.lblTPC)
        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.cmd = QtWidgets.QPushButton(frmDividendsAdd)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/save.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmd.setIcon(icon1)
        self.cmd.setObjectName("cmd")
        self.horizontalLayout_2.addWidget(self.cmd)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3.addLayout(self.verticalLayout)

        self.retranslateUi(frmDividendsAdd)
        QtCore.QMetaObject.connectSlotsByName(frmDividendsAdd)
        frmDividendsAdd.setTabOrder(self.cmb, self.txtBruto)
        frmDividendsAdd.setTabOrder(self.txtBruto, self.txtRetencion)
        frmDividendsAdd.setTabOrder(self.txtRetencion, self.txtDPA)
        frmDividendsAdd.setTabOrder(self.txtDPA, self.txtComision)
        frmDividendsAdd.setTabOrder(self.txtComision, self.cmd)
        frmDividendsAdd.setTabOrder(self.cmd, self.txtNeto)
Exemple #2
0
    def setupUi(self, frmSplitManual):
        frmSplitManual.setObjectName("frmSplitManual")
        frmSplitManual.resize(872, 477)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/study.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmSplitManual.setWindowIcon(icon)
        frmSplitManual.setSizeGripEnabled(True)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(frmSplitManual)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label = QtWidgets.QLabel(frmSplitManual)
        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_3.addWidget(self.label)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.wdgDtStart = wdgDatetime(frmSplitManual)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wdgDtStart.sizePolicy().hasHeightForWidth())
        self.wdgDtStart.setSizePolicy(sizePolicy)
        self.wdgDtStart.setObjectName("wdgDtStart")
        self.horizontalLayout_3.addWidget(self.wdgDtStart)
        self.line = QtWidgets.QFrame(frmSplitManual)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout_3.addWidget(self.line)
        self.wdgDtEnd = wdgDatetime(frmSplitManual)
        self.wdgDtEnd.setObjectName("wdgDtEnd")
        self.horizontalLayout_3.addWidget(self.wdgDtEnd)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtWidgets.QLabel(frmSplitManual)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label_2.setFont(font)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.txtInitial = myQLineEdit(frmSplitManual)
        self.txtInitial.setAlignment(QtCore.Qt.AlignCenter)
        self.txtInitial.setObjectName("txtInitial")
        self.verticalLayout.addWidget(self.txtInitial)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.label_3 = QtWidgets.QLabel(frmSplitManual)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_2.addWidget(self.label_3)
        self.txtFinal = myQLineEdit(frmSplitManual)
        self.txtFinal.setAlignment(QtCore.Qt.AlignCenter)
        self.txtFinal.setObjectName("txtFinal")
        self.verticalLayout_2.addWidget(self.txtFinal)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.lblExample = QtWidgets.QLabel(frmSplitManual)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.lblExample.setFont(font)
        self.lblExample.setAlignment(QtCore.Qt.AlignCenter)
        self.lblExample.setWordWrap(True)
        self.lblExample.setObjectName("lblExample")
        self.verticalLayout_3.addWidget(self.lblExample)
        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.buttonbox = QtWidgets.QDialogButtonBox(frmSplitManual)
        self.buttonbox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonbox.setCenterButtons(True)
        self.buttonbox.setObjectName("buttonbox")
        self.horizontalLayout_2.addWidget(self.buttonbox)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)

        self.retranslateUi(frmSplitManual)
        QtCore.QMetaObject.connectSlotsByName(frmSplitManual)
Exemple #3
0
    def setupUi(self, wdgSimulationsAdd):
        wdgSimulationsAdd.setObjectName("wdgSimulationsAdd")
        wdgSimulationsAdd.resize(782, 573)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(wdgSimulationsAdd)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lblTitulo = QtWidgets.QLabel(wdgSimulationsAdd)
        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(wdgSimulationsAdd)
        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.verticalLayout_2.addLayout(self.verticalLayout)
        self.cmbSimulationTypes = QtWidgets.QComboBox(wdgSimulationsAdd)
        self.cmbSimulationTypes.setSizeAdjustPolicy(
            QtWidgets.QComboBox.AdjustToContents)
        self.cmbSimulationTypes.setObjectName("cmbSimulationTypes")
        self.verticalLayout_2.addWidget(self.cmbSimulationTypes)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.groupBox = QtWidgets.QGroupBox(wdgSimulationsAdd)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.wdgStarting = wdgDatetime(self.groupBox)
        self.wdgStarting.setObjectName("wdgStarting")
        self.horizontalLayout.addWidget(self.wdgStarting)
        self.horizontalLayout_3.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(wdgSimulationsAdd)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.wdgEnding = wdgDatetime(self.groupBox_2)
        self.wdgEnding.setObjectName("wdgEnding")
        self.horizontalLayout_2.addWidget(self.wdgEnding)
        self.horizontalLayout_3.addWidget(self.groupBox_2)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.buttonbox = QtWidgets.QDialogButtonBox(wdgSimulationsAdd)
        self.buttonbox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel
                                          | QtWidgets.QDialogButtonBox.Ok)
        self.buttonbox.setObjectName("buttonbox")
        self.verticalLayout_2.addWidget(self.buttonbox)
        self.horizontalLayout_5.addLayout(self.verticalLayout_2)

        self.retranslateUi(wdgSimulationsAdd)
        QtCore.QMetaObject.connectSlotsByName(wdgSimulationsAdd)
Exemple #4
0
    def setupUi(self, frmTransfer):
        frmTransfer.setObjectName("frmTransfer")
        frmTransfer.setWindowModality(QtCore.Qt.WindowModal)
        frmTransfer.resize(612, 246)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/transfer.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmTransfer.setWindowIcon(icon)
        frmTransfer.setModal(True)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout(frmTransfer)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lblTitulo = QtWidgets.QLabel(frmTransfer)
        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.addWidget(self.lblTitulo)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.wdgDT = wdgDatetime(frmTransfer)
        self.wdgDT.setObjectName("wdgDT")
        self.horizontalLayout_2.addWidget(self.wdgDT)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(frmTransfer)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.cmbOrigen = QtWidgets.QComboBox(frmTransfer)
        self.cmbOrigen.setObjectName("cmbOrigen")
        self.horizontalLayout_3.addWidget(self.cmbOrigen)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_5 = QtWidgets.QLabel(frmTransfer)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_5.addWidget(self.label_5)
        self.cmbDestino = QtWidgets.QComboBox(frmTransfer)
        self.cmbDestino.setObjectName("cmbDestino")
        self.horizontalLayout_5.addWidget(self.cmbDestino)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_3 = QtWidgets.QLabel(frmTransfer)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout.addWidget(self.label_3)
        self.txtImporte = myQLineEdit(frmTransfer)
        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.setObjectName("txtImporte")
        self.horizontalLayout.addWidget(self.txtImporte)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_4 = QtWidgets.QLabel(frmTransfer)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_4.addWidget(self.label_4)
        self.txtComision = myQLineEdit(frmTransfer)
        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.setObjectName("txtComision")
        self.horizontalLayout_4.addWidget(self.txtComision)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.cmd = QtWidgets.QPushButton(frmTransfer)
        self.cmd.setIcon(icon)
        self.cmd.setObjectName("cmd")
        self.verticalLayout.addWidget(self.cmd)
        self.horizontalLayout_6.addLayout(self.verticalLayout)

        self.retranslateUi(frmTransfer)
        QtCore.QMetaObject.connectSlotsByName(frmTransfer)
Exemple #5
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 #6
0
    def setupUi(self, frmAccountOperationsAdd):
        frmAccountOperationsAdd.setObjectName("frmAccountOperationsAdd")
        frmAccountOperationsAdd.setWindowModality(QtCore.Qt.WindowModal)
        frmAccountOperationsAdd.resize(566, 286)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/document-edit.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmAccountOperationsAdd.setWindowIcon(icon)
        frmAccountOperationsAdd.setModal(True)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(frmAccountOperationsAdd)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lblTitulo = QtWidgets.QLabel(frmAccountOperationsAdd)
        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.addWidget(self.lblTitulo)
        self.wdgDT = wdgDatetime(frmAccountOperationsAdd)
        self.wdgDT.setObjectName("wdgDT")
        self.verticalLayout.addWidget(self.wdgDT)
        self.groupBox = QtWidgets.QGroupBox(frmAccountOperationsAdd)
        self.groupBox.setTitle("")
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.radAccounts = QtWidgets.QRadioButton(self.groupBox)
        self.radAccounts.setObjectName("radAccounts")
        self.horizontalLayout_5.addWidget(self.radAccounts)
        self.cmbAccounts = QtWidgets.QComboBox(self.groupBox)
        self.cmbAccounts.setObjectName("cmbAccounts")
        self.horizontalLayout_5.addWidget(self.cmbAccounts)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.radCreditCards = QtWidgets.QRadioButton(self.groupBox)
        self.radCreditCards.setObjectName("radCreditCards")
        self.horizontalLayout_6.addWidget(self.radCreditCards)
        self.cmbCreditCards = QtWidgets.QComboBox(self.groupBox)
        self.cmbCreditCards.setObjectName("cmbCreditCards")
        self.horizontalLayout_6.addWidget(self.cmbCreditCards)
        self.verticalLayout_3.addLayout(self.horizontalLayout_6)
        self.verticalLayout.addWidget(self.groupBox)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(frmAccountOperationsAdd)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.cmbConcepts = QtWidgets.QComboBox(frmAccountOperationsAdd)
        self.cmbConcepts.setObjectName("cmbConcepts")
        self.horizontalLayout_3.addWidget(self.cmbConcepts)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_3 = QtWidgets.QLabel(frmAccountOperationsAdd)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout.addWidget(self.label_3)
        self.txtImporte = myQLineEdit(frmAccountOperationsAdd)
        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.setObjectName("txtImporte")
        self.horizontalLayout.addWidget(self.txtImporte)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_4 = QtWidgets.QLabel(frmAccountOperationsAdd)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_4.addWidget(self.label_4)
        self.txtComentario = QtWidgets.QLineEdit(frmAccountOperationsAdd)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtComentario.sizePolicy().hasHeightForWidth())
        self.txtComentario.setSizePolicy(sizePolicy)
        self.txtComentario.setObjectName("txtComentario")
        self.horizontalLayout_4.addWidget(self.txtComentario)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.cmd = QtWidgets.QPushButton(frmAccountOperationsAdd)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/save.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmd.setIcon(icon1)
        self.cmd.setObjectName("cmd")
        self.verticalLayout.addWidget(self.cmd)
        self.verticalLayout_2.addLayout(self.verticalLayout)

        self.retranslateUi(frmAccountOperationsAdd)
        self.radAccounts.toggled['bool'].connect(
            self.cmbCreditCards.setDisabled)
        self.radCreditCards.toggled['bool'].connect(
            self.cmbAccounts.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(frmAccountOperationsAdd)
Exemple #7
0
    def setupUi(self, frmQuotesIBM):
        frmQuotesIBM.setObjectName("frmQuotesIBM")
        frmQuotesIBM.resize(529, 407)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/add.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmQuotesIBM.setWindowIcon(icon)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(frmQuotesIBM)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lblInvestment = QtWidgets.QLabel(frmQuotesIBM)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lblInvestment.setFont(font)
        self.lblInvestment.setStyleSheet("color: rgb(0, 192, 0);")
        self.lblInvestment.setAlignment(QtCore.Qt.AlignCenter)
        self.lblInvestment.setObjectName("lblInvestment")
        self.verticalLayout.addWidget(self.lblInvestment)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.wdgDT = wdgDatetime(frmQuotesIBM)
        self.wdgDT.setFocusPolicy(QtCore.Qt.TabFocus)
        self.wdgDT.setObjectName("wdgDT")
        self.horizontalLayout_2.addWidget(self.wdgDT)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.chkNone = QtWidgets.QCheckBox(frmQuotesIBM)
        self.chkNone.setObjectName("chkNone")
        self.verticalLayout.addWidget(self.chkNone)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(frmQuotesIBM)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.txtQuote = myQLineEdit(frmQuotesIBM)
        self.txtQuote.setObjectName("txtQuote")
        self.horizontalLayout.addWidget(self.txtQuote)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.chkCanBePurged = QtWidgets.QCheckBox(frmQuotesIBM)
        self.chkCanBePurged.setEnabled(False)
        self.chkCanBePurged.setChecked(True)
        self.chkCanBePurged.setObjectName("chkCanBePurged")
        self.verticalLayout.addWidget(self.chkCanBePurged)
        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.buttonbox = QtWidgets.QDialogButtonBox(frmQuotesIBM)
        self.buttonbox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel
                                          | QtWidgets.QDialogButtonBox.Ok)
        self.buttonbox.setObjectName("buttonbox")
        self.horizontalLayout_4.addWidget(self.buttonbox)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem3)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_3.addLayout(self.verticalLayout)

        self.retranslateUi(frmQuotesIBM)
        QtCore.QMetaObject.connectSlotsByName(frmQuotesIBM)
        frmQuotesIBM.setTabOrder(self.txtQuote, self.buttonbox)
        frmQuotesIBM.setTabOrder(self.buttonbox, self.chkNone)
        frmQuotesIBM.setTabOrder(self.chkNone, self.chkCanBePurged)
        frmQuotesIBM.setTabOrder(self.chkCanBePurged, self.wdgDT)
Exemple #8
0
    def setupUi(self, frmInvestmentOperationsAdd):
        frmInvestmentOperationsAdd.setObjectName("frmInvestmentOperationsAdd")
        frmInvestmentOperationsAdd.setWindowModality(QtCore.Qt.WindowModal)
        frmInvestmentOperationsAdd.resize(719, 557)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/xulpymoney/document-edit.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        frmInvestmentOperationsAdd.setWindowIcon(icon)
        frmInvestmentOperationsAdd.setModal(True)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(
            frmInvestmentOperationsAdd)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.lblTitulo = QtWidgets.QLabel(frmInvestmentOperationsAdd)
        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.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.wdgDT = wdgDatetime(frmInvestmentOperationsAdd)
        self.wdgDT.setObjectName("wdgDT")
        self.horizontalLayout_8.addWidget(self.wdgDT)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.lblType = QtWidgets.QLabel(frmInvestmentOperationsAdd)
        self.lblType.setObjectName("lblType")
        self.horizontalLayout_3.addWidget(self.lblType)
        self.cmbTiposOperaciones = QtWidgets.QComboBox(
            frmInvestmentOperationsAdd)
        self.cmbTiposOperaciones.setObjectName("cmbTiposOperaciones")
        self.horizontalLayout_3.addWidget(self.cmbTiposOperaciones)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.lblShares = QtWidgets.QLabel(frmInvestmentOperationsAdd)
        self.lblShares.setObjectName("lblShares")
        self.horizontalLayout_5.addWidget(self.lblShares)
        self.txtAcciones = myQLineEdit(frmInvestmentOperationsAdd)
        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.setAlignment(QtCore.Qt.AlignRight
                                      | QtCore.Qt.AlignTrailing
                                      | QtCore.Qt.AlignVCenter)
        self.txtAcciones.setObjectName("txtAcciones")
        self.horizontalLayout_5.addWidget(self.txtAcciones)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.wdg2CCurrencyConversion = wdgTwoCurrencyLineEdit(
            frmInvestmentOperationsAdd)
        self.wdg2CCurrencyConversion.setObjectName("wdg2CCurrencyConversion")
        self.horizontalLayout.addWidget(self.wdg2CCurrencyConversion)
        self.cmdGuestCurrencyConversion = QtWidgets.QToolButton(
            frmInvestmentOperationsAdd)
        self.cmdGuestCurrencyConversion.setText("")
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/xulpymoney/tools-wizard.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmdGuestCurrencyConversion.setIcon(icon1)
        self.cmdGuestCurrencyConversion.setObjectName(
            "cmdGuestCurrencyConversion")
        self.horizontalLayout.addWidget(self.cmdGuestCurrencyConversion)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.wdg2CPrice = wdgTwoCurrencyLineEdit(frmInvestmentOperationsAdd)
        self.wdg2CPrice.setObjectName("wdg2CPrice")
        self.verticalLayout.addWidget(self.wdg2CPrice)
        self.wdg2CTaxes = wdgTwoCurrencyLineEdit(frmInvestmentOperationsAdd)
        self.wdg2CTaxes.setObjectName("wdg2CTaxes")
        self.verticalLayout.addWidget(self.wdg2CTaxes)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.wdg2CComission = wdgTwoCurrencyLineEdit(
            frmInvestmentOperationsAdd)
        self.wdg2CComission.setObjectName("wdg2CComission")
        self.horizontalLayout_2.addWidget(self.wdg2CComission)
        self.cmdComissionCalculator = QtWidgets.QToolButton(
            frmInvestmentOperationsAdd)
        self.cmdComissionCalculator.setText("")
        self.cmdComissionCalculator.setIcon(icon1)
        self.cmdComissionCalculator.setObjectName("cmdComissionCalculator")
        self.horizontalLayout_2.addWidget(self.cmdComissionCalculator)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.wdg2CGross = wdgTwoCurrencyLineEdit(frmInvestmentOperationsAdd)
        self.wdg2CGross.setObjectName("wdg2CGross")
        self.verticalLayout.addWidget(self.wdg2CGross)
        self.wdg2CNet = wdgTwoCurrencyLineEdit(frmInvestmentOperationsAdd)
        self.wdg2CNet.setObjectName("wdg2CNet")
        self.verticalLayout.addWidget(self.wdg2CNet)
        self.cmd = QtWidgets.QPushButton(frmInvestmentOperationsAdd)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/xulpymoney/save.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cmd.setIcon(icon2)
        self.cmd.setObjectName("cmd")
        self.verticalLayout.addWidget(self.cmd)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.cmdGuestCurrencyConversion.raise_()

        self.retranslateUi(frmInvestmentOperationsAdd)
        QtCore.QMetaObject.connectSlotsByName(frmInvestmentOperationsAdd)
Exemple #9
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)