Re: QtQuick Controls Calendar

2014-11-28 Thread Thomas Pfeiffer
On Saturday 08 November 2014 23:35:17 Martin Klapetek wrote:
 Hey,
 
 if the only advantage is week numbers for free, I'd rather keep our own
 stuff. Our model already has week numbers iirc and I would like to keep the
 default calendar as simple as possible. I've been thinking for some time
 about shipping second calendar applet with all the power features, but
 keeping the default simple; with the Alternatives menu it can be powerful
 when needed. And this could use whatever under the hood.

Always glad to see when people put the Simple by default. Powerful when 
needed. principle into practice. And yes, the Alternatives system is the 
ideal tool for that.
So yes, one simple default Plasmoid and one (or more) powerful one(s) for 
those who need one is the best solution.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: QtQuick Controls Calendar

2014-11-28 Thread Marco Martin
On Saturday 08 November 2014 18:20:51 Kai Uwe Broulik wrote:
 Hi all,
 
 I was looking into migrating the Plasma Calendar to QtQuick Controls
 Calendar.
 
 However, we went through so much work making this thing efficient and fast
 using Canvas but the QtQuick Controls Calendar again uses one item per day
 (which potentially contains a Label and Rects for the borders). I do not
 know whether it re-uses the items when switching through months (which is a
 bit laggy with the Canvas calendar), though. One advantage is that it would
 give us week numbers for free.
 
 Suggestions?

by the way, i have done a very minimal adaptation of the calendar style in the 
branch mart/completeQtQuickStyle of plasma-framework
it pretty much gets the one from Base and changes the used colors.

It's required since a theme has to be complete if exported, (they really need 
a fallback mechanism if they are serious about those styles) but our control 
should still be used

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: QtQuick Controls Calendar

2014-11-25 Thread Martin Klapetek
On Mon, Nov 24, 2014 at 8:09 PM, Aleix Pol aleix...@kde.org wrote:

 On Sat, Nov 8, 2014 at 6:20 PM, Kai Uwe Broulik k...@privat.broulik.de
 wrote:

 Hi all,

 I was looking into migrating the Plasma Calendar to QtQuick Controls
 Calendar.

 However, we went through so much work making this thing efficient and fast
 using Canvas but the QtQuick Controls Calendar again uses one item per day
 (which potentially contains a Label and Rects for the borders). I do not
 know
 whether it re-uses the items when switching through months (which is a bit
 laggy with the Canvas calendar), though. One advantage is that it would
 give
 us week numbers for free.

 Suggestions?

 Cheers,
 Kai Uwe


 Would it maybe help with calendars l10n?
 https://bugs.kde.org/show_bug.cgi?id=340558


Most probably not, the multi-calendar support is still missing in Qt afaik
(QCalendarSystem).

Cheers
-- 
Martin Klapetek | KDE Developer
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: QtQuick Controls Calendar

2014-11-24 Thread Aleix Pol
On Sat, Nov 8, 2014 at 6:20 PM, Kai Uwe Broulik k...@privat.broulik.de
wrote:

 Hi all,

 I was looking into migrating the Plasma Calendar to QtQuick Controls
 Calendar.

 However, we went through so much work making this thing efficient and fast
 using Canvas but the QtQuick Controls Calendar again uses one item per day
 (which potentially contains a Label and Rects for the borders). I do not
 know
 whether it re-uses the items when switching through months (which is a bit
 laggy with the Canvas calendar), though. One advantage is that it would
 give
 us week numbers for free.

 Suggestions?

 Cheers,
 Kai Uwe


Would it maybe help with calendars l10n?
https://bugs.kde.org/show_bug.cgi?id=340558

Aleix
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: QtQuick Controls Calendar

2014-11-24 Thread Marco Martin
On Saturday 08 November 2014, Kai Uwe Broulik wrote:
 Hi all,
 
 I was looking into migrating the Plasma Calendar to QtQuick Controls
 Calendar.
 
 However, we went through so much work making this thing efficient and fast
 using Canvas but the QtQuick Controls Calendar again uses one item per day
 (which potentially contains a Label and Rects for the borders). I do not
 know whether it re-uses the items when switching through months (which is
 a bit laggy with the Canvas calendar), though. One advantage is that it
 would give us week numbers for free.
 
 Suggestions?

last week this was discussed a bit, and the conclusion in the end seemed that 
they really solve two different problems.

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


QtQuick Controls Calendar

2014-11-08 Thread Kai Uwe Broulik
Hi all,

I was looking into migrating the Plasma Calendar to QtQuick Controls Calendar.

However, we went through so much work making this thing efficient and fast 
using Canvas but the QtQuick Controls Calendar again uses one item per day 
(which potentially contains a Label and Rects for the borders). I do not know 
whether it re-uses the items when switching through months (which is a bit 
laggy with the Canvas calendar), though. One advantage is that it would give 
us week numbers for free.

Suggestions?

Cheers,
Kai Uwe
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: QtQuick Controls Calendar

2014-11-08 Thread Martin Klapetek
Hey,

if the only advantage is week numbers for free, I'd rather keep our own
stuff. Our model already has week numbers iirc and I would like to keep the
default calendar as simple as possible. I've been thinking for some time
about shipping second calendar applet with all the power features, but
keeping the default simple; with the Alternatives menu it can be powerful
when needed. And this could use whatever under the hood.

Cheers
--
Sent from tablet

On Saturday, November 8, 2014, Kai Uwe Broulik k...@privat.broulik.de
wrote:
 Hi all,

 I was looking into migrating the Plasma Calendar to QtQuick Controls
Calendar.

 However, we went through so much work making this thing efficient and fast
 using Canvas but the QtQuick Controls Calendar again uses one item per day
 (which potentially contains a Label and Rects for the borders). I do not
know
 whether it re-uses the items when switching through months (which is a bit
 laggy with the Canvas calendar), though. One advantage is that it would
give
 us week numbers for free.

 Suggestions?

 Cheers,
 Kai Uwe
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel


-- 
Martin Klapetek | KDE Developer
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel