3075 Commits

Author SHA1 Message Date
杨万青
6007a05cea Merge branch 'dde-dock' of gitcafe.com:Hualet/dde-workspace-2015 into dde-dock
Conflicts:
	dde-dock/src/Widgets/appicon.cpp
2015-08-04 19:37:25 +08:00
杨万青
fb682fe5f9 Changes:
1,Add flashing point on fashion mode
    2,Update m_appLayout's reflection position and size
    3,Change AppItemHeight to 70 on fashion mode to show flashing point
    4,Update dock background image
2015-08-04 19:24:04 +08:00
Hualet Wang
bc49f9d9b9 systray: one widget to contain all trayicons
it fixes all the errors caused by reparenting the trayicons
2015-08-04 19:22:28 +08:00
Hualet Wang
b530900945 change json file change to a more decent one 2015-08-04 16:39:16 +08:00
Hualet Wang
e5959c5554 roll back to use gtk to find icons
1, QIcon doesn't do much work trying to follow the freedesktop standard
closely. It can't do some fallbacks for us, but gtk does.
2, QIcon uses a global theme name which makes it hard to hard code
one theme name in one place(dock plugins) but dynamically change the
theme name in another(dock).
2015-08-04 14:27:51 +08:00
杨万青
4ac55a6c05 Record items sort 2015-08-03 20:23:45 +08:00
杨万青
2298d9a3f5 Fix reflection position error on fashion mode initialization 2015-08-03 16:19:07 +08:00
Hualet Wang
ea069679ce update of AppIcon setIcon method
take care of the case that the iconPath is an absolute path of
an image or the case that the iconPath is a string representing
an inline image.
2015-08-03 15:37:57 +08:00
Hualet Wang
648ef8d96b bugfix: read the wrong gsettings key 2015-08-03 15:19:32 +08:00
杨万青
5394728085 Fix panel show and hide position error on fashion mode 2015-08-03 14:58:13 +08:00
Hualet Wang
c6af2ad6d8 change the way we look for application icons
use QIcon to load application icons instead of the traditional gtk
way, the theme name is pre-read from gsettings.
2015-08-03 14:25:11 +08:00
杨万青
7549009fb8 Fix hidemode error 2015-08-03 12:59:05 +08:00
杨万青
d3f19abf57 Update plugins title style 2015-08-03 09:54:13 +08:00
杨万青
fe4431deda Merge branch 'dde-dock' of gitcafe.com:Hualet/dde-workspace-2015 into dde-dock 2015-08-01 17:16:21 +08:00
杨万青
ae601c9229 Changes:
1,Clear up ArrowRectangle
    2,Add PreviewArrowRectangle
    3,Add preview animation
2015-08-01 17:11:04 +08:00
杨万青
2e509fe38e Add drop item rotation and scale animation 2015-07-30 20:03:35 +08:00
杨万青
b249b45420 Fix launcher can't show 2015-07-30 13:31:21 +08:00
杨万青
f6ac035592 Export dde-dock(UI) dbus 2015-07-30 11:39:15 +08:00
杨万青
20d55e523b Fix ClassicMode no title on initialization 2015-07-30 10:38:22 +08:00
杨万青
46ccd30bb9 Changes:
Update preview close button position
    Change ArrowRectangle flags to SplashScreen to fix event penetration
2015-07-30 10:25:06 +08:00
杨万青
3b16cb3ae9 Merge branch 'dde-dock' of gitcafe.com:Hualet/dde-workspace-2015 into dde-dock 2015-07-29 20:31:13 +08:00
杨万青
c8d6eed2ea Changes:
Fixed drag iamge size to normal
    Restore layout item and hide screen mask when item is dragged to an invalid location
2015-07-29 20:27:00 +08:00
Hualet Wang
a86c8d06e9 another way to impletement window preview
1, get the image data from a cairo_image_surface which is create
   from the source cairo_xlib_surface.
2, create the QImage we need from the image data and draw it using
   the toolkit provided by Qt.
2015-07-29 19:39:30 +08:00
杨万青
67b3da8515 Move animation to AppItem 2015-07-29 15:41:03 +08:00
杨万青
c3a9acd7aa Raise AppIcon at the top of AppItem 2015-07-28 19:53:34 +08:00
杨万青
da8334e9b4 Fix screenmask show at initialization 2015-07-27 15:00:06 +08:00
杨万青
cb31ec2f02 Fix screenmask show incorrect 2015-07-27 11:24:55 +08:00
杨万青
97d31883d4 Add Trash plugin 2015-07-24 17:25:33 +08:00
杨万青
a7654cbd0f Fix the bug cause by highlight effect 2015-07-23 20:31:10 +08:00
杨万青
da7f6fb43f Item add reflection effect 2015-07-23 20:03:29 +08:00
杨万青
879aa67eb3 Item add highlight effect finished 2015-07-23 13:25:55 +08:00
Hualet Wang
736ea569df dock: change the rendering mechanism of HighlightEffect 2015-07-22 21:50:06 +08:00
杨万青
ea0e018bd6 Add item highlight effect (unfinished) 2015-07-22 20:13:46 +08:00
杨万青
c7cf1b4a07 Merge branch 'dde-dock' of gitcafe.com:Hualet/dde-workspace-2015 into dde-dock
Conflicts:
	dde-dock/dde-dock.pro
2015-07-22 16:58:13 +08:00
杨万青
59c4199434 Add Launcher item 2015-07-22 16:55:21 +08:00
杨万青
65d7df422f Change fashion-mode background-color to border-image 2015-07-22 13:11:35 +08:00
Hualet Wang
9c64fa78ef add HighlightEffect and ReflectionEffect 2015-07-21 20:23:22 +08:00
杨万青
b49362f4b5 Fix dock position error on init and dock-mode changed 2015-07-21 19:33:08 +08:00
Hualet Wang
cb1a3d06a1 use QMap to store items managed by dockproxy
1, m_items to QMap
2, prevent item creation from happening when there's already one
   with the same uuid exits
2015-07-20 19:58:57 +08:00
杨万青
e50feee224 ArrowRectangle add enterEvent and leaveEvent to control show and hide 2015-07-20 11:28:06 +08:00
Hualet Wang
61d09fb6c0 dde-dock: API version check 2015-07-20 09:52:49 +08:00
杨万青
dea0ca42ca Fix preview does not show correctly when resizePreview 2015-07-20 09:21:38 +08:00
杨万青
0f07e83b4f Merge branch 'dde-dock' of gitcafe.com:Hualet/dde-workspace-2015 into dde-dock 2015-07-17 20:23:00 +08:00
杨万青
667e16afb3 Add appletSizeChangedEvent for plugin update preview size 2015-07-17 20:21:33 +08:00
Hualet Wang
53afe99a3c load and unload plugin at anytime 2015-07-17 20:19:55 +08:00
Hualet Wang
aad6089479 filter out the NULL items 2015-07-17 14:20:33 +08:00
Hualet Wang
dedca4034a set window type to _NET_WM_WINDOW_TYPE_DOCK 2015-07-16 19:51:42 +08:00
Hualet Wang
d2feb8c227 bugfix: strut partial is set a strange value 2015-07-16 19:44:04 +08:00
Hualet Wang
5c36c09b54 set wm strut partial 2015-07-16 15:52:14 +08:00
Hualet Wang
089c944ac6 systray plugin adapte to the new interface 2015-07-16 11:33:53 +08:00