titania.QtGUI package#

Submodules#

titania.QtGUI.base_tab module#

class titania.QtGUI.base_tab.FinalMetaQtTab(name, bases, namespace, **kwargs)[source]#

Bases: wrappertype, ABCMeta

This class helps to fix the warning of: ‘TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases’

class titania.QtGUI.base_tab.QtBaseLayoutTab(data: TitaniaDataInterface | None = None, parent=None)[source]#

Bases: QtPlotTab

add_layout()[source]#
add_plots_to_layout()[source]#
construct()[source]#
initiate()[source]#

This method initiates the tab.

make_plot()[source]#

This method is used to create plot for the tab.

Returns: any class inheriting from PlotInterface

set_layout()[source]#
set_separator_line()[source]#
class titania.QtGUI.base_tab.QtPlotTab(data: TitaniaDataInterface, parent: QWidget | None = None)[source]#

Bases: QtTabInterface, TitaniaPlotTab

initiate()[source]#

This method initiates the tab.

class titania.QtGUI.base_tab.QtTabInterface(parent: QWidget | None = None)[source]#

Bases: TitaniaTabInterface, QWidget

class titania.QtGUI.base_tab.SimpleTab(data=None, parent=None, control_panel=<class 'titania.panels.main_control_panel.EmptyControlPanel'>)[source]#

Bases: QtBaseLayoutTab

create_control_panel()[source]#

Used to initate control panel

get_title()[source]#

A getter for the tab name

initiate()[source]#

This method initiates the tab.

make_plot()[source]#

This method is used to create plot for the tab.

Returns: any class inheriting from PlotInterface

titania.QtGUI.error_tab module#

class titania.QtGUI.error_tab.ErrorQtTab(message: str, title: str, parent=None)[source]#

Bases: QtTabInterface

get_title()[source]#

A getter for the tab name

initiate()[source]#

This method initiates the tab.

titania.QtGUI.main_window module#

class titania.QtGUI.main_window.MainWindow(height=None, width=None, tab_config=None)[source]#

Bases: QWidget

center()[source]#
init_ui()[source]#
resource_path(relative_path)[source]#

Get absolute path to resource, works for dev and for PyInstaller

set_widgets()[source]#
class titania.QtGUI.main_window.TitaniaErrorDialog(tab_name, exception)[source]#

Bases: QDialog

class titania.QtGUI.main_window.WidgetCreator(parent_tab=None, parent=None, config=None)[source]#

Bases: QWidget

set_tab()[source]#

Module contents#