2
Copyright (c) 2010 Bertjan Broeksema <broeksema@kde.org>
3
Copyright (C) 2010 Artur Duque de Souza <asouza@kde.org>
4
Copyright (C) 2010 Anselmo Lacerda Silveira de Melo <anselmolsm@gmail.com>
6
This library is free software; you can redistribute it and/or modify it
7
under the terms of the GNU Library General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or (at your
9
option) any later version.
11
This library is distributed in the hope that it will be useful, but WITHOUT
12
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
14
License for more details.
16
You should have received a copy of the GNU Library General Public License
17
along with this library; see the file COPYING.LIB. If not, write to the
18
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24
import org.kde.pim.mobileui 4.5 as KPIM
25
import org.kde.incidenceeditors 4.5 as IncidenceEditors
31
target: _incidenceview
32
onShowCalendarWidget: {
33
calendarWidget.expand()
34
calendarWidget.okEnabled = false
36
calendarWidget.day = day;
37
calendarWidget.month = month;
38
calendarWidget.year = year;
43
target: _incidenceview
46
clockWidget.okEnabled = false
48
// set the initial values
49
clockWidget.hours = hour;
50
clockWidget.minutes = minute;
57
_incidenceview.setNewTime( hour, minute );
62
target: calendarWidget
64
_incidenceview.setNewDate( day, month, year );
82
KPIM.DecoratedFlickable {
83
anchors.top: parent.top
84
anchors.bottom: collectionCombo.top
85
anchors.left: parent.left
86
anchors.right: parent.right
89
anchors.leftMargin: 40;
91
contentHeight: generalEditor.height;
95
IncidenceEditors.GeneralEditor {
103
IncidenceEditors.CollectionCombo {
105
anchors.bottom: parent.bottom;
106
anchors.right: cancelButton.left;
107
anchors.left: parent.left;
109
height: parent.height / 6;
114
anchors.bottom: parent.bottom;
115
anchors.right: okButton.left;
117
height: collectionCombo.height
118
icon: KDE.iconPath( "dialog-cancel", 64 );
119
onClicked: window.cancel();
124
anchors.bottom: parent.bottom;
125
anchors.right: parent.right;
127
height: collectionCombo.height
128
icon: KDE.iconPath( "document-save", 64 );
129
onClicked: window.save();