Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/package/contents/ui/DashboardRepresentation.qml
Show First 20 Lines • Show All 814 Lines • ▼ Show 20 Line(s) | 758 | delegate: MouseArea { | |||
---|---|---|---|---|---|
815 | onClicked: { | 815 | onClicked: { | ||
816 | if (mouse.button == Qt.LeftButton) { | 816 | if (mouse.button == Qt.LeftButton) { | ||
817 | updateCurrentItem(); | 817 | updateCurrentItem(); | ||
818 | } | 818 | } | ||
819 | } | 819 | } | ||
820 | 820 | | |||
821 | onAboutToShowActionMenu: { | 821 | onAboutToShowActionMenu: { | ||
822 | var actionList = hasActionList ? model.actionList : []; | 822 | var actionList = hasActionList ? model.actionList : []; | ||
823 | Tools.fillActionMenu(actionMenu, actionList, ListView.view.model.favoritesModel, model.favoriteId); | 823 | Tools.fillActionMenu(i18n, actionMenu, actionList, ListView.view.model.favoritesModel, model.favoriteId); | ||
824 | } | 824 | } | ||
825 | 825 | | |||
826 | onActionTriggered: { | 826 | onActionTriggered: { | ||
827 | Tools.triggerAction(ListView.view.model, model.index, actionId, actionArgument); | 827 | Tools.triggerAction(ListView.view.model, model.index, actionId, actionArgument); | ||
828 | } | 828 | } | ||
829 | 829 | | |||
830 | function openActionMenu(visualParent, x, y) { | 830 | function openActionMenu(visualParent, x, y) { | ||
831 | aboutToShowActionMenu(actionMenu); | 831 | aboutToShowActionMenu(actionMenu); | ||
▲ Show 20 Lines • Show All 144 Lines • Show Last 20 Lines |