def __init__(self, parent=None): QSvgWidget.__init__(self, parent=parent) self.__set_design() self.note_index = 0 self.svg_path = ''
def __init__(self, parent=None, in_designer=False): QSvgWidget.__init__(self, parent=parent) self.in_designer = in_designer self._main_element = ''
def __init__(self, parent=None): QSvgWidget.__init__(self, parent) sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred) sizePolicy.setHeightForWidth(True) self.setSizePolicy(sizePolicy)
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