How to use the remi.gui.editor_attribute_decorator function in remi

To help you get started, we’ve selected a few remi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dddomodossola / remi / editor / widgets / toolbox_opencv.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The alpha value', float, {'default':0, 'min':0, 'max':1.0, 'step':0.0001})
    def alpha(self): return self.__alpha
    @alpha.setter
github dddomodossola / remi / editor / widgets / toolbox_siemens.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The label text', str, {})
    def text(self): return self.label.text
    @text.setter
github dddomodossola / remi / editor / widgets / toolbox_opencv.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The filter iterations', int, {'possible_values': '', 'min': 0, 'max': 65535, 'default': 1, 'step': 1})
    def iterations(self): 
        return self.__iterations
    @iterations.setter
github dddomodossola / remi / editor / widgets / toolbox_opencv.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The contour retrieval mode parameter', 'DropDown', {'possible_values': contour_retrieval_mode.keys()})
    def retrieval_mode(self): 
        return self.__retrieval_mode
    @retrieval_mode.setter
github dddomodossola / remi / editor / widgets / toolbox_EPICS.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The PV name', str, {})
    def epics_pv_name(self): return self.__epics_pv_name
    @epics_pv_name.setter
github dddomodossola / remi / editor / widgets / toolbox_opencv.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The conversion constant code', 'DropDown', {'possible_values': cvt_types.keys()})
    def conversion_code(self): 
        return self.__conversion_code
    @conversion_code.setter
github dddomodossola / remi / editor / widgets / toolbox_siemens.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The bit index in the byte as integer', int, {'possible_values': '', 'min': -1, 'max': 65535, 'default': 0, 'step': 1})
    def bit_index(self):  return self.__dict__.get('__bit_index', -1)
    @bit_index.setter
github dddomodossola / remi / editor / widgets / toolbox_opencv.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The filter diameter', int, {'possible_values': '', 'min': 0, 'max': 65535, 'default': 1, 'step': 1})
    def diameter(self): 
        return self.__diameter
    @diameter.setter
github dddomodossola / remi / editor / widgets / toolbox_siemens.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','Specifies if the button is toggle or must reset the value on release', bool, {})
    def toggle(self): return self.__dict__.get('__toggle', None)
    @toggle.setter
github dddomodossola / remi / editor / widgets / toolbox_opencv.py View on Github external
    @gui.editor_attribute_decorator('WidgetSpecific','The filter border parameter', 'DropDown', {'possible_values': OpencvBilateralFilter.border_type.keys()})
    def border(self): 
        return self.__border
    @border.setter