Beispiel #1
0
 def __init__(self, objeto=None, has_id=True):
     QStackedLayout.__init__(self)
     QFormBase.__init__(self, objeto=objeto, has_id=has_id)
     self.setSpacing(6)
     self.setContentsMargins(0, 10, 0, 10)
     gl = QGridLayout()
     self.__w = QWidget()
     self.__w.setLayout(gl)
     self.addWidget(self.__w)
     self.lines = 0
Beispiel #2
0
 def __init__(self, parent=None):
     self.__rect = QRect()
     QStackedLayout.__init__(self, parent)
     self.currentChanged.connect(self._onCurrentChanged)