friendlypics2.misc.gui_helpers module

helper methods for use by GUI objects and dialogs

friendlypics2.misc.gui_helpers.load_ui(file, parent)[source]

Loads a UI interface file from disk

Parameters
  • file (str) – path to the UI file to load. Must be relative to the data/ui folder.

  • parent (object) – reference to the Qt dialog object associated with the UI file