Module implementing a dialog to edit the variable part of the tray starter menu.
| None |
| TrayStarterMenuEditorDialog | Class implementing a dialog to edit the variable part of the tray starter menu. |
| TrayStarterMenuEntryType | Class defining the various menu entry types. |
| None |
Class implementing a dialog to edit the variable part of the tray starter menu.
| None |
| None |
| TrayStarterMenuEditorDialog | Constructor |
| __addItem | Private slot to add a menu item to the menu tree after the current one. |
| __buildMenuItemsList | Private method to build the list of entries for a given menu entry. |
| __menuItemAbove | Private method to find the next menu item above the given index. |
| __menuItemCount | Private method to determine the number of menu entries of a given parent item. |
| __menuItems | Private method to get a list of menu entries of a given parent item. |
| __moveCurrentItemUpDown | Private method to move the current item up or down. |
| __populateActions | Private slot to populate the list of available actions. |
| __populateMenu | Private slot to populate the menu tree. |
| __resetMenu | Private slot to reset the menu to the state before any change was made. |
| __restoreMenuToDefault | Private slot to reset the menu to the default menu. |
| __saveMenu | Private slot to save the the define menu structure. |
| __updateButtons | Private slot to update the enabled state of the various action buttons. |
| closeEvent | Protected method to handle close events. |
| on_addMenuButton_clicked | Private slot to add a new menu entry. |
| on_buttonBox_clicked | Private slot called, when a button of the button box was clicked. |
| on_decButton_clicked | Private slot to move the current item up one level in the menu hierarchy. |
| on_editButton_clicked | Private slot to edit the data of the current item. |
| on_incButton_clicked | Private slot to move the current item to the previous level in the menu hierarchy. |
| on_leftButton_clicked | Private slot to remove the current item from the menu tree. |
| on_rightButton_clicked | Private slot to add the selected action to the menu tree. |
| on_separatorButton_clicked | Private slot to add a separator entry. |
| None |
Constructor
Private slot to add a menu item to the menu tree after the current one.
Private method to build the list of entries for a given menu entry.
Private method to find the next menu item above the given index.
Private method to determine the number of menu entries of a given parent item.
Private method to get a list of menu entries of a given parent item.
Private method to move the current item up or down.
Private slot to populate the list of available actions.
Private slot to populate the menu tree.
Private slot to reset the menu to the state before any change was made.
Private slot to reset the menu to the default menu.
Private slot to save the the define menu structure.
Private slot to update the enabled state of the various action buttons.
Protected method to handle close events.
Private slot to add a new menu entry.
Private slot called, when a button of the button box was clicked.
Private slot to move the current item up one level in the menu hierarchy.
Private slot to edit the data of the current item.
Private slot to move the current item to the previous level in the menu hierarchy.
Private slot to remove the current item from the menu tree.
Private slot to add the selected action to the menu tree.
Private slot to add a separator entry.
Class defining the various menu entry types.
| Action |
| Menu |
| Separator |
| None |
| None |
| None |