Commit Graph

10318 Commits

Author SHA1 Message Date
Aaron Seigo
db97a9b6cb add missing smallest font support for qml and js widgets 2011-08-17 18:08:00 +02:00
Viranch Mehta
220cae4242 Make QMenuItem a derived class of QAction (to minimize its implementation) 2011-08-17 20:30:53 +05:30
Aaron Seigo
ca320eb0d4 clarity in variable naming 2011-08-17 13:12:45 +02:00
Viranch Mehta
c34d4ea456 Make QMenu fairly usable in QML plasmoids, separate out QMenu and QMenuItem classes 2011-08-17 03:22:25 +05:30
Aaron Seigo
d82144b609 small change that makes a huge visible difference
also removes the unneeded ternary op given the above if()
2011-08-16 16:26:24 +02:00
Aaron Seigo
6df8dc58dc small change that makes a huge visible difference
also removes the unneeded ternary op given the above if()
2011-08-16 16:22:16 +02:00
Aaron Seigo
ee57550909 really don't show when there is no content 2011-08-16 14:57:36 +02:00
Aaron Seigo
78cfff2f3c if there are no widgets, don't create a dialog 2011-08-16 14:57:36 +02:00
Aaron Seigo
7cf7bea6c2 really don't show when there is no content 2011-08-16 14:57:15 +02:00
Aaron Seigo
4999f427dd if there are no widgets, don't create a dialog 2011-08-16 14:57:14 +02:00
Marco Martin
6d7b475468 location property that decides the sliding effect 2011-08-15 19:32:01 +02:00
Mario Bensi
a461ade68c Build fix 2011-08-14 19:02:25 +02:00
Marco Martin
d9b8860784 ensure the frame is resized 2011-08-13 18:46:10 +02:00
Marco Martin
b4c5e52c0f ensure the frame is resized 2011-08-12 16:06:09 +02:00
Marco Martin
33e9192346 Merge branch 'libplasma2' into frameworks
Conflicts:
	plasma/CMakeLists.txt
	plasma/popupapplet.cpp
2011-08-12 11:45:49 +02:00
Aaron Seigo
96edc153a8 don't autodelete the part, thereby avoiding crashes 2011-08-11 01:49:38 +02:00
Aaron Seigo
9fb8a3518a make it possible to save and restore from config files 2011-08-11 01:48:03 +02:00
Aaron Seigo
847bdbedc3 more unused code removed 2011-08-11 01:48:03 +02:00
Aaron Seigo
da77944f67 remove some dead code, simplify 2011-08-11 01:48:02 +02:00
David Faure
1dad38f08c fix build 2011-08-11 01:35:19 +02:00
Mario Bensi
19ee3c1a56 Build fix
Add karchive missing include
2011-08-11 01:28:13 +02:00
Aaron Seigo
f285745318 make extender applets freel resize 2011-08-11 00:15:05 +02:00
David Faure
7e468ca59c Remove unused variable 2011-08-10 16:12:42 +02:00
Mario Bensi
ad67c6ed92 Move KArchive in a library
Move the base class for the view state maintenance to the karchive
library.
2011-08-10 00:42:28 +02:00
Aaron Seigo
858abd8243 allow popups to be freely resized when they aren't the applet 2011-08-08 14:48:57 +02:00
Aaron Seigo
7ad3838c5e allow popups to be freely resized when they aren't the applet 2011-08-08 14:46:41 +02:00
Viranch Mehta
cd6d910a2f Implement ability to add actions in the QMenu and hence create QMenuItem 2011-08-07 05:11:21 +05:30
Aaron Seigo
f0d247f9c6 remove an unused variable 2011-08-07 01:07:15 +02:00
Aaron Seigo
575057e878 don't bother hiding if we're not visible 2011-08-07 01:02:11 +02:00
Montel Laurent
9e314fde8d Pedantic 2011-08-07 00:50:21 +02:00
Aaron Seigo
ef6b65c2b1 simplify 2011-08-07 00:50:20 +02:00
Aaron Seigo
45e428dec5 --deprecatedUsage; 2011-08-07 00:50:20 +02:00
Aaron Seigo
0a64cca51f mark the methods deprecated as they should be 2011-08-07 00:50:20 +02:00
Aaron Seigo
fb128ee26b shush the compiler 2011-08-07 00:50:19 +02:00
Dawit Alemayehu
10dcf8ffc0 Fixed -Wunused-parameter compiler warning.
REVIEW: 101881
2011-08-07 00:50:19 +02:00
David Faure
c21fc57968 Fix @since tag to reflect backport 2011-08-07 00:46:27 +02:00
Marco Martin
15fbd34fae bind tickInterval property 2011-08-06 19:34:12 +02:00
Marco Martin
c21910e833 check the properties are really changed 2011-08-06 19:34:12 +02:00
Nicolás Alvarez
8002f8754f Fix typo in plasma apidox. 2011-08-06 19:20:45 +02:00
Script Kiddy
6774eed340 SVN_SILENT made messages (.desktop file) 2011-08-04 10:39:26 +02:00
Aaron Seigo
5484609cd3 consolidate creation code; use the layout; don't hide dialog if already hidden
fixes a few annoyances in the system tray
2011-08-03 16:45:29 +02:00
Aaron Seigo
f5b91c58de consolidate creation code; use the layout; don't hide dialog if already hidden
fixes a few annoyances in the system tray
2011-08-03 16:45:28 +02:00
Aaron Seigo
cc6c04b5ba don't bother hiding if we're not visible 2011-08-03 16:45:28 +02:00
Aaron Seigo
eb87458163 remove an unused variable 2011-08-03 16:45:28 +02:00
Kevin Kofler
3435f9f1e6 Add an API (currently private) for installing missing Plasma engines.
Use it when a requested data or script engine is not found.

REVIEW: 102175
2011-08-03 10:21:39 +02:00
Viranch Mehta
2c6677aaf4 QMenu QML binding (with test 'hello','world' menu entries) 2011-08-02 19:43:48 +05:30
Matthias Fuchs
0b9f5d68d2 Correctly display popups when using multiple screens
If there are multiple screens with different resolutions or which
are not alligned the same way then it could happen that popups at
the edge were drawn (partially) offscreen.
This patch fixes that issue.

REVIEW:102118
BUG:256835
FIXED-IN:4.7.1
(cherry picked from commit c50f180f29a5d46093e0172baf71f6dcf9f23281)
2011-07-31 13:10:00 +02:00
Matthias Fuchs
d2c63bfdcd Use a qobject_cast instead of a dynamic_cast.
(cherry picked from commit f93aa997b1de14f76b6e1c8862992d590b77e776)
2011-07-31 13:09:48 +02:00
Matthias Fuchs
a18379e5d0 Correctly display popups when using multiple screens
If there are multiple screens with different resolutions or which
are not alligned the same way then it could happen that popups at
the edge were drawn (partially) offscreen.
This patch fixes that issue.

REVIEW:102118
BUG:276336
FIXED-IN:4.7.1
2011-07-31 13:04:00 +02:00
Matthias Fuchs
db3b17abf2 Use a qobject_cast instead of a dynamic_cast. 2011-07-31 13:03:49 +02:00