Changeset View
Changeset View
Standalone View
Standalone View
src/qtquick/qml/private/EntryCommentsPage.qml
Show All 32 Lines | |||||
33 | 33 | | |||
34 | Kirigami.ScrollablePage { | 34 | Kirigami.ScrollablePage { | ||
35 | id: component | 35 | id: component | ||
36 | property string entryName | 36 | property string entryName | ||
37 | property string entryAuthorId | 37 | property string entryAuthorId | ||
38 | property string entryProviderId | 38 | property string entryProviderId | ||
39 | property alias entryIndex: commentsModel.entryIndex | 39 | property alias entryIndex: commentsModel.entryIndex | ||
40 | property alias itemsModel: commentsModel.itemsModel | 40 | property alias itemsModel: commentsModel.itemsModel | ||
41 | title: i18nc("Title for the page containing a view of the comments for the entry", "Comments and Reviews for %1").arg(component.entryName) | 41 | title: i18nc("Title for the page containing a view of the comments for the entry", "Comments and Reviews for %1", component.entryName) | ||
42 | actions { | 42 | actions { | ||
43 | contextualActions: [ | 43 | contextualActions: [ | ||
44 | Kirigami.Action { | 44 | Kirigami.Action { | ||
45 | text: i18nc("Title for the item which is checked when all comments should be shown", "Show All Comments") | 45 | text: i18nc("Title for the item which is checked when all comments should be shown", "Show All Comments") | ||
46 | checked: commentsModel.includedComments == NewStuff.CommentsModel.IncludeAllComments | 46 | checked: commentsModel.includedComments == NewStuff.CommentsModel.IncludeAllComments | ||
47 | checkable: true | 47 | checkable: true | ||
48 | onTriggered: commentsModel.includedComments = NewStuff.CommentsModel.IncludeAllComments | 48 | onTriggered: commentsModel.includedComments = NewStuff.CommentsModel.IncludeAllComments | ||
49 | }, | 49 | }, | ||
Show All 39 Lines |