Marco Martin
465c202b9b
remove dead code
2013-05-02 17:42:07 +02:00
Marco Martin
5b648e5a23
complete migration, storage test passes
...
results still have to be converted in qmaps
2013-05-02 15:33:57 +02:00
Marco Martin
b0530820ec
use variant maps instead of configgroups
...
services operationdescriptions are now QVariantMaps
2013-05-02 14:46:29 +02:00
Marco Martin
aa8ed30fda
ConfigLoaderHandlerMap that loads config in maps
...
ConfigLoaderHandlerMap populates a qvariantmap instead of a kconfigskeleton
will be used by service for operations
2013-05-02 13:31:18 +02:00
Marco Martin
e58ab0bc99
move ConfigLoaderHandler in own header
2013-05-02 11:33:23 +02:00
Marco Martin
1d7c6af919
remove Service::access()
2013-05-02 11:02:06 +02:00
Script Kiddy
fc3f25b2a7
SVN_SILENT made messages (.desktop file)
2013-05-02 09:19:42 +02:00
Sebastian Kügler
6a830d676b
fix typos in i18n comments
2013-05-02 05:06:35 +02:00
Script Kiddy
b105c2a56c
SVN_SILENT made messages (.desktop file)
2013-05-01 09:15:13 +02:00
Script Kiddy
f784cfb07f
SVN_SILENT made messages (.desktop file)
2013-04-30 17:38:15 +02:00
Sebastian Kügler
47c63deb6f
elegantly work around
...
the hack
2013-04-30 02:59:02 +02:00
Sebastian Kügler
b68317e930
Use QVariant for MenuItem::icon
...
This way, we can cover string and QIcon assignments transparently,
another backwards compatibility fix, and easier thing in Plasma2: Now
the user doesn't have to worry about creating QIcons, but can just
assign the icon name, and it will get loaded from the theme. Models that
provide QIcons (such as QStandardItems) now work correctly with
PlasmaCore.MenuItems.
2013-04-30 02:50:42 +02:00
Sebastian Kügler
cb5f8a3248
Clip the applet and prevent some mess on the screen
2013-04-30 02:34:48 +02:00
Sebastian Kügler
e4976005c6
Fix crasher with 0x0 windows
...
It can happen that the visualParent has no window attached, so don't
access it. In this case, use the visualParent's geometry.
2013-04-30 02:33:17 +02:00
Sebastian Kügler
20aa17dfe7
FrameSvgItem background for widgetexplorer window
2013-04-30 02:06:44 +02:00
Sebastian Kügler
c5bb3cecf5
Improve macro usage
...
Now that we have the improved macro, use the type name in the desktop
file name
2013-04-29 18:35:25 +02:00
Marco Martin
05667460e5
less friends
2013-04-29 12:45:40 +02:00
Sebastian Kügler
f5192aa1fe
those cmake files aren't needed anymore
2013-04-27 03:45:03 +02:00
Sebastian Kügler
992587bb8c
Move show package info after parsing -t flag
...
This makes showing the contents of all package types possible.
2013-04-27 03:38:47 +02:00
Sebastian Kügler
29d823cde7
Correct loginmanager mainscript
2013-04-27 03:38:25 +02:00
Sebastian Kügler
f4238d7cb2
Add mainscript so the packages are actually valid
2013-04-27 03:37:45 +02:00
Sebastian Kügler
5175188693
Skeleton for Look & Feel package
...
This is an empty package, with directories and zero-sized files set up
that can be filled in.
2013-04-27 03:36:32 +02:00
Sebastian Kügler
015b20e514
Correct Messages.sh
...
../lookandfeel/
2013-04-27 03:13:01 +02:00
Sebastian Kügler
1c73bf2e27
Use installPackage macro for shell/qmlpackages
...
This now installs the service types correctly, so they can be found
using KServiceTypeTrader (and thus using plasmapkg).
2013-04-27 03:07:39 +02:00
Sebastian Kügler
43812710d5
plasmapkg: Add type argument to --list-types output
...
It's a bit silly to list the types, but don't tell the user which
argument the -t flag expects, so add those to the --list-types output
2013-04-27 02:39:13 +02:00
Sebastian Kügler
fe71859688
Add Shell and Look and Feel package types to plasmapkg
2013-04-27 02:26:35 +02:00
Sebastian Kügler
a426264037
fix package root for wallpapers, makes it find the metadata, add debug
2013-04-26 23:48:50 +02:00
Marco Martin
31e39640ce
correct kdeclarative includes
2013-04-26 17:36:45 +02:00
Marco Martin
304fdeff5d
reorganize shell package
2013-04-26 17:10:39 +02:00
Marco Martin
36c25f085d
make the "plasmoid" property work agaon
2013-04-26 13:42:23 +02:00
Marco Martin
5e906f24c7
Merge branch 'configdialog_in_shell'
2013-04-26 13:28:08 +02:00
Marco Martin
b0b03f4a8f
create config uis always from the same point
2013-04-26 13:00:07 +02:00
Marco Martin
f6765fda8c
bind the panel again to the config dialog
2013-04-26 10:46:42 +02:00
Script Kiddy
03a2990b9f
SVN_SILENT made messages (.desktop file)
2013-04-26 08:58:42 +02:00
Marco Martin
7301f6d8b7
panelconfigview is a subclass of configview
2013-04-25 22:38:27 +02:00
Marco Martin
d44f0973d3
get rid of local qmlobject and config bindings
...
they're in kdeclarative now
2013-04-25 20:56:36 +02:00
Marco Martin
7be9da07b4
correctly load containment config ui
2013-04-25 15:07:02 +02:00
Marco Martin
5efb247935
correctly build the wallpaper model
2013-04-25 14:11:53 +02:00
Marco Martin
4feb02c329
config ui of applets should work again
2013-04-25 11:43:00 +02:00
Script Kiddy
6a2dbd38d6
SVN_SILENT made messages (.desktop file)
2013-04-25 09:27:27 +02:00
Sebastian Kügler
5b95a759c9
use qdebug
2013-04-25 03:24:28 +02:00
Sebastian Kügler
77f8d35ea9
Install wallpaper, shell and lookandfeel servicetypes
2013-04-25 03:23:53 +02:00
Sebastian Kügler
f9ec377f6e
disable fs-based listing for wallpapers, works with kservice now
2013-04-25 03:23:35 +02:00
Sebastian Kügler
c73761689e
Correct service type
2013-04-25 03:23:06 +02:00
Sebastian Kügler
7da43cfdc9
Use new service type and cmake macro for wallpapers
2013-04-25 02:13:02 +02:00
Marco Martin
e7ca00e534
move the config dialog in the shell
...
it still doesn't successfully load
2013-04-24 22:54:46 +02:00
Sebastian Kügler
db5ef57480
make sure we don't access an invalid config and crash
2013-04-23 18:17:08 +02:00
Script Kiddy
e1f17c63b6
SVN_SILENT made messages (.desktop file)
2013-04-23 17:19:30 +02:00
Script Kiddy
daea562789
SVN_SILENT made messages (.desktop file)
2013-04-22 09:05:22 +02:00
Sebastian Kügler
c835af2d06
Move image wallpaper to color, reflecting reality
2013-04-21 18:37:03 +02:00
Sebastian Kügler
53a70b703d
Add servicetypes for Wallpaper, Shell and LookAndFeel
...
CCMAIL:plasma-devel@kde.org
2013-04-21 18:02:37 +02:00
Sebastian Kügler
e055ad43db
file definitions for LnF package
2013-04-21 17:55:55 +02:00
Sebastian Kügler
c2a1cfb95c
Directory definitions for Look and Feel package structure
2013-04-21 16:27:54 +02:00
Sebastian Kügler
54bd825668
Start of look and feel package structure
2013-04-21 11:21:41 +02:00
Marco Martin
79d5724ef1
always emit Containment::requestConfiguration()
...
emit that signal when the configure action is treggered for each applet,
the applet pointer to the interested applet is passed
is the first step for moving config ui i the sell
2013-04-20 18:31:57 +02:00
Sebastian Kügler
0fbe46415c
comment improvements
2013-04-18 17:29:57 +02:00
Stephen Kelly
268f44fc3b
Remove use of qt4_automoc.
...
It is obsolete.
2013-04-12 11:09:43 +02:00
Sebastian Kügler
e660246b2b
more output polishing
2013-04-12 02:59:31 +02:00
Sebastian Kügler
03472443ec
Remove special handling for Plasma/PopupApplet
...
This servicetype has gone, since popups are entirely managed by the
applets compactRepresentation property and minimum size. The service
type has already gone, so don't look for them anymore.
2013-04-12 02:59:31 +02:00
Sebastian Kügler
2ece64af93
fix race, improve feedback
...
- return after starting the install job instead of exiting. This only
works accidentally, since the start of the job happens inside this
event loop cycle, it will leave installation in a random state for
larger payloads. The fix is easy: only exit after installing.
- improve output: report installation, deinstallation and upgrade
consistently to cout.
- Now all operations correctly exit with either 0 or 1, so plasmapkg
will work fine in scripts.
2013-04-12 02:59:31 +02:00
Sebastian Kügler
d8d9d2952d
ws--
2013-04-12 02:06:52 +02:00
Sebastian Kügler
74febc2219
test locale bindings
2013-04-12 02:06:42 +02:00
Anant Kamath
f66a3608c0
Fixed exporting flags to QML
2013-04-12 03:12:04 +05:30
Sebastian Kügler
39de2a637c
Fix crash in SortFilterModel::mapRowFromSource()
...
It was not using the correct model to get the source index from the
row.
Patch by Aurélien Gâteau
CCMAIL:agateau@kde.org
REVIEW:109946
2013-04-10 16:19:34 +02:00
Sebastian Kügler
e01912d071
Improve plasma-shell app metadata
2013-04-10 02:25:32 +02:00
Sebastian Kügler
70b303fde6
support generic packages in plasmapkg
2013-04-10 02:22:25 +02:00
Sebastian Kügler
fe8be600c6
Don't crash when the containment or toolbox doesn't load
...
Check if the containment could be loaded (this includes the toolbox), if
not, don't poke into its rootObject.
2013-04-10 02:18:41 +02:00
Sebastian Kügler
788870fffc
Don't crash when an engine failed to load
...
Prevents accessing an invalid KPluginInfo object, which is passed in
here for null engines.
2013-04-10 01:50:31 +02:00
Sebastian Kügler
63366d4218
a few more optimizations and better docs for tooltip
2013-04-09 04:38:06 +02:00
Sebastian Kügler
3859dbdd07
Improve API docs
2013-04-09 04:02:19 +02:00
Sebastian Kügler
e7887ee199
more removal of unnecessary stuff
2013-04-09 03:52:59 +02:00
Sebastian Kügler
3bd1d939e8
remove maincomponent and target properties from tooltipproxy
2013-04-09 03:50:43 +02:00
Sebastian Kügler
50a4abac6d
ToolTip polishing
...
- manage mainComponent entirely in ToolTip.qml
- less resizing/setvisible makes it faster and smoother
- fix timer connects in dialog
- Kill dead code
2013-04-09 03:42:54 +02:00
Sebastian Kügler
98d432ebca
Try a special component as tooltip: works
2013-04-09 03:42:41 +02:00
Sebastian Kügler
ea41410004
rename testplasma2 binary to plasma-shell
...
This also means that the config file is now
~/.config5/plasma-shell-appletsrc
CCMAIL:plasma-devel@kde.org
2013-04-09 03:00:10 +02:00
Sebastian Kügler
2cc96aac45
kill tooltipwindow implementation
...
We use a dialog subclass-singleton now.
I love the smell of dead code in the morning.
2013-04-09 01:27:25 +02:00
Sebastian Kügler
4c21d54980
add objectnames for easier debugging
2013-04-09 00:09:07 +02:00
Sebastian Kügler
9eda3882ca
Make tooltip positioning work
2013-04-09 00:09:07 +02:00
Marco Martin
5a82aa9211
remove RunnerManager::execQuery()
2013-04-08 13:14:17 +02:00
Marco Martin
c3e2a6e671
smaller sectionscroller
2013-04-05 11:08:30 +02:00
Sebastian Kügler
e0c7eaafad
dynamic object creation inside tooltip
...
The mainItem is now a Component, which gets created on demand and passed
to the tooltip dialog.
Positioning is a bit off now, but it basically seems to work as we'd
like it to.
2013-04-05 04:27:55 +02:00
Sebastian Kügler
8eab0f20f2
tooltip now uses a dialog
...
A bit crude, and only half-working, but shows up
2013-04-05 01:10:53 +02:00
Sebastian Kügler
feda4f5013
make tooltipdialog a singleton
2013-04-05 00:30:17 +02:00
Sebastian Kügler
e48908eb70
add tooltipdialog class
...
Let's try to share more code with dialog -- especially sizing, frame
painting and positioning with dialog. This means a bit of rewiring, but
should result in more lazy-loaded, shared objects.
The idea is to have at most one window, which is recycled for all
tooltips, making it possible to animate transitions.
2013-04-04 23:50:44 +02:00
Sebastian Kügler
95dddcea35
split tooltip and tooltipwindow
2013-04-04 23:33:05 +02:00
Marco Martin
f9adc7a598
remove DataEngine::init()
...
with only one ctor is not necessary anymore
2013-04-04 18:07:18 +02:00
Marco Martin
4875658944
only one constructor remains
...
explicit DataEngine(const KPluginInfo &plugin, QObject *parent = 0);
2013-04-04 18:05:03 +02:00
Marco Martin
fe803e1c79
find solid
2013-04-04 17:51:01 +02:00
Marco Martin
3243e69334
link to Solid
2013-04-04 17:43:48 +02:00
Marco Martin
037a86530d
add ctor with a KPluginInfo
2013-04-04 17:43:30 +02:00
Marco Martin
5af5da2687
move all loading function to PluginLoader
2013-04-04 17:34:27 +02:00
Marco Martin
efc1264592
use QHash<QString, QVariant> instead of Data
...
don't use extra typedefs in signatures
2013-04-04 17:34:27 +02:00
Marco Martin
41b3a17011
scheduleSourcesUpdated() is now private
2013-04-04 17:34:27 +02:00
Marco Martin
5c051f10eb
SourceDict -> QHash<QString, DataContainer*>
...
the typedef is still there, but don't use anywhere in the code
2013-04-04 17:34:27 +02:00
Marco Martin
12b5b7639d
remove DataEngine::query()
2013-04-04 17:34:27 +02:00
Sebastian Kügler
d207025d8f
Blur behind for tooltips
...
Also clean up flags a bit.
2013-04-04 16:00:57 +02:00
Sebastian Kügler
010f471bc7
Restore API: ToolTip.visualParent becomes target
2013-04-04 05:11:31 +02:00
Sebastian Kügler
e4ee4d6dd0
basic tooltip featureset finished
...
This implementation deviates a bit from the Plasma 1 tooltips:
- image is now a string
- tooltips align to the parent by default, or the visualParent set
Otherwise, the changes should be fairly transparant.
A crude basic featureset works.
2013-04-04 05:02:51 +02:00
Sebastian Kügler
c2b868fa56
Add two test images, use them for tooltips
2013-04-04 05:01:57 +02:00
Sebastian Kügler
c739f3ae58
Increase margins a bit, wm hints
2013-04-04 02:02:10 +02:00