Changeset View
Changeset View
Standalone View
Standalone View
views/calendar/main.qml
Show All 34 Lines | 34 | accounts: [{ | |||
---|---|---|---|---|---|
35 | id: "account1", | 35 | id: "account1", | ||
36 | name: "Test Account" | 36 | name: "Test Account" | ||
37 | }], | 37 | }], | ||
38 | identities: [{ | 38 | identities: [{ | ||
39 | account: "account1", | 39 | account: "account1", | ||
40 | name: "Test Identity", | 40 | name: "Test Identity", | ||
41 | address: "identity@example.org" | 41 | address: "identity@example.org" | ||
42 | }], | 42 | }], | ||
43 | resources: [] | 43 | resources: [{ | ||
44 | id: "caldavresource", | ||||
45 | account: "account1", | ||||
46 | type: "caldav", | ||||
47 | }], | ||||
48 | calendars: [{ | ||||
49 | id: "calendar1", | ||||
50 | resource: "caldavresource", | ||||
51 | name: "Test Calendar", | ||||
52 | events: [ | ||||
53 | { | ||||
54 | resource: "caldavresource", | ||||
55 | summary: "Test Event1", | ||||
56 | description: "This is test event #1", | ||||
57 | starts: "2018-04-10T14:03:00", | ||||
58 | ends: "2018-04-10T17:03:00", | ||||
59 | }, | ||||
60 | { | ||||
61 | resource: "caldavresource", | ||||
62 | summary: "Test Event2", | ||||
63 | description: "This is test event #2", | ||||
64 | starts: "2018-04-11T09:03:00", | ||||
65 | ends: "2018-04-11T14:03:00", | ||||
66 | }, | ||||
67 | ], | ||||
68 | }], | ||||
44 | } | 69 | } | ||
45 | TestStore.setup(initialState) | 70 | TestStore.setup(initialState) | ||
46 | } | 71 | } | ||
47 | 72 | | |||
48 | View { | 73 | View { | ||
49 | anchors.fill: parent | 74 | anchors.fill: parent | ||
50 | } | 75 | } | ||
51 | } | 76 | } |