Class implementing a configuration dialog for the tools menu.
Methods
|
|
|
|
__init__
|
__init__ (
self,
toollist,
parent=None,
)
Constructor
Arguments
- toollist
- list of configured tools
- parent
- parent widget (QWidget)
|
|
getToollist
|
getToollist ( self )
Public method to retrieve the tools list.
Returns
a list of tuples containing the menu text, the executable,
the executables arguments and a redirection flag
|
|
handleAdd
|
handleAdd ( self )
Private slot to add a new entry.
|
|
handleChange
|
handleChange ( self )
Private slot to change an entry.
|
|
handleDelete
|
handleDelete ( self )
Private slot to delete the selected entry.
|
|
handleDown
|
handleDown ( self )
Private slot to move an entry down in the list.
|
|
handleExeSelect
|
handleExeSelect ( self )
Private slot to handle the executable selection via a file selection dialog.
|
|
handleToolEntrySelected
|
handleToolEntrySelected ( self, index )
Private slot to set the lineedits depending on the selected entry.
|
|
handleUp
|
handleUp ( self )
Private slot to move an entry up in the list.
|
|
swap
|
swap (
self,
itm1,
itm2,
)
Private method used two swap two list entries given by their index.
Arguments
- itm1
- index of first entry (int)
- itm2
- index of second entry (int)
|