src.visuals.windows.loading_dialog module

the wrapper class for the window, which manages the LoadingScreenDialog.

class src.visuals.windows.loading_dialog.LoadingDialog(parent, loaded_func, list_of_args)[source]

Bases: QDialog

Wrapper class for the general settings window

Parameters:

list_of_args (list[dict])

ui

the raw class, produced by compilation

Type:

Ui_LoadingDialog

abs

the absolute number of tasks

Type:

int

done_i

the absolute number of finished tasks

Type:

int

loading_state

the relative frequency for printing into the screen

Type:

int

_execute_function(loaded_func, list_of_args)[source]

executes the function along a list of kwargs

Parameters:
  • loaded_func (function) – the function which is executed

  • list_of_args (list[dict]) – a list of kwargs

staticMetaObject = PySide6.QtCore.QMetaObject("LoadingDialog" inherits "QDialog": )

Dependency Diagrams (without externals):

digraph imports {
  rankdir=LR;
  node [shape=box];
  "src.visuals.windows.main_window" -> "src.visuals.windows.loading_dialog";
  "src.visuals.windows.main_window" -> "src.visuals.windows.sample_dialog";
  "src.visuals.windows.sample_dialog" -> "src.visuals.windows.loading_dialog";
}

Import dependencies (collapsed)

Dependency Diagrams:

digraph imports {
  rankdir=LR;
  node [shape=box];
  "src.visuals.windows.main_window" -> "src.visuals.windows.loading_dialog";
  "src.visuals.windows.main_window" -> "src.visuals.windows.sample_dialog";
  "src.visuals.windows.sample_dialog" -> "src.visuals.windows.loading_dialog";
}

Import dependencies (collapsed)