SiQt.definitions.SiQtMixin¶
-
class
SiQt.definitions.SiQtMixin[source]¶ A mixin to extend
QtWidgets.QMainWindowThis class adds a few convinient functions to
QtWidgets.QMainWindowto add actions and generate menus-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
add_actions(target, actions)create_action(text[, slot, shortcut, icon, …])menu_generator(name, label, elements)Generate menu set_dep_flag_recursive(key, value[, sync])Change status for a dependent field, and pull all the fields that are dependent on it. Generate menu
-