diff options
| author | Andreas Grois <andi@grois.info> | 2022-10-10 21:30:02 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2022-10-10 21:37:15 +0200 |
| commit | e4ad766315879e1ff05bb111229f073f8f0ed68e (patch) | |
| tree | 4b043ff47c78b2c00c80c94ebda622c32c8b6d3d /qml/helpers | |
PassFish: Initial Commit
Well, that's a lie. But nobody needs to see all the iterations I decided
to sweep under the rug.
That said, I think the repo is, while not clean, clean enough now, to
not be embarrassed by uploading it to github.
Diffstat (limited to 'qml/helpers')
| -rw-r--r-- | qml/helpers/NoticeLoadable.qml | 8 | ||||
| -rw-r--r-- | qml/helpers/NotificationLoadable.qml | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/qml/helpers/NoticeLoadable.qml b/qml/helpers/NoticeLoadable.qml new file mode 100644 index 0000000..2b1226b --- /dev/null +++ b/qml/helpers/NoticeLoadable.qml @@ -0,0 +1,8 @@ +import QtQuick 2.6 +import Sailfish.Silica 1.0 + +//Just a wrapper around Notice, because I need to use it in a ternary in loader and don't want to pass in a string representation. +//See components/NoticeOptional.qml for details. If you know a simple and not too ugly solution to make it work without this file: +//I'm all ears. + +Notice {} diff --git a/qml/helpers/NotificationLoadable.qml b/qml/helpers/NotificationLoadable.qml new file mode 100644 index 0000000..1e44148 --- /dev/null +++ b/qml/helpers/NotificationLoadable.qml @@ -0,0 +1,10 @@ +import QtQuick 2.6 +import Sailfish.Silica 1.0 +import Nemo.Notifications 1.0 + +//Just a wrapper around Notification, because I need to use it in a ternary in loader and don't want to pass in a string representation. +//See components/NoticeOptional.qml for details. If you know a simple and not too ugly solution to make it work without this file: +//I'm all ears. + +Notification { +} |
