UI.newComponent module¶
Module to implement new component by group contribution methods UI interfaces
newComponent: Main dialog class with common functionality
UI_Contribution: Definition for group contribution
View_Contribution: Dialog to show the properties of a group contribution
- class UI.newComponent.newComponent[source]¶
Bases:
QDialogMain dialog class with common functionality
Methods
calculo(**kwargs)Does UI changes when make new component calculation
changeParams(parametro, valor)Update new component when change any parameters
loadUI()Define common widget for chid class
save()Save new componente in user database
Show details of new component
- class UI.newComponent.View_Contribution(cmp=None, parent=None)[source]¶
Bases:
QDialogDialog to show the properties of a group contribution
Methods
fill(cmp)Add cmp properties in widgets
setReadOnly(boolean)Set readonly state for child widgets
- class UI.newComponent.Ui_Contribution(metodo, parent=None)[source]¶
Bases:
newComponentDialog to define hypotethical new component with several group contribucion methods
Methods
Order()Show/Hide group of undesired order
add()Add the current selected item to the list of group
borrar([indice])Remove some group contribution from added group list
calculo(**kwargs)Calculate function
cellChanged(i, j)Process the user manual count of group contribution changed
clear()Clear widgets from dialog
nogroupCheckToggled(boolean)Set advanced properties input status for Klincewitcz method
The add button is only enabled when the group list have any selected row
- ViewDetails¶
alias of
View_Contribution