def configure_details(cls, include_default_tabs=True): """ Return a list of ConfigElement objects defining the configuration values for this class. User interfaces should then generate widgets based on these values, gather data and save back to the config dictionary for the worker. NOTE: When overriding you almost certainly will want to call the ancestor and then add your config values to the list. :param include_default_tabs: bool: :return: Returns a list of Detail elements """ return BaseConfig.configure_details(include_default_tabs) + []
def configure_details(cls, include_default_tabs=True): """ This function defines the tabs for detailed view of the worker. Further documentation is found in base.py :param include_default_tabs: If default tabs are included as well :return: List of DetailElement(s) NOTE: Add files to user data folders to see how they behave as an example. """ return BaseConfig.configure_details(include_default_tabs) + [ DetailElement('graph', 'Graph', 'Graph', 'graph.jpg'), DetailElement('table', 'Orders', 'Data from csv file', 'example.csv'), DetailElement('text', 'Log', 'Log data', 'example.log') ]
def configure_details(cls, include_default_tabs=True): return BaseConfig.configure_details(include_default_tabs)