~pkunal-parmar/ubuntu-calendar-app/ICalImport

400.1.1 by mihirsoni-123
Added copyright header comments in all the pages
1
/*
400.1.2 by mihirsoni-123
updated copyright year
2
 * Copyright (C) 2013-2014 Canonical Ltd
400.1.1 by mihirsoni-123
Added copyright header comments in all the pages
3
 *
4
 * This file is part of Ubuntu Calendar App
5
 *
6
 * Ubuntu Calendar App is free software: you can redistribute it and/or modify
7
 * it under the terms of the GNU General Public License version 3 as
8
 * published by the Free Software Foundation.
9
 *
10
 * Ubuntu Calendar App is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
 */
412.2.1 by Nekhelesh Ramananthan
Revamped NewEventEntryField component
18
446.1.2 by Nekhelesh Ramananthan
Replaced textfield with label and also replaced highlighted property which was to be deprecated soon in the sdk
19
import QtQuick 2.3
422.5.1 by Akiva Avraham
Upgraded component library imports
20
import Ubuntu.Components 1.1
110.1.1 by Kunal Parmar
NewEventPage created
21
446.1.2 by Nekhelesh Ramananthan
Replaced textfield with label and also replaced highlighted property which was to be deprecated soon in the sdk
22
Label {
110.1.1 by Kunal Parmar
NewEventPage created
23
    id: root
412.2.1 by Nekhelesh Ramananthan
Revamped NewEventEntryField component
24
446.1.2 by Nekhelesh Ramananthan
Replaced textfield with label and also replaced highlighted property which was to be deprecated soon in the sdk
25
    property bool highlighted: false
26
579.1.1 by Kunal Parmar
Increasing timeinput height
27
    height: units.gu(6)
446.1.2 by Nekhelesh Ramananthan
Replaced textfield with label and also replaced highlighted property which was to be deprecated soon in the sdk
28
29
    verticalAlignment: Text.AlignVCenter
30
    color: highlighted ? "#2C001E" : Theme.palette.normal.baseText
412.2.1 by Nekhelesh Ramananthan
Revamped NewEventEntryField component
31
32
    Rectangle {
33
        z: -1
34
        anchors.fill: parent
35
        color: root.highlighted ? Theme.palette.selected.background
36
                                : "Transparent"
252.1.1 by Kunal Parmar
Changed color to NewEvent editors
37
    }
110.1.1 by Kunal Parmar
NewEventPage created
38
}