eric7.TrayStarter.TrayStarterActionItemEditDialog

Module implementing a dialog to edit the data of an action entry.

Global Attributes

None

Classes

TrayStarterActionItemEditDialog Class implementing a dialog to edit the data of an action entry.

Functions

None


TrayStarterActionItemEditDialog

Class implementing a dialog to edit the data of an action entry.

Derived from

QDialog, Ui_TrayStarterActionItemEditDialog

Class Attributes

None

Class Methods

None

Methods

TrayStarterActionItemEditDialog Constructor
__showError Private method to show an error message for the entered command.
__updateOk Private slot to update the enabled state of the OK button.
getEntry Public method to get the edited menu entry.

Static Methods

None

TrayStarterActionItemEditDialog (Constructor)

TrayStarterActionItemEditDialog(actionItem, parent=None)

Constructor

actionItem (TrayStarterMenu)
action entry to be edited
parent (QWidget (optional))
reference to the parent widget (defaults to None)

TrayStarterActionItemEditDialog.__showError

__showError(error)

Private method to show an error message for the entered command.

error (str)
error message

TrayStarterActionItemEditDialog.__updateOk

__updateOk()

Private slot to update the enabled state of the OK button.

TrayStarterActionItemEditDialog.getEntry

getEntry()

Public method to get the edited menu entry.

Return:
edited menu entry
Return Type:
TrayStarterMenu
Up