1pragma Singleton
2import QtQml 2.2
3
4import Colors 1.0
5import Units 1.0
6
7// =============================================================================
8
9QtObject {
10  property color color: Colors.k
11
12  property QtObject sectionHeading: QtObject {
13    property int padding: 5
14    property int bottomMargin: 20
15
16    property QtObject border: QtObject {
17      property color color: Colors.p
18      property int width: 1
19    }
20
21    property QtObject text: QtObject {
22      property int pointSize: Units.dp * 10
23      property color color: Colors.g
24    }
25  }
26
27  property QtObject sendArea: QtObject {
28    property int height: 80
29
30    property QtObject border: QtObject {
31      property color color: Colors.u
32      property int width: 1
33    }
34  }
35
36  property QtObject composingText: QtObject {
37    property color color: Colors.b
38    property int height: 25
39    property int leftPadding: 20
40    property int pointSize: Units.dp * 9
41  }
42
43  property QtObject entry: QtObject {
44    property int bottomMargin: 10
45    property int deleteIconSize: 17
46    property int leftMargin: 18
47    property int lineHeight: 30
48    property int metaWidth: 40
49
50    property QtObject event: QtObject {
51      property int iconSize: 18
52
53      property QtObject text: QtObject {
54        property color color: Colors.r
55        property int pointSize: Units.dp * 10
56      }
57    }
58
59    property QtObject message: QtObject {
60      property int padding: 8
61      property int radius: 4
62
63      property QtObject extraContent: QtObject {
64        property int leftMargin: 10
65        property int spacing: 5
66        property int rightMargin: 5
67      }
68
69      property QtObject file: QtObject {
70        property int height: 64
71        property int iconSize: 18
72        property int margins: 8
73        property int spacing: 8
74        property int width: 250
75
76        property QtObject animation: QtObject {
77          property int duration: 200
78          property real to: 1.5
79        }
80
81        property QtObject extension: QtObject {
82          property QtObject background: QtObject {
83            property color color: Colors.l50
84          }
85
86          property QtObject text: QtObject {
87            property color color: Colors.k
88          }
89        }
90
91        property QtObject status: QtObject {
92          property int spacing: 4
93
94          property QtObject bar: QtObject {
95            property int height: 6
96            property int radius: 3
97
98            property QtObject background: QtObject {
99              property color color: Colors.f
100            }
101
102            property QtObject contentItem: QtObject {
103              property color color: Colors.z
104            }
105          }
106        }
107      }
108
109      property QtObject images: QtObject {
110        property int height: 48
111      }
112
113      property QtObject incoming: QtObject {
114        property color backgroundColor: Colors.y
115        property int avatarSize: 20
116
117        property QtObject text: QtObject {
118          property color color: Colors.r
119          property int pointSize: Units.dp * 10
120        }
121      }
122
123      property QtObject outgoing: QtObject {
124        property color backgroundColor: Colors.e
125        property int sendIconSize: 12
126
127        property QtObject text: QtObject {
128          property color color: Colors.r
129          property int pointSize: Units.dp * 10
130        }
131      }
132    }
133
134    property QtObject time: QtObject {
135      property color color: Colors.x
136      property int pointSize: Units.dp * 10
137      property int width: 44
138    }
139  }
140}
141