A native font-chooser dialog. More...
| Import Statement: | import Shotcut.Controls |
import Shotcut.Controls as Shotcut Shotcut.FontDialog { id: fontDialog onAccepted: document.setFontFamily(fontDialog.selectedFont.family) }
selectedFont : font |
accepted() |
Emitted when the user confirms the font selection.
Note: The corresponding handler is onAccepted.
rejected() |
Emitted when the user dismisses the dialog without selecting a font.
Note: The corresponding handler is onRejected.
open() |
Opens the native font dialog modally.