Debian Codegraph @

notify/src/NotifyConfiguration.qml

raw
1 /* Copyright (C) 2016 - 2017 Dan Chapman <[email protected]>
2
3 This file is part of the Dekko Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing,
12 software distributed under the License is distributed on an
13 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14 either express or implied. See the License for the specific
15 language governing permissions and limitations under the License.
16 */
17 import QtQuick 2.4
18 import Lomiri.Components 1.3
19
20 Item {
21
22 property url source: Qt.resolvedUrl("./Notification.qml")
23
24 // Options are Item.Left, Item.Center, Item.Right
25 property int position: Item.Right
26
27 property int displayTime: 3000 // 3 seconds
28
29 property Action action
30
31 property color iconColor: LomiriColors.slate
32
33 property string iconName: ""
34 }