def __init__(self, parent=None):
     QSvgWidget.__init__(self, parent=parent)
     self.__set_design()
     self.note_index = 0
     self.svg_path = ''
Example #2
0
    def __init__(self, parent=None, in_designer=False):
        QSvgWidget.__init__(self, parent=parent)

        self.in_designer = in_designer

        self._main_element = ''
Example #3
0
 def __init__(self, parent=None):
     QSvgWidget.__init__(self, parent)
     sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
     sizePolicy.setHeightForWidth(True)
     self.setSizePolicy(sizePolicy)
Example #4
0
 def __init__(self, visible_height, visible_width, fit_style=fits.FIT_ALL):
     QSvgWidget.__init__(self)
     self.fit_style = fit_style
     self.visible_height = visible_height
     self.visible_width = visible_width
Example #5
0
 def __init__(self, parent=None):
     QSvgWidget.__init__(self, parent)
     sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
     sizePolicy.setHeightForWidth(True)
     self.setSizePolicy(sizePolicy)