def GetResources(self): from plotUtils import Paths, Translator IconPath = Paths.iconsPath() + "/Legend.svg" MenuText = str(Translator.translate('Show/Hide legend')) ToolTip = str(Translator.translate('Show/Hide legend on selected plot')) return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
def GetResources(self): from plotUtils import Paths, Translator IconPath = Paths.iconsPath() + "/Series.svg" MenuText = str(Translator.translate('Configure series')) ToolTip = str(Translator.translate('Configure series drawing style and label.')) return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
def GetResources(self): from plotUtils import Paths, Translator IconPath = Paths.iconsPath() + "/Axes.svg" MenuText = str(Translator.translate('Configure axes')) ToolTip = str(Translator.translate('Configure axes parameters.')) return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
def GetResources(self): from plotUtils import Paths, Translator IconPath = Paths.iconsPath() + "/Save.svg" MenuText = str(Translator.translate('Save plot')) ToolTip = str(Translator.translate('Save plot as image file.')) return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
def GetResources(self): from plotUtils import Paths, Translator IconPath = Paths.iconsPath() + "/Positions.svg" MenuText = str(Translator.translate('Set positions and sizes')) ToolTip = str(Translator.translate('Set labels and legend positions and sizes.')) return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
def GetResources(self): from plotUtils import Paths, Translator IconPath = Paths.iconsPath() + "/Labels.svg" MenuText = str(Translator.translate('Set labels')) ToolTip = str(Translator.translate('Set title and axes labels')) return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}