tools.doi module¶
Tool to show the academic references for the calculation methods implemented in the code.
Double clik over a element open the link with the paper, or if the file is available in local system open the document. By default search the file with the doi code name or the title if doi is unavailable in the folder doc of main program.
Here is the complete list of references.
API reference¶
ShowReference: Dialog to show the references used in the program
Miscellaneous utilities
QLineEditClickable: Custom QLineEdit to catch Enter key and set focus to list and avoid close dialog
QTreeWidgetClickable: Custom QTreeWidget to catch Enter key and open file with it
findFile(): Search reference paper path in documentation forder and return boolean if it’s available
- class tools.doi.QLineEditClickable[source]¶
Bases:
QLineEditCustom QLineEdit to catch Enter key and set focus to list and avoid close dialog
Methods
keyPressEvent(event)Rewrite keyPressEvent to setFocus when Enter key is pressed
- class tools.doi.QTreeWidgetClickable[source]¶
Bases:
QTreeWidgetCustom QTreeWidget to catch Enter key and open file with it
Methods
keyPressEvent(event)Rewrite keyPressEvent to expand or open item
- class tools.doi.ShowReference(parent=None)[source]¶
Bases:
QDialogDialog to show the references used in the program
Methods
Hide search widgets
Show search widgets
fill()Fill tree with documentation entries
open(item)Open file if exist in doc/doi folder or open a browser with link
search(txt)Search txt in tree widget contents
Set next result in search
Set previous result in search
- searchIndex = -1¶
- searchResults = []¶