Sebastian Kügler
b1ce94159d
KDE::icon becomes QIcon::fromTheme
2013-04-02 12:55:37 +02:00
Script Kiddy
9e9b080392
SVN_SILENT made messages (.desktop file)
2013-03-29 09:20:10 +01:00
Script Kiddy
a7e48aae80
SVN_SILENT made messages (.desktop file)
2013-03-28 09:07:44 +01:00
Sebastian Kügler
f17e903d7c
More predictable behaviour of wallpaper chooser
2013-03-28 04:29:33 +01:00
Sebastian Kügler
41aaa5a904
Make it possible to choose wallpapers without config
...
Wallpapers don't necessarily have config UIs, so we need to take a bit
of care that we don't try to load them. Just hide the pagestack instead.
2013-03-28 03:52:15 +01:00
Sebastian Kügler
40ac6a5f0c
Make upgrading wallpapers work
...
We were previously accessing an invalid metadata, because wallpapers
aren't necessarily found as plugins: Take care of this case.
2013-03-28 03:50:06 +01:00
Sebastian Kügler
98b4ceb3a2
Watch out for invalid wallpaper packages
2013-03-28 01:58:52 +01:00
Sebastian Kügler
2ac12c5fe6
Fix typo in var name
2013-03-28 01:50:19 +01:00
Sebastian Kügler
b19f4fe01d
also consider KServices in plasmapkg wallpaper listing
2013-03-28 01:38:43 +01:00
Sebastian Kügler
1dfab488e0
const&ness
2013-03-28 01:16:42 +01:00
Sebastian Kügler
ce6919b424
tighten up a bit
2013-03-28 01:12:42 +01:00
Sebastian Kügler
c12ecd0f51
plasmapkg: make listing wallpapers work
2013-03-28 01:11:44 +01:00
Sebastian Kügler
cbe0d39b99
add spacing in buttonrow and column
2013-03-27 22:27:22 +01:00
Sebastian Kügler
f2008a14e2
small cleanup
2013-03-27 02:52:57 +01:00
Sebastian Kügler
2bb2852906
improve dragdroppage
2013-03-27 02:52:44 +01:00
Sebastian Kügler
ad1311ddd3
Attach an image to the drag
...
it now works with delegate, color and image, urls in the form of icons
tbd.
2013-03-27 02:50:45 +01:00
Sebastian Kügler
c965edb741
Enable category filtering in widgetexplorer
2013-03-27 00:24:11 +01:00
Sebastian Kügler
b1a42929a5
Make listing categories and filtering work
2013-03-27 00:23:47 +01:00
Sebastian Kügler
498dcb30b6
enable a few more things
2013-03-26 22:54:37 +01:00
Sebastian Kügler
a0fb4356dc
Positioning of Menu on screen
...
Actually quite a bit more lightweight than its QGV predecessor.
2013-03-26 22:34:35 +01:00
Sebastian Kügler
0ef4080e4f
positioning for context menu
2013-03-26 22:17:25 +01:00
Sebastian Kügler
aedfc3a580
test code for menu in testcomponentsplasmoid
2013-03-26 20:19:42 +01:00
Sebastian Kügler
335e0b6d9d
Port Menu and MenuItem to QtQuick2
...
In MenuItem, we can't inherit QAction anymore (our MenuItem has to be a
QQuickItem), so we need to aggregate, which means adding glue API.
Positioning code is disabled, icons broken, but a QMenu with our items
inside shows up and is works.
2013-03-26 20:15:56 +01:00
Sebastian Kügler
b2e2cff847
various improvements and fixes to widgetexplorer
2013-03-26 03:54:35 +01:00
Sebastian Kügler
f9b52427e7
Move widgetexplorerview into its own class
2013-03-26 02:41:58 +01:00
Sebastian Kügler
9bc347006d
Connect closeClicked signal
2013-03-26 02:06:40 +01:00
Sebastian Kügler
243e8d23e3
make widgetexplorer show up
...
it lists widgets, allows to add them now.
Categories and download new widgets are disabled for now.
It seems PlasmaComponents.MenuItem is broken (it inherits its API from QAction,
but in QtQuick, it has to be a QQuickItem to be accepted as Delegate.
This might need glue-api. :/)
2013-03-26 01:55:17 +01:00
Sebastian Kügler
9684d17e9a
Change imports to Plasma2
2013-03-26 01:12:25 +01:00
Sebastian Kügler
9c6b7539bc
fix namespacing in ContextMenu
2013-03-26 01:12:04 +01:00
Sebastian Kügler
827a4d1c7e
pristine copies of widget explorer QML files from package in kde-workspace
2013-03-26 00:48:37 +01:00
Marco Martin
5796ed1527
expose thickness
2013-03-22 16:13:12 +01:00
Marco Martin
a2c5a76eff
add more properties to views
...
control them with the panel controller
probably will change architecture: seems safer to put the panel controller in an "expanded" panelview instead?
2013-03-22 14:39:33 +01:00
Sebastian Kügler
843bd1c1e9
revert last change
2013-03-21 23:30:40 +01:00
Marco Martin
395dc9b381
manage the case a containment behaves as an applet
...
however loading mechanism should be changed to make applets in containments always be an Applet*
2013-03-21 19:05:53 +01:00
Marco Martin
b8b3c0a89c
make the view transparent
...
fixes rendering on nvidia
2013-03-21 16:58:06 +01:00
Sebastian Kügler
7e9b152acf
init applet after it's added
2013-03-21 16:48:13 +01:00
Sebastian Kügler
60fda41cfe
add widgetexplorer button in testcontainment
2013-03-21 05:44:38 +01:00
Sebastian Kügler
12f481e50a
header cleanup, copyrights, runtime warnings--
2013-03-21 05:22:46 +01:00
Sebastian Kügler
64b3812c05
logic to load Plasmoids
...
- add a mousearea to the delegate that calls
widgetExplorer.addApplet(pluginName)
- in widgetsexplorer, locate the plasmoid, load it via
Applet::loadPlasmoid(), then add it to the containment
- In showWidgetExplorer, we set the widgetExplorer's containment to the
sender(), if there's no containment set, we can't add the applet. This
way, the widgetexplorer knows which containment the applet should go to
This makes it possible to add Plasmoids via the GUI :-)
2013-03-21 05:04:17 +01:00
Sebastian Kügler
1619430697
add WidgetExplorer object to the rootContext
...
- WidgetExplorer is parented to the view, and deleted / init'ed along
with it
- the model is populated before the QML UI is loaded
The explorer now shows a list of widgets, no interaction atm.
2013-03-21 04:03:05 +01:00
Sebastian Kügler
bc2b5bd9fc
Initialize the model
2013-03-21 04:02:44 +01:00
Sebastian Kügler
6d511c0f6a
Listview showing pluginnames
2013-03-21 03:57:37 +01:00
Sebastian Kügler
c210adaf20
make-it-build
2013-03-21 03:25:26 +01:00
Sebastian Kügler
253e7b2c60
add widgetexplorer to the build
2013-03-21 03:21:36 +01:00
Sebastian Kügler
2c622914af
Make widgetsexplorer almost build
...
Lots of slaughtering going on here, as we're ripping out
QGraphics*-based UIs. The widgetExplorer object won't have UI in it
anymore, as that is done in the desktop shell package (rather than its
own package).
Lots of features are disabled right now (install, uninstall, download),
the idea is to first just get the model working, and then re-enable
features one at a time.
2013-03-21 03:19:01 +01:00
Sebastian Kügler
8f04230c5e
pristine copies of widgetexplorer.{h,cpp}
...
from kde-workspace/libs/plasmagenericshell/widgetsexplorer
2013-03-21 03:17:57 +01:00
Sebastian Kügler
9da71194c8
port away from KIcon
2013-03-21 03:13:30 +01:00
Sebastian Kügler
7bea46d23c
Port model to Qt5/Frameworks5
2013-03-21 01:49:35 +01:00
Sebastian Kügler
d099b7e2c6
Pristine copies of applet model from
...
from: kde-workspace/libs/plasmagenericshell/widgetsexplorer
2013-03-21 01:33:57 +01:00
Sebastian Kügler
d4d9b70721
window title for add widgets
2013-03-21 01:06:43 +01:00