Commit Graph

14245 Commits

Author SHA1 Message Date
Marco Martin
46789eb1c8 add a couple of plasmoid templates for kapptemplate/kdevelop
this makes easier to develop a new plasmoid,
 there are two templates:
one is for a pure QML plasmoid
the othe rone has a C++ part
2015-11-30 15:02:43 +01:00
l10n daemon script
29f9449fda SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-29 08:59:07 +00:00
Olivier CHURLAUD
088210363c Header of plasmaquick_export.h is in plasmaquick folder.
Maybe the same should be done to other files that refer to it.
2015-11-27 22:52:52 +01:00
Nick Shaforostoff
c7c2980f14 qstring optimizations
REVIEW: 126148
2015-11-27 20:03:48 +00:00
Eike Hein
8ce47c5f1e Don't reposition while hiding.
BUG:354352
2015-11-26 22:29:58 +01:00
Marco Martin
24150a3932 make the example containment REALLY simple
remove all the fluff, make it the least code possible
for a base containment to work
2015-11-26 18:16:35 +01:00
Kai Uwe Broulik
9ccc6293f7 [IconItem] Don't crash on null KIconLoader theme
REVIEW: 126168
BUG: 355577
FIXED-IN: 5.17
2015-11-25 18:17:57 +01:00
Marco Martin
df88cef4a8 red at 10%
Change-Id: I60696f81cbda85018a580fd5b077ff1c2bc90d6d
CCBUG:355864
2015-11-25 12:49:23 +01:00
Kai Uwe Broulik
c7bfe07b1c [Containmentinterface] Don't offer to set a wallpaper for a panel
It makes no sense and did nothing. This removes this option.

CHANGELOG: Dropping image files onto a panel will no longer offer to set them as wallpaper for the panel

REVIEW: 126159
2015-11-24 21:13:01 +01:00
Marco Martin
4e143813b4 example without a wallpaper 2015-11-24 12:15:11 +01:00
Marco Martin
ff83c3ac99 install some plasmaquick headers 2015-11-24 10:58:05 +01:00
Marco Martin
2750155af4 a minimal example of a custom shell 2015-11-23 20:31:20 +01:00
Kai Uwe Broulik
2608e0d5df Install .plasmoid file when dropping it onto a containment
CHANGELOG: Dropping a .plasmoid file onto a panel or the desktop will install and add it

REVIEW: 125968
2015-11-23 19:57:39 +01:00
Marco Martin
e8ece80036 fix stylesheet
Change-Id: I884d53d2c9fb99ed79a9cbce48ad84fe76015c79
2015-11-23 11:24:09 +01:00
Marco Martin
1a804c33e2 use qGuiApp instead of qApp 2015-11-20 14:37:17 +01:00
Marco Martin
a9d3d9a81a make event filters static to decrease installed filters on qApp
since seems there are so many event filters installed
on the QApplication installed that may give performanc
 issues, try to use separate, singleton watchers for them
to decrease the amount of eventfilters called

REVIEW:126113
2015-11-20 14:26:16 +01:00
Marco Martin
71999d4aac remove the now unised platformstatus kded
BUG:348840
2015-11-20 11:16:19 +01:00
Uri Herrera
93ade11acc BUG: 354928 Changed the color of the running but inactive border to the same color as it's in the Breeze Dark color scheme (6a6e72) and the same opacity as the other elements (60%). 2015-11-20 03:06:06 -06:00
Marco Martin
a0f52f25e6 fix stylesheets 2015-11-19 14:30:10 +01:00
Martin Klapetek
6f3fed77d5 [calendar] Use ui language for getting the month name
Simple QDate::longMonthName(..) won't do the job as it
will return the month name using LC_DATE locale which is used
for date formatting etc. So for example, in en_US locale
and cs_CZ LC_DATE, it would return Czech month names while
it should return English ones. So here we force the first ui
language locale and take the month name from that.

BUG: 353715
REVIEW: 125705
2015-11-18 12:38:08 -05:00
Martin Klapetek
e571628b18 [calendar] Sort the events by their type too
The QML sectioning code does not actually sort the model, this needs to
be done beforehand. This should now sort the events by their type and
their start datetime
2015-11-18 12:38:08 -05:00
Marco Martin
ee9e5907cf allow paste on password fields
but don't allow to copy, select or cut
2015-11-18 18:22:46 +01:00
Marco Martin
8e0c244482 fix positioning of edit menu, add a button to select
don't show edit menu for passwords
2015-11-18 16:59:42 +01:00
Marco Martin
69f9460139 adjust colors of sliders and scrollbars to be better inverted 2015-11-18 15:46:41 +01:00
Martin Klapetek
c84e591b96 [calendar] Use correct plugin IID for filtering
With moving the plugin to KDeclarative, the namespace got changed but it
was forgotten to change the plugins filter
2015-11-17 19:04:08 -05:00
Martin Klapetek
e757ebb483 [calendar] Add missing item id 2015-11-17 17:45:49 -05:00
Martin Klapetek
f746db2878 [calendar] Fix some missing properties and property settings 2015-11-17 17:44:01 -05:00
Marco Martin
89d79f9127 shadow for the button
similar to the qwidget one
2015-11-17 19:49:25 +01:00
Marco Martin
a8031b0b00 fix the stylesheet of the network icon 2015-11-17 18:07:25 +01:00
Marco Martin
258242fffd fix tickmarks in vertical mode 2015-11-17 17:52:21 +01:00
Marco Martin
91ad79a553 better disabled look 2015-11-17 17:52:21 +01:00
Uri Herrera
286fa96686 Added missing icons for plasma-nm. These icons do not have the class attribute so they won't change color when changing to the dark color scheme. 2015-11-16 21:44:33 -06:00
Uri Herrera
165d25eac8 Removed .directory and added gitignore 2015-11-16 19:46:00 -06:00
Uri Herrera
862dac4304 I've added back the notes widget I made for this new theme. I do not want it to fallback to the Oxygen notes. It's supposed to be Breeze not Oxybreeze. Amarok wasn't using the tray icon; I've fixed it. Changed the color of the locks in the plasma-nm icons. Added minimized state and changed app grouping asset. Before anyone sets the fire alarm for it... Yes I'm very much aware that it's a graphic but it appears only when there are 2 or more instances running hence the 2 and the +. It also doesn't stack or repeat when there's more than two instances so it works even if there's 99. It looks epic in the icon-only task manager. The normal task manager uses it's own counter as far as I could tell. 2015-11-16 19:42:01 -06:00
Martin Klapetek
520837a07c [calendar] Move the plugin library to KDeclarative
Marco is not happy with the plugin being here and having a Plasma
namespace, so after some discussion it was decided to move it to
KDeclarative and change to CalendarEvents namespace.
2015-11-16 14:26:26 -05:00
Martin Klapetek
c507c744ca [calendar] Fix build 2015-11-16 12:22:34 -05:00
Martin Klapetek
f9d7fc87d5 [calendar] Fix binding loops 2015-11-16 11:52:55 -05:00
Martin Klapetek
b65195ee65 [calendar] qmlRegisterUncreatableType needs a bit more arguments 2015-11-16 11:52:17 -05:00
Martin Klapetek
8349a786af Allow adding config categories dynamically
This allows to add custom config categories from JS
dynamically. This is needed for the calendar event
plugins, which are known only at runtime and this enables
to load their QML config files (which are supplied
as absolute paths) and show them in the applet config
dialog.

REVIEW: 125966
2015-11-16 11:50:18 -05:00
Martin Klapetek
d0d0a27bac [calendar] Move the plugins handling to a separate class
This is also made a QML singleton that will be used for the applet
config view where it will add the plugin configs once we add that
possibility.

The same instance is then set to the DaysModel from QML.

REVIEW: 125951
2015-11-16 11:49:02 -05:00
Martin Klapetek
fe0384f0d4 [calendar] Add plugin system for Calendar events
This adds a simple plugin interface that can be subclassed
and provide events integration with Plasma Calendar applet.

It's asynchronous and I've kept it deliberately simple.
For now the Calendar tells the plugins which date range
is being displayed, the plugins load the data and then
emit the dataReady() signal containing the events.

The events are stored in a multihash for quick access
by the Calendar's agenda part but also for overall
easy-to-use (eg. in teh model data()).

The event data is stored in EventData class, which has
a pretty self-explanatory members, except perhaps the
"isMinor" property. The intention with this is to support
namedays, where in some countries the calendars have
different name every day. This is just a minor holiday
and as such should not mark the calendar grid, otherwise
the whole grid would be in a different color.

Putting the interface here might raise the question of
depending on plasma-framework, but plugins provided by
KDE can go to plasma-workspace and other 3rd party ones
would just have to live with it. I don't think it will
be a problem but if it turns out it is, we can rethink
the placement.

REVIEW: 125817
CCBUG: 349676
CHANGELOG: Allow plugins to supply event data to Calendar applet
2015-11-16 11:46:26 -05:00
andreas kainz
19b2e37dc5 IM icon for offline user is light gray according to breeze-icons 2015-11-15 20:26:23 +01:00
l10n daemon script
694131fdb6 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-14 12:52:39 +00:00
Uri Herrera
e6ad818f59 Changed Airplane mode toggle icon to airplane. 2015-11-13 17:24:34 -06:00
Marco Martin
c8b9b852ef check for slot existence before connecting or disconnecting
since this is a blind connect to a slot that may exist
or not exist, the new syntax can't be used, but check
for the slot existence before attempting a connection

BUG:354751
2015-11-11 11:07:46 +01:00
l10n daemon script
4519c25d5c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-10 12:46:43 +00:00
Marco Martin
d6dd74ce39 adjust test values
framesvg margins have been changed, influencing sizes
and pos of the dialog

Change-Id: I23b6a8416de8ec7c17b04b97a6c2772bd44b4d7b
2015-11-10 11:01:14 +01:00
Marco Martin
c6ad907db5 revert to old margins 2015-11-10 10:54:02 +01:00
Marco Martin
b292c3181f update version number to force to drop the caches 2015-11-10 10:24:26 +01:00
Marco Martin
29c53a82bf adjust margins to make tests pass
Change-Id: I72b1bc5548f4c08b498e41c8fb23a39de444b36b
2015-11-09 13:27:52 +01:00