diff --git a/src/incidenceeditor.kcfg b/src/incidenceeditor.kcfg
index 44b3219..6d19651 100644
--- a/src/incidenceeditor.kcfg
+++ b/src/incidenceeditor.kcfg
@@ -1,36 +1,38 @@
+ Choose the default way of attaching dropped emails to an eventThe default way of attaching dropped emails to an eventAsk
+ The last selected folder.-1
diff --git a/src/resourcemodel.h b/src/resourcemodel.h
index 315754b..3cb2853 100644
--- a/src/resourcemodel.h
+++ b/src/resourcemodel.h
@@ -1,128 +1,128 @@
/*
* Copyright 2014 Sandro Knauß
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License or (at your option) version 3 or any later version
* accepted by the membership of KDE e.V. (or its successor approved
* by the membership of KDE e.V.), which shall act as a proxy
* defined in Section 14 of version 3 of the license.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
*/
#ifndef RESOURCEMODEL_H
#define RESOURCEMODEL_H
#include "resourceitem.h"
#include
#include
#include
#include
namespace IncidenceEditorNG {
class ResourceModel : public QAbstractItemModel
{
Q_OBJECT
public:
/* Copied from http://qt-project.org/doc/qt-4.8/itemviews-editabletreemodel.html:
* QT 4.8: Editable Tree Model Example
*/
enum Roles {
Resource = Qt::UserRole,
FullName
};
- ResourceModel(const QStringList &headers, QObject *parent = nullptr);
+ explicit ResourceModel(const QStringList &headers, QObject *parent = nullptr);
~ResourceModel() override;
Q_REQUIRED_RESULT QVariant data(const QModelIndex &index, int role) const override;
Q_REQUIRED_RESULT QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
Q_REQUIRED_RESULT QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
Q_REQUIRED_RESULT QModelIndex parent(const QModelIndex &index) const override;
Q_REQUIRED_RESULT int rowCount(const QModelIndex &parent = QModelIndex()) const override;
Q_REQUIRED_RESULT int columnCount(const QModelIndex &parent = QModelIndex()) const override;
Q_REQUIRED_RESULT Qt::ItemFlags flags(const QModelIndex &index) const override;
Q_REQUIRED_RESULT bool removeRows(int position, int rows, const QModelIndex &parent = QModelIndex()) override;
private:
ResourceItem *getItem(const QModelIndex &index) const;
ResourceItem::Ptr rootItem;
public:
/* Start search on LDAP Server with the given string.
* If the model is not ready to search, the string is cached and is executed afterwards.
*/
void startSearch(const QString &);
private:
/* Start search with cached string (stored in searchString)
*
*/
void startSearch();
/* Search for collections of resources
*
*/
KLDAP::LdapClientSearch ldapSearchCollections;
/* Search for matching resources
*
*/
KLDAP::LdapClientSearch ldapSearch;
/* Map from dn of resource -> collectionItem
* A Resource can be part of different collection, so a QMuliMap is needed
*
*/
QMultiMap ldapCollectionsMap;
/* A Set of all collection ResourceItems
*
*/
QSet ldapCollections;
/* Cached searchString (set by startSearch(QString))
*
*/
QString searchString;
/* Is the search of collections ended
*
*/
bool foundCollection;
/* List of all attributes in LDAP an the headers of the model
*
*/
QStringList headers;
private:
/* Slot for founded collections
*
*/
void slotLDAPCollectionData(const KLDAP::LdapResultObject::List &);
/* Slot for matching resources
*
*/
void slotLDAPSearchData(const KLDAP::LdapResultObject::List &);
};
}
#endif // RESOURCEMODEL_H
diff --git a/src/ui/alarmdialog.ui b/src/ui/alarmdialog.ui
index 2036b53..39d3e9e 100644
--- a/src/ui/alarmdialog.ui
+++ b/src/ui/alarmdialog.ui
@@ -1,563 +1,569 @@
AlarmDialog00439315Alarms0000When:00Set the reminder trigger timeThis spinbox allows you to set the reminder trigger time. The time unit is set in the combobox immediately adjacent.0999991500Select the reminder trigger time unitThis combobox allows you to set the units for the reminder trigger time. The trigger time value is set in the spinbox immediately adjacent.falseminute(s)hour(s)day(s)Select the reminder trigger relative to the start or end timeUse this combobox to specify if you want the reminder to trigger before or after the start or end time.before the event startsafter the event startsbefore the event endsafter the event endsRepeat:00Set the reminder to repeatCheck this if you want to the reminder to recur on a periodic interval.falseSelect how often the reminder should repeatUse this selector to choose how many times you want the recurring reminder to repeat. time(s)1500falseSelect the time between reminder repeatsUse this selector to choose the time between repeating reminders. Minute(s)every 199900What:Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+
+ Select the alarm type
+
+
+ Use this selector to choose the alarm type for the reminders.
+ 00Display textPlay sound fileRun application / scriptSend email060000Provide text to display when the reminder triggersSpecify any text you desire to display in the popup notice when the reminder triggers.0000Audio File:Qt::AlignJustify|Qt::AlignVCentermSoundFileSpecify a file containing a sound to play when the reminder triggersUse the adjacent file browser to help you find the file you want to use when playing a sound when the reminder triggers.Qt::VerticalQSizePolicy::Expanding20610000&Application / Script:mApplicationSpecify a file containing the application to run when the reminder triggersUse the adjacent file browser to help you find the file you want to use when running an application when the reminder triggers.*|All filesAr&guments:mAppArgumentsSpecify arguments to pass to the application when the reminder triggersEnter the application arguments to use when running an application when the reminder triggers.Qt::VerticalQSizePolicy::Expanding20160000&To:mEmailAddressSpecify a list of addresses to send email when the reminder triggers.
If the 'To:' field stays empty the email reminder will be sent to the
default email configured in Kmail (Settings menu/Configure Kmail/Identities).Enter a list comma-separated addresses to which an email will be sent when the reminder triggers&Message:Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTopmEmailTextSpecify text of an email message to send when the reminder triggersEnter any text you desire for the email message that will be sent when the alarm triggers.KPIM::AddresseeLineEditKLineEditLibkdepimAkonadi/AddresseeLineEditKLineEditQLineEditklineedit.hKUrlRequesterQWidgetkurlrequester.h1KTextEditQTextEditktextedit.hKComboBoxQComboBoxkcombobox.hLibkdepimAkonadi/AddresseeLineEditmTypeCombocurrentIndexChanged(int)mTypeStacksetCurrentIndex(int)1478321697mRepeatsclicked(bool)mRepeatCountsetEnabled(bool)674911850mRepeatstoggled(bool)mRepeatIntervalsetEnabled(bool)694228448
diff --git a/src/ui/categorydialog_base.ui b/src/ui/categorydialog_base.ui
index 12f25e7..259681a 100644
--- a/src/ui/categorydialog_base.ui
+++ b/src/ui/categorydialog_base.ui
@@ -1,76 +1,82 @@
CategoryDialog_base00433269Select Categories
+
+ Select categories
+
+
+ Use this list to choose categories.
+ 1CategoryKColorComboQComboBoxkcolorcombo.hIncidenceEditorNG::AutoCheckTreeWidgetQTreeWidgetautochecktreewidget.hmCategories
diff --git a/src/ui/categoryselectdialog_base.ui b/src/ui/categoryselectdialog_base.ui
index a2c4c9e..4821af8 100644
--- a/src/ui/categoryselectdialog_base.ui
+++ b/src/ui/categoryselectdialog_base.ui
@@ -1,92 +1,98 @@
CategorySelectDialog_base00387280Select Categories06
+
+ Select incidence categories
+
+
+ Use this list to choose incidence categories.
+ 1Category06Qt::HorizontalQSizePolicy::Expanding2020&Clear Selection&Edit Categories...IncidenceEditorNG::AutoCheckTreeWidgetQTreeWidgetautochecktreewidget.h0mCategoriesmButtonClearmButtonEdit
diff --git a/src/ui/dialogdesktop.ui b/src/ui/dialogdesktop.ui
index afeb8c3..86c14be 100644
--- a/src/ui/dialogdesktop.ui
+++ b/src/ui/dialogdesktop.ui
@@ -1,1849 +1,1855 @@
EventOrTodoDesktop00661660
+
+ A message on this incidence item
+
+
+ Use this message to correct the item parameters.
+ false000000Qt::LeftToRightCalen&dar:Qt::PlainTextQt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenterQt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse0000You are Invited, what do you want to do?Accept the invitationClick this button to accept the invitation.AcceptDeclineQt::Horizontal40200075trueSet the titleSets the Title of this event or to-do.Qt::LeftToRight&Title:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCentermSummaryEdit00Set the titleSets the Title of this event or to-do.00Qt::LeftToRight&Location:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCentermLocationEdit00Set the locationSets where the event or to-do will take place.Qt::HorizontalCompletion:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter000010010trueQt::HorizontalQSlider::TicksBelow1000completedPriority:5unspecified1 (highest)2345 (medium)6789 (lowest)00Set if this to-do's start and due dates have times associated with them.All DaytrueQt::HorizontalQSizePolicy::Fixed4020Blocks me for other eventsQt::Horizontal402000Qt::LeftToRightS&tart:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCentermStartDateEdit00Set the start dateSets the start date for this to-dofalse00Sets the start time for this to-do.false00Select the timezone for this event. It will also affect recurrences00false<a href="hide"><< Time zones</a>Qt::RichTextQt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenterQt::Horizontal402000Qt::LeftToRightE&nd:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCentermEndDateEdit00Sets the due date for this to-do.false00Sets the due time for this to-do.false00Select the timezone for this event. It will also affect recurrencesQt::Horizontal400Qt::Horizontal0General00Set the secrecy levelSets whether the access to this event or to-do is restricted. Please note that KOrganizer currently does not use this setting, so the implementation of the restrictions will depend on the groupware server. This means that events or to-dos marked as private or confidential may be visible to others.Access:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter00<a href=\"hide\">Rich text >></a>Qt::RichTextQt::Horizontal402000Categories:Set the secrecy levelSets whether the access to this event or to-do is restricted. Please note that KOrganizer currently does not use this setting, so the implementation of the restrictions will depend on the groupware server. This means that events or to-dos marked as private or confidential may be visible to others.AttendeesQAbstractItemView::AllEditTriggersfalseMeeting organizer:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenterParticipants:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenterSchedule the meeting with your attendees.Opens the scheduling dialog, which will assist in picking a time slot that works for all attendees.Schedule...Qt::Horizontal25824falseSubstitute with group membersSelect attendees from your address book.Opens your address book, allowing you to select new attendees from it.Select Attendees...001000000Set the organizer identitySets the identity corresponding to the organizer of this to-do or event. Identities can be set in the 'Personal' section of the KOrganizer configuration. In addition, identities are gathered from your KMail settings and from your address book.000000TextLabelResourcesQAbstractItemView::AllEditTriggerstrueQt::SolidLinefalsefalsefalsetruetrueBook resourcefalsefalseQt::HorizontalQSizePolicy::Preferred400Find Resources...Reminder00Add default reminder:0000AddQt::Horizontal14122QAbstractItemView::NoEditTriggersNewModifyDisableRemoveQt::Vertical88126Recurrence00Repeats:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter00NeverDailyWeeklyMonthlyYearly00every001999100day(s)This and future occurrences.Qt::Horizontal40200020000000000QComboBox::AdjustToContentsOnFirstShow000000QComboBox::AdjustToContentsQt::Horizontal4020000000QComboBox::AdjustToContentsQt::Horizontal402000Ends:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter000neveronafter0020000000000Date after which the event or to-do should stop recurringQt::Horizontal27618000001999900occurrence(s)00Exceptions:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter00falseAddQt::Horizontal402000QAbstractItemView::ExtendedSelectionon:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenterfalseRemoveQt::Vertical2040Attachments0000Add an attachmentShows a dialog used to select an attachment to add to this event or to-do as link or as inline data.Addfalse00Remove the selected attachmentRemoves the attachment selected in the list above from this event or to-do.RemoveQt::Vertical20210QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaultsKPIM::KCheckComboBoxKComboBoxLibkdepim/KCheckComboBoxKLineEditQLineEditklineedit.hKTimeComboBoxQComboBoxktimecombobox.hKDateComboBoxQComboBoxkdatecombobox.hKSeparatorQFramekseparator.h1KComboBoxQComboBoxkcombobox.hKPIMTextEdit::RichTextComposerWidgetQWidgetkpimtextedit/richtextcomposerwidget.hKPIM::KWeekdayCheckComboKPIM::KCheckComboBoxLibkdepim/KWeekdayCheckComboIncidenceEditorNG::KTimeZoneComboBoxKComboBoxktimezonecombobox.hCalendarSupport::MessageWidgetQWidgetCalendarSupport/MessageWidgetAkonadi::TagWidgetQWidgetAkonadiWidgets/TagWidget1mCalSelectorPlaceHoldermAcceptInvitationButtonmDeclineInvitationButtonmSummaryEditmLocationEditmCompletionSlidermPriorityCombomWholeDayCheckmFreeBusyCheckmStartCheckmStartDateEditmStartTimeEditmTimeZoneComboStartmEndCheckmEndDateEditmEndTimeEditmTimeZoneComboEndmTabWidgetmTagWidgetmSecrecyCombomSolveButtonmSelectButtonmOrganizerCombomAlarmPresetCombomAlarmAddPresetButtonmAlarmListmAlarmNewButtonmAlarmConfigureButtonmAlarmToggleButtonmAlarmRemoveButtonmRecurrenceTypeCombomFrequencyEditmThisAndFutureCheckmWeekDayCombomMonthlyCombomYearlyCombomRecurrenceEndCombomRecurrenceEndDatemEndDurationEditmExceptionDateEditmExceptionAddButtonmExceptionListmExceptionRemoveButtonmAddButtonmRemoveButtonmRecurrenceEndComboactivated(int)mRecurrenceEndStacksetCurrentIndex(int)144314144314mRecurrenceTypeComboactivated(int)mRepeatStacksetCurrentIndex(int)142304104280mNewResourcereturnPressed()mBookResourceButtonclick()271805402808
diff --git a/src/ui/resourcemanagement.ui b/src/ui/resourcemanagement.ui
index b6a0ffe..4bd9540 100644
--- a/src/ui/resourcemanagement.ui
+++ b/src/ui/resourcemanagement.ui
@@ -1,120 +1,126 @@
resourceManagement005525660000Qt::Horizontalfalse
+
+ Enter the search term
+
+
+ Use this text box to enter some keyword for the resource you want to find.
+ truetrueQAbstractItemView::SelectRowsQt::VerticalfalsetrueDetails4trueOwnerQLayout::SetDefaultConstraintKLineEditQLineEditklineedit.h
diff --git a/src/ui/schedulingdialog.ui b/src/ui/schedulingdialog.ui
index 6903355..93afa96 100644
--- a/src/ui/schedulingdialog.ui
+++ b/src/ui/schedulingdialog.ui
@@ -1,288 +1,294 @@
Dialog00558502Schedule a time0000QFormLayout::ExpandingFieldsGrowEarliest time to start:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenterLatest time to end:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenterCheck the weekdays to include in the search.Only the checked weekdays will be included in the free time slot search.Allowed weekdays:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter00Check the weekdays to include in the search.Only the checked weekdays will be included in the free time slot search.Check the roles to include in the search.Only the participants with the checked roles will be considered in the free time slot search.Mandatory roles:Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter00Check the roles to include in the search.Only the participants with the checked roles will be considered in the free time slot search.
+
+ Select the search option
+
+
+ Use these tabs to choose the search option.
+ 0Automatic SearchtrueQAbstractItemView::SingleSelectionQAbstractItemView::SelectRowsfalsefalsetruefalsefalseVisual SearchMove your appointment to:Qt::Horizontal4020Monday, 12th JuneQt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenterto 10:00amQt::Horizontal4020KPIM::KCheckComboBoxKComboBoxLibkdepim/KCheckComboBoxKComboBoxQComboBoxkcombobox.hKDateComboBoxQComboBoxkdatecombobox.hKTimeComboBoxQComboBoxktimecombobox.hKPIM::KWeekdayCheckComboKPIM::KCheckComboBoxLibkdepim/KWeekdayCheckCombo