tools.qtelemental module

This tool show a Mendeleev periodic table with several properties shown for the element with the mouse over.

qtelemental

Other properties can be shown clicking in the desired element. The properties availables are:

  • Atomic number

  • Name

  • Alternate name

  • Symbol

  • Serie

  • Group

  • Period

  • Block

  • Solid density

  • Liquid density

  • Gas density

  • Appearance

  • Date of discovery

  • Country of discovery

  • Discovery author

  • Etymology

  • Atomic mass

  • Atomic volume

  • Atomic radius

  • Covalent radius

  • van der Waals radius

  • Ionic radii

  • Lattice type

  • Space group

  • Lattice edges

  • Lattice angles

  • Electron configuration

  • Oxidation states

  • Electronegativity

  • Electron affinity

  • First ionization

  • Melting temperature

  • Boiling temperature

  • Melting heat

  • Vaporization heat

  • Specific Heat

  • Thermal conductivity

  • Debye temperature

  • Color

  • Notes

Furthermore the element name and several properties has internationalization support with several languages availables: English, Spanish, German, French, Portuguese, Italian, Chinese

Configuration

Periodic table configuration

It’s possible change the appareance of element button choosing the property

API reference

The module include all related functionality
and its configuration
class tools.qtelemental.qtelemental(parent=None)[source]

Bases: QDialog

Periodic table graph

Methods

actualizar(elemento)

Update botton info with data for current element

configure()

Show and update configuration of qtelemental

populate()

Populate buttons in table

textData(widget, data[, color, color_dis])

Set text and format for property in button

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

Populate buttons in table

actualizar(elemento)[source]

Update botton info with data for current element

textData(widget, data, color='#000000', color_dis='#888888')[source]

Set text and format for property in button

configure()[source]

Show and update configuration of qtelemental

class tools.qtelemental.boton(element, CATEGORIES, PROP, COLORS, PMAX, parent=None)[source]

Bases: QPushButton

Button widget to define a element

Methods

enterEvent(event)

Enter event to change boton info with new element data

press()

Press button show elementDialog with other element data

__init__(element, CATEGORIES, PROP, COLORS, PMAX, parent=None)[source]

Constructor, element: the atomic number, used as id to tagged button

enterEvent(event)[source]

Enter event to change boton info with new element data

press()[source]

Press button show elementDialog with other element data

class tools.qtelemental.ElementDialog(elemento, parent=None)[source]

Bases: QDialog

Dialog to show all element properties

Methods

drawData(unit, data[, unidad, txt])

Return a widget with the data inprint unit: unidad subclass data: value to set unidad: unit of value to show txt: opcional txt to show for unit

__init__(elemento, parent=None)[source]
drawData(unit, data, unidad='', txt='')[source]

Return a widget with the data inprint unit: unidad subclass data: value to set unidad: unit of value to show txt: opcional txt to show for unit

class tools.qtelemental.Config(config=None, parent=None)[source]

Bases: QWidget

External applications configuration

Methods

value(config)

Return value for main dialog

__init__(config=None, parent=None)[source]
value(config)[source]

Return value for main dialog

class tools.qtelemental.ConfigDialog(config=None, parent=None)[source]

Bases: QDialog

Dialog to config thermal method calculations

Methods

value(config)

Function result for wizard

__init__(config=None, parent=None)[source]
value(config)[source]

Function result for wizard