Dialog QML Type
A dialog which has a NewStuff.Page at the base. More...
Import Statement: | import org.kde.newstuff |
Since: | 5.63 |
Inherits: |
Properties
- configFile : alias
- downloadNewWhat : string
- engine : alias
- viewMode : alias
Signals
- aboutToShowDialog()
- entryEvent(var entry, int event)
(since 5.82)
Methods
- showEntryDetails(providerId, entryId)
(since 5.79)
Detailed Description
This component is equivalent to the old DownloadDialog, but you should consider using NewStuff.Page instead for a more modern style of integration into your application's flow.
See also KNewStuff::DownloadDialog.
Property Documentation
configFile : alias |
The configuration file to use for this button
downloadNewWhat : string |
Set the text that should appear as the dialog's title. Will be set as i18nd("knewstuff6", "Download New %1").
Note: For the sake of consistency, you should NOT override the title property, just set this one
engine : alias |
The engine which handles the content in this dialog
viewMode : alias |
The default view mode of the dialog spawned by this button. This should be set using the NewStuff.Page.ViewMode enum.
See also NewStuff.Page.ViewMode.
Signal Documentation
aboutToShowDialog() |
Emitted when the Hot New Stuff dialog is about to be shown, usually as a result of the user having click on the button.
Note: The corresponding handler is onAboutToShowDialog
.
|
This forwards the entryEvent from the QtQuick engine
Note: The corresponding handler is onEntryEvent
.
This signal was introduced in 5.82.
See also Engine::entryEvent.
Method Documentation
|
Show the details page for a specific entry. If you call this function before the engine initialisation has been completed, the action itself will be postponed until that has happened.
providerId The provider ID for the entry you wish to show details for
entryId The unique ID for the entry you wish to show details for
This method was introduced in 5.79.