UI.petro module

Module with petroleum fraction pseudocomponent definition UI interfaces

API reference

class UI.petro.View_Petro(petrol=None, parent=None)[source]

Bases: QDialog

Dialog to show the properties of a petroleum fractions

Methods

fill(petrol)

Fill petrol properties values in widgets

setReadOnly(boolean)

Set readonly state for child widgets

__init__(petrol=None, parent=None)[source]
setReadOnly(boolean)[source]

Set readonly state for child widgets

fill(petrol)[source]

Fill petrol properties values in widgets

class UI.petro.Definicion_Petro(parent=None)[source]

Bases: newComponent

Dialog for define hypothetical crude and oil fraction

Attributes:
unknown

Define compound to show properties by options selected in widget

Methods

ViewDetails

changeUnknown()

Change type of calculation and update widget

checkStatusCurve()

Check curren data of curve to check completeness of its definition and enable/disable accordly the buttons

curveIndexChanged(index)

Show the composition unit appropiated to the new curve selected

finishCurva()

End the curve distillation definition and add the data to the Petroleo instance

regresionCurve()

Do distillation curve fitting regression

showCutRange()

Define cut range for blending

ViewDetails

alias of View_Petro

__init__(parent=None)[source]
property unknown

Define compound to show properties by options selected in widget

changeUnknown()[source]

Change type of calculation and update widget

curveIndexChanged(index)[source]

Show the composition unit appropiated to the new curve selected

finishCurva()[source]

End the curve distillation definition and add the data to the Petroleo instance

checkStatusCurve()[source]

Check curren data of curve to check completeness of its definition and enable/disable accordly the buttons

regresionCurve()[source]

Do distillation curve fitting regression

showCutRange()[source]

Define cut range for blending