DialogContent

Search for usage in LXR

DialogContent Class Reference
Inheritance diagram for DialogContent:

Properties

alias configFile
 
alias downloadNewWhat
 
alias engine
 
alias viewMode
 
- Properties inherited from org::kde::kirigami::ApplicationItem
alias pageStack
 
- Properties inherited from org::kde::kirigami::AbstractApplicationItem
alias __data
 
Item activeFocusItem
 
Item background
 
color color
 
Item contentItem
 
OverlayDrawer contextDrawer
 
bool controlsVisible
 
font font
 
Item footer
 
OverlayDrawer globalDrawer
 
Item header
 
Locale locale
 
Item menuBar
 
Item pageStack
 
var palette
 
bool reachableMode
 
bool reachableModeEnabled
 
bool wideScreen
 

Public Member Functions

void showEntryDetails (providerId, entryId)
 
- Public Member Functions inherited from org::kde::kirigami::AbstractApplicationItem
void applicationWindow ()
 
void hidePassiveNotification (index=0)
 
void showPassiveNotification (message, timeout, actionText, callBack)
 
- Public Member Functions inherited from QtQuick.Item
 childAt (x, real y)
 
bool contains (point)
 
 forceActiveFocus ()
 
 forceActiveFocus (reason)
 
bool grabToImage (callback, targetSize)
 
object mapFromGlobal (x, real y)
 
object mapFromItem (item, point p)
 
object mapFromItem (item, real x, real y)
 
object mapFromItem (item, real x, real y, real width, real height)
 
object mapFromItem (item, rect r)
 
object mapToGlobal (x, real y)
 
object mapToItem (item, point p)
 
object mapToItem (item, real x, real y)
 
object mapToItem (item, real x, real y, real width, real height)
 
object mapToItem (item, rect r)
 
 nextItemInFocusChain (forward)
 

Detailed Description

The contents of the NewStuff.Dialog component.

This component is equivalent to the old DownloadWidget, but you should consider using NewStuff.Page instead for a more modern style of integration into your application's flow.

See also
KNewStuff::DownloadWidget
Since
5.63

Definition at line 19 of file DialogContent.qml.

Property Documentation

◆ configFile

alias DialogContent::configFile
read

The configuration file to use for this button.

Definition at line 26 of file DialogContent.qml.

◆ engine

alias DialogContent::engine
read

The engine which handles the content in this dialog.

Definition at line 30 of file DialogContent.qml.

◆ viewMode

alias DialogContent::viewMode
read

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

Definition at line 36 of file DialogContent.qml.

Member Function Documentation

◆ showEntryDetails()

void DialogContent::showEntryDetails ( providerId  ,
entryId   
)

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.

Parameters
providerIdThe provider ID for the entry you wish to show details for
entryIdThe unique ID for the entry you wish to show details for
Since
5.79

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Feb 5 2023 04:17:50 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.