eric7.TrayStarter.TrayStarterNewMenuDialog
Module implementing a dialog to enter the data for a new menu entry.
Global Attributes
Classes
Functions
TrayStarterNewMenuDialog
Class implementing a dialog to enter the data for a new menu entry.
Derived from
QDialog, Ui_TrayStarterNewMenuDialog
Class Attributes
Class Methods
Methods
Static Methods
TrayStarterNewMenuDialog (Constructor)
TrayStarterNewMenuDialog(parent=None)
Constructor
- parent (QWidget (optional))
-
reference to the parent widget (defaults to None)
TrayStarterNewMenuDialog.__updateOk
__updateOk()
Private slot to update the enabled state of the OK button.
TrayStarterNewMenuDialog.getData
getData()
Public method to retrieve the entered data.
- Return:
-
tuple containing the name, title and icon for the menu entry
- Return Type:
-
tuple[str, str, str]