Changeset View
Changeset View
Standalone View
Standalone View
src/contents/ui/event-types/Image.qml
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | property var image: Image { | ||||
| source: fileHandler.kazvIOJob ? "" : fileHandler.cachedFile | source: fileHandler.kazvIOJob ? "" : fileHandler.cachedFile | ||||
| horizontalAlignment: Image.AlignLeft | horizontalAlignment: Image.AlignLeft | ||||
| fillMode: Image.PreserveAspectFit | fillMode: Image.PreserveAspectFit | ||||
| } | } | ||||
| property var canAddSticker: !!event.content.url | property var canAddSticker: !!event.content.url | ||||
| property var addStickerPopupComp: Component { | property var addStickerPopupComp: Component { | ||||
| Kazv.AddStickerPopup { | Kazv.AddStickerPopup { | ||||
| parent: applicationWindow().overlay | |||||
| shouldSelfDestroy: true | shouldSelfDestroy: true | ||||
| stickerPackList: matrixSdk.stickerPackList() | stickerPackList: matrixSdk.stickerPackList() | ||||
| event: upper.curEvent | event: upper.curEvent | ||||
| } | } | ||||
| } | } | ||||
| property var addStickerAction: Kirigami.Action { | property var addStickerAction: Kirigami.Action { | ||||
| text: l10n.get('media-file-menu-add-sticker-action') | text: l10n.get('media-file-menu-add-sticker-action') | ||||
| Show All 27 Lines | |||||