Changeset View
Changeset View
Standalone View
Standalone View
src/qtquick/qml/Button.qml
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 35 | QtControls.Button { | |||
---|---|---|---|---|---|
51 | 51 | | |||
52 | /** | 52 | /** | ||
53 | * Set the text that should appear on the button. Will be set as | 53 | * Set the text that should appear on the button. Will be set as | ||
54 | * i18n("Download New %1"). | 54 | * i18n("Download New %1"). | ||
55 | * | 55 | * | ||
56 | * @note For the sake of consistency, you should NOT override the text propety, just set this one | 56 | * @note For the sake of consistency, you should NOT override the text propety, just set this one | ||
57 | */ | 57 | */ | ||
58 | property string downloadNewWhat: i18nc("Used to contruct the button's label (which will become Download New 'this value')", "Stuff") | 58 | property string downloadNewWhat: i18nc("Used to contruct the button's label (which will become Download New 'this value')", "Stuff") | ||
59 | text: i18n("Download New %1").arg(downloadNewWhat) | 59 | text: i18n("Download New %1", downloadNewWhat) | ||
60 | 60 | | |||
61 | /** | 61 | /** | ||
62 | * The default view mode of the dialog spawned by this button. This should be | 62 | * The default view mode of the dialog spawned by this button. This should be | ||
63 | * set using the NewStuff.Page.ViewMode enum | 63 | * set using the NewStuff.Page.ViewMode enum | ||
64 | * @see NewStuff.Page.ViewMode | 64 | * @see NewStuff.Page.ViewMode | ||
65 | */ | 65 | */ | ||
66 | property alias viewMode: ghnsDialog.viewMode | 66 | property alias viewMode: ghnsDialog.viewMode | ||
67 | 67 | | |||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |