pygmi.pfmod.pfmod#

The main program for the potential field 3D modelling package.

Classes#

MainWidget

MainWidget - Widget class to call the main interface.

Module Contents#

class pygmi.pfmod.pfmod.MainWidget(parent=None)#

Bases: PyQt6.QtWidgets.QMainWindow

MainWidget - Widget class to call the main interface.

Parameters:

parent (parent, optional) – Reference to the parent routine. The default is None.

setupui()#

GUI setup.

Return type:

None.

savemodel()#

Save model.

Return type:

None.

help_docs()#

Help documentation.

Return type:

None.

settings(nodialog=False)#

Entry point into item.

Parameters:

nodialog (bool, optional) – Run settings without a dialog. The default is False.

Returns:

True if successful, False otherwise.

Return type:

bool

saveproj()#

Save project data from class.

Return type:

None.

data_reset()#

Reset the data.

Return type:

None.

showtext(txt, replacelast=False)#

Show text on the text panel of the main user interface.

Parameters:
  • txt (str) – Text to display.

  • replacelast (bool, optional) – Whether to replace the last text written. The default is False.

Return type:

None.