new $.oPrefButton(preferenceString, text, iconFile, parent)
openHarmony/openHarmony_dialog.js, line 1601
The constructor for $.oPrefButton
Name | Type | Description |
---|---|---|
preferenceString |
string | The name of the preference to show/change. |
text |
string | A text for the button display. |
iconFile |
string | An icon path for the button. |
parent |
QWidget | The parent QWidget for the button. Automatically set during initialisation of the menu. |