mor.gui.utility

Sets of utility Fct used by the GUI

Functions

checkExistance(dir)

check_state(sender)

checkedBoxes(checkBox, items[, checked])

checkedBoxes will with the state of a checkBox change accordingly the state of other checkBoxes

display(completer)

generatePhaseToExecute(nbrAnimation)

greyOut(checkBox, items[, checked])

greyOut makes items unavailable for the user by greying them out

left(lineEdit)

msg_error(msg, info)

msg_info(msg, info)

msg_warning(msg, info)

openDirName(hdialog[, display])

openDirName will pop up a dialog window allowing the user to choose a directory and potentially display the path to it

openFileName(hdialog[, filter, display])

openFileName will pop up a dialog window allowing the user to choose a file and potentially display the path to it

openFilesNames(hdialog[, filter, display])

openFilesNames will pop up a dialog window allowing the user to choose multiple files and potentially display there coreponding path

openLink(url)

removeLine(tab[, rm])

right(lineEdit)

setAnimationParamStr(cell, items)

setBackColor(widget[, color])

setBackground(obj, color)

setCellColor(tab, dialog, row, column)

setShortcut(listLineEdit)

Fill 2 global variables shortcut and lastVisited to current path of the scene we are working on.

update_progress(progress)