Commit Graph

280 Commits

Author SHA1 Message Date
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
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
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
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
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
Sebastian Kügler
0fbe46415c comment improvements 2013-04-18 17:29:57 +02:00
Sebastian Kügler
74febc2219 test locale bindings 2013-04-12 02:06:42 +02:00
Sebastian Kügler
e01912d071 Improve plasma-shell app metadata 2013-04-10 02:25:32 +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
4c21d54980 add objectnames for easier debugging 2013-04-09 00:09:07 +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
12b5b7639d remove DataEngine::query() 2013-04-04 17:34:27 +02:00
Sebastian Kügler
010f471bc7 Restore API: ToolTip.visualParent becomes target 2013-04-04 05:11:31 +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
Sebastian Kügler
7e6d750f2a Window size synching with tooltip content 2013-04-04 01:46:02 +02:00
Sebastian Kügler
25a031efbe Add testing code for tooltips in testcomponentsapplet 2013-04-03 02:25:59 +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
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
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
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
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
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
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
Sebastian Kügler
1db566ee2b Add widget explorer qml file -- pretty bare. 2013-03-21 01:03:44 +01:00
Sebastian Kügler
94d14ac5da Widgetexplorer - wiring up
- add explorer subdirectory to shellpackge, add widgetexplorer filedefinition
- hook up containment added with a connection to showing the widget
  explorer
- memory management for widget explorer: create on demand, delete after
  close: Maybe we want to cache it? For now, go for reduced memory
  consumption rather than quick opening, and see how slow this might
  react.
- add QQuickView for widget explorer in desktopcorona

With this patch, I can open a widget explorer window from the QML
containment. Of course, the widget explorer is just a pink window right
now.
2013-03-21 01:03:44 +01:00
Sebastian Kügler
bbb1f590b3 different icon in testapplet 2013-03-21 01:03:44 +01:00
Marco Martin
a1eda09446 sync the panel controller size with screen 2013-03-20 20:24:10 +01:00
Sebastian Kügler
195f76c85a clean up includes 2013-03-20 01:27:33 +01:00
Sebastian Kügler
395bb412eb Fix a few errors in the testplasmoids 2013-03-20 01:19:46 +01:00
Marco Martin
5e3723cd7c a very simple panel controller
dummy, but setting the offset already works
2013-03-19 22:07:27 +01:00
Sebastian Kügler
55c3eeacea radio buttons to choose backound 2013-03-19 05:08:39 +01:00
Sebastian Kügler
601f61ec39 layout improvements 2013-03-19 03:35:24 +01:00
Sebastian Kügler
80848e750b Colorshower as first page 2013-03-19 03:35:01 +01:00
Sebastian Kügler
fbf4ada101 remove hardcoded size 2013-03-19 00:29:37 +01:00
Sebastian Kügler
68987f0fa5 Default size 1024x768
Makes the initial size of the shell a bit bigger so we can test multiple applets
2013-03-18 21:43:13 +01:00
Script Kiddy
de7289fe14 SVN_SILENT made messages (.desktop file) 2013-03-16 09:39:01 +01:00
Sebastian Kügler
6b3a49df98 Fix typos 2013-03-16 01:01:54 +01:00
Sebastian Kügler
b9942926ed Fix reference error 2013-03-15 00:45:12 +01:00
Script Kiddy
e331e06425 SVN_SILENT made messages (.desktop file) 2013-03-14 09:57:34 +01:00
Marco Martin
fbb766acd7 use only uniform vec2 2013-03-13 21:50:13 +01:00
Marco Martin
5494d40134 use a vec2 instead of two reals 2013-03-13 20:28:02 +01:00
Marco Martin
df1b259802 convert from 1 to 1.0
integers are not allowed there
2013-03-13 20:17:28 +01:00
Marco Martin
086d3e1e8f try an actual wobblywindows effect
it still has some serious problems:
-animation not smooth
-the deformation is linear, the applet appears broken
-unfortunately the ShaderEffect must be a lot bigger thanthe thing it deforms because it looks clipped now
2013-03-13 17:47:55 +01:00
Marco Martin
46b83aaced adapt to api change 2013-03-13 14:00:51 +01:00
Marco Martin
c8efa02fed use the package name instead of app name
plasma2 will have only one executable for different shells
(also, appears to fix a weird crash)
2013-03-13 13:56:53 +01:00
Marco Martin
8a8a9554e9 execute the update scripts, if any 2013-03-13 13:30:37 +01:00
Marco Martin
0223f929dd listen to print and printError 2013-03-13 13:18:49 +01:00
Marco Martin
1a6e9cd85d remove defaultLayoutScripts
this path is now taken from the corona package
2013-03-13 13:18:49 +01:00
Marco Martin
620478614a remove unused QGraphics* includes 2013-03-13 11:45:34 +01:00
Sebastian Kügler
a3b39a8321 All imports are now 2.0
This patch changes the version numbers of the plugins to 2.0. This
includes the previously 0.1 plasmacomponents, extras and
qtextracomponents. DragandDrop, which was at 1.0 is now also at 2.0.

Also, all the QML code has been changed to import the 2.0 plugins.

As a side-effect, we now share a version number with QtQuick 2.0 now.
2013-03-13 02:34:53 +01:00
Sebastian Kügler
4cfc6863af change all 0.1 imports to 2.0 in qml files 2013-03-13 01:56:19 +01:00
Script Kiddy
edb2603012 SVN_SILENT made messages (.desktop file) 2013-03-12 17:26:19 +01:00
Marco Martin
fd97160327 remove the singleton usage from everywhere 2013-03-12 16:29:04 +01:00
Marco Martin
83baa3691e theme.defaultFont.mSize api changed
QML2 has QFont directly binded, but doesn't have mSize, so move it to Theme
theme.defaultFont.mSize to theme.mSize(theme.defaultFont)
2013-03-11 17:06:05 +01:00
Script Kiddy
68a2d5a229 SVN_SILENT made messages (.desktop file) 2013-03-11 08:40:05 +01:00
Sebastian Kügler
958fb30760 a few touch-ups 2013-03-11 03:23:40 +01:00
Sebastian Kügler
bd452c7b92 New page in testshaderdemo showing Shadow effects 2013-03-11 03:12:06 +01:00
Sebastian Kügler
905080a416 Pages with various effects for the Demo applet
This demo shows very simple and slightly more complex shaders used with
Plasma Components.
2013-03-11 02:10:39 +01:00