def __init__(self, markersReadOnly=True, parent=None): MarkersPanel.__init__(self, self.IDENTIFIER, markersReadOnly, parent) self.icons = {0: ":/icons/rc/marker_warning.png", 1: ":/icons/rc/marker_error.png"}
def __init__(self, icon=":/icons/rc/bookmark.png", parent=None): MarkersPanel.__init__(self, "User markers", False, parent) self.addMarkerRequested.connect(self.__addUserMarker) #: marker icon self._icon = icon