new $.oPieButton(iconFile, text, parent)
openHarmony/openHarmony_dialog.js, line 1299
The constructor for $.oPieButton
Name | Type | Description |
---|---|---|
iconFile |
string | The icon file for the button |
text |
string | A text to display next to the icon |
parent |
QWidget | The parent QWidget for the button. Automatically set during initialisation of the menu. |
Methods
-
activate()
openHarmony/openHarmony_dialog.js, line 1348 -
Reimplement this function in order to activate the button and also close the menu.
-
closeMenu()
openHarmony/openHarmony_dialog.js, line 1337 -
Closes the parent menu of the button and all its subWidgets.