tools.UI_unitConverter module

Pychemqt include a robust physics units support, with conversion in all input or output site where necessary, and configurable for each project in his configuration dialog.

This main feature include this standalone tool for direct conversion.

unit conversion

API reference

The module include a unit converter graphical application
class tools.UI_unitConverter.UI_conversorUnidades(unidad, valor=None, parent=None)[source]

Bases: QDialog

Dialog to show all values of a magnitud in every supported unit

Methods

fill(valor)

Fill tables header with units titles

update(fila, columna)

Update tables with values

__init__(unidad, valor=None, parent=None)[source]

unidad: unidades class valor: optional value to show

fill(valor)[source]

Fill tables header with units titles

update(fila, columna)[source]

Update tables with values

class tools.UI_unitConverter.moneda(valor=None, parent=None)[source]

Bases: UI_conversorUnidades

Customized unit converter for currency values - Add date and exchange update button at top - Add country flags to easy recognize

Methods

getrates()

Get rates exchanges from file

__init__(valor=None, parent=None)[source]

unidad: unidades class valor: optional value to show

getrates()[source]

Get rates exchanges from file

class tools.UI_unitConverter.UI_unitConverter(parent=None)[source]

Bases: QDialog

Dialog to choose between the availables unit, used as main window tool

Methods

showChildWindow()

Show child window with selected unit converter

__init__(parent=None)[source]
showChildWindow()[source]

Show child window with selected unit converter