def reverseDesignLayout(self):
        layout = DesignFormLayout(self.tr("Reverse"))
        layout.defaultHeight = 60

        layout.addImage(self.items['reverseimg'])
        layout.addRow(self.items['reversedesign'])
        layout.addRow(self.items['reversedesigner'])
        layout.addRow(self.items['reverseengraver'])
        layout.addRow(self.items['reversecolor'])

        return layout
Exemple #2
0
    def reverseDesignLayout(self, parent=None):
        layout = DesignFormLayout(self.tr("Reverse"), parent)
        layout.minHeight = 120

        layout.addImage(self.items['reverseimg'])
        layout.addRow(self.items['reversedesign'])
        layout.addRow(self.items['reversedesigner'])

        return layout
    def edgeDesignLayout(self):
        layout = DesignFormLayout(self.tr("Edge"))

        layout.addImage(self.items['edgeimg'])
        layout.addRow(self.items['edge'])
        layout.addRow(self.items['edgelabel'])

        return layout
    def reverseDesignLayout(self, parent=None):
        layout = DesignFormLayout(self.tr("Reverse"), parent)
        layout.minHeight = 120

        layout.addImage(self.items['reverseimg'])
        layout.addRow(self.items['reversedesign'])
        layout.addRow(self.items['reversedesigner'])

        return layout
    def edgeDesignLayout(self, parent=None):
        layout = DesignFormLayout(self.tr("Edge"), parent)

        layout.addImage(self.items['edgeimg'])
        layout.addRow(self.items['edge'])
        layout.addRow(self.items['edgelabel'])

        return layout
    def variationLayout(self):
        layout = DesignFormLayout(self.tr("Variation"))

        layout.addImage(self.items['varietyimg'], 2)
        layout.addRow(self.items['variety'])
        item = self.items['varietydesc']
        layout.addRow(item)
        item.widget().setSizePolicy(QSizePolicy.Preferred,
                                    QSizePolicy.Minimum)
        layout.addRow(self.items['obversevar'], self.items['reversevar'])
        layout.addHalfRow(self.items['edgevar'])

        return layout
    def reverseDesignLayout(self):
        layout = DesignFormLayout(self.tr("Reverse"))
        layout.defaultHeight = 60

        layout.addImage(self.items['reverseimg'])
        layout.addRow(self.items['reversedesign'])
        layout.addRow(self.items['reversedesigner'])
        layout.addRow(self.items['reverseengraver'])
        layout.addRow(self.items['reversecolor'])

        return layout
    def variationLayout(self):
        layout = DesignFormLayout(self.tr("Variation"))

        layout.addImage(self.items['varietyimg'], 2)
        layout.addRow(self.items['variety'])
        item = self.items['varietydesc']
        layout.addRow(item)
        item.widget().setSizePolicy(QSizePolicy.Preferred,
                                    QSizePolicy.Minimum)
        layout.addRow(self.items['obversevar'], self.items['reversevar'])
        layout.addHalfRow(self.items['edgevar'])

        return layout
    def edgeDesignLayout(self):
        layout = DesignFormLayout(self.tr("Edge"))

        layout.addImage(self.items['edgeimg'], 2)
        layout.addRow(self.items['edge'])
        layout.addRow(self.items['edgelabel'])

        layout.addImage(self.items['signatureimg'], 2)
        layout.addRow(self.items['signaturetype'])
        layout.addRow(self.items['signature'])

        return layout