new $.oPieSubMenu(name, widgets)
openHarmony/openHarmony_dialog.js, line 1091
The $.oPieSubMenu constructor.
Name | Type | Description |
---|---|---|
name |
string | The name for this pie Menu. |
widgets |
Array.<QWidget> | optional The widgets to display in the menu. |
Properties:
Name | Type | Description |
---|---|---|
name |
string | The name for this pie Menu. |
widgets |
string | The widgets to display in the menu. |
menu |
string | The oPieMenu Object containing the widgets for the submenu |
itemAngle |
string | a set angle for each items instead of spreading them across the entire circle |
extraRadius |
string | using a set radius between each submenu levels |
parentMenu |
$.oPieMenu | the parent menu for this subMenu. Set during initialisation of the menu. |
Members
-
anchor$.oPoint
-
The top left point of the entire widget
-
maxRadiusint
-
The max radius of the pie background
-
minRadiusint
-
The min radius of the pie background
Methods
-
deactivate()
openHarmony/openHarmony_dialog.js, line 1126 -
function called when main button is clicked
-
showMenu(visibility)
openHarmony/openHarmony_dialog.js, line 1232 -
Shows or hides the menu itself (not the button)
Name Type Description visibility
* -
toggleMenu()
openHarmony/openHarmony_dialog.js, line 1246 -
toggles the display of the menu