tools.wizard module

Module with wizard project configuration, it’s launched when it creates a new pychemqt project to configure:

The wizard can be launch whanever you want using its menu entry

The module include all related wizard functionality:

  • auto(): Function to calculate autovalues for thermo calculation

  • AutoDialog: Dialog to define values for auto function, this dialog can be launch in thermo page of wizard to autoselect a good stimation of values

  • Wizard: Wizard dialog for project configuration

API reference

tools.wizard.auto(tmin=None, tmax=None, pmin=None, pmax=None, components=None)[source]

Function to calculate autovalues for thermo calculation tmin: Stimated minimum temperature from project tmax: Stimated maximum temperature from project pmin: Stimated minimum pressure from project pmax: Stimated maximum pressure from project Components: array with ids numbers component from project

class tools.wizard.AutoDialog(parent=None)[source]

Bases: QDialog

Dialog to input value for auto thermal function

__init__(parent=None)[source]
class tools.wizard.Wizard(config=None, parent=None)[source]

Bases: QWizard

Wizard dialog for project configuration

Attributes:
value

Return config dict defined in wizard

Methods

auto()

Dialog to define project parameter to auto thermal configuration

checkComponents(idx)

Component window can be only passed with any added components

default()

Set default config

__init__(config=None, parent=None)[source]
checkComponents(idx)[source]

Component window can be only passed with any added components

auto()[source]

Dialog to define project parameter to auto thermal configuration

property value

Return config dict defined in wizard

classmethod default()[source]

Set default config