neurotorchmz.gui.components.general#
Classes
|
Implements editabled ttk Treeview entries |
|
Implements a helper class to quickly add a label, a spinner and a spinbox for numbers in a grid layout |
|
|
|
Implements a scrollable frame |
|
Implements the Status Bar into the GUI displaying the currently running jobs, system usage and the custom status text |
- class neurotorchmz.gui.components.general.EntryPopup(tv, callback, rowid, column, val, **kw)#
Bases:
EntryImplements editabled ttk Treeview entries
- on_return(event)#
- select_all(*val1)#
- class neurotorchmz.gui.components.general.GridSetting(parent: Widget, row: int, text: str, default: int = 0, min_: int = 0, max_: int = 1000, scale_min: int = 0, scale_max: int = 100, tooltip: str = '', unit: str = '', type_: Literal['Int', 'Checkbox'] = 'Int')#
Bases:
objectImplements a helper class to quickly add a label, a spinner and a spinbox for numbers in a grid layout
- get() int#
- set(val: int)#
- set_range(min_: int | None = None, max_: int | None = None, scale_min: int | None = None, scale_max: int | None = None, syncScale: bool | None = False)#
- set_visibility(visibility: bool)#
- class neurotorchmz.gui.components.general.Intstring_var(default)#
Bases:
object- _int_var_update(val1, val2, val3)#
- _string_var_update(val1, val2, val3)#
- set_callback(callback)#
- set_string_var_bounds(min: int, max: int)#
- class neurotorchmz.gui.components.general.ScrolledFrame(parent, *args, **kw)#
Bases:
FrameImplements a scrollable frame
- class neurotorchmz.gui.components.general.Statusbar(root: Tk, frame: Widget | Tk)#
Bases:
objectImplements the Status Bar into the GUI displaying the currently running jobs, system usage and the custom status text
- _on_lower_timer_tick()#
- _on_timer_tick()#
- static get_free_ram_in_gb() float#
- lowerTimerSpeed = 1000#
- property progress_text#
- property status_text#
- property task_finished_text#
- timerHighSpeed = 100#
- timerLowSpeed = 1000#