Commit Graph

10272 Commits

Author SHA1 Message Date
Aaron Seigo
f297f1fee6 if the *target* is 2x the size of the popup, then left align 2012-11-19 15:19:09 +01:00
Aaron Seigo
a265864a30 note properties that are constant 2012-11-19 13:31:14 +01:00
Marco Martin
3a307ee465 if popup is more than double icon, center align
in vertical panels, align center when the popup height is > than double the icon height
otherwise, center when is more then icon width
2012-11-19 10:57:54 +01:00
Chusslove Illich (Часлав Илић)
d60e4e5a4a ki18n framework split out of kdecore. 2012-11-18 20:26:13 +01:00
Marco Martin
2cda92af4c correct the margins
react to scrollbars being visible or invisible
correct margins of the borders
2012-11-16 17:22:38 +01:00
Marco Martin
b5eacc597d dialogshadows belongs to tooltipmanager
tooltips are created/destroyed too often, this saves same deletions and recreations
2012-11-16 16:08:46 +01:00
Marco Martin
fef6c3b7f5 less debug, element prefix in ctor 2012-11-16 16:08:46 +01:00
Marco Martin
110561fae7 send smaller pixmaps for disabled borders 2012-11-16 16:08:46 +01:00
Marco Martin
8683a0c52c use kwin for dialog shadows if possible
if the dialog svg has a separate element for shadows, use those and tell kwin to draw them
same method already used for panels
2012-11-16 16:08:45 +01:00
Aaron Seigo
4d6f91067a apidox for new methods 2012-11-14 11:36:01 +01:00
Aaron Seigo
b75080eb57 remove ContainmentActions::event, replace with triggering methods 2012-11-14 11:36:01 +01:00
Aaron Seigo
471e1b82f5 remove unused 2012-11-14 11:36:01 +01:00
Allen Winter
78848d5d50 initialize m_left, m_top, m_right and m_bottom to make valgrind happy. 2012-11-12 19:01:55 -05:00
Sebastian Kügler
74b0e0bd98 debug-- 2012-11-12 01:44:51 +01:00
Lamarque V. Souza
f711c9378d Make Keys.* event handlers work in PlasmaComponents.TextField. 2012-11-10 14:47:07 -02:00
Aaron Seigo
6662b81c58 get rid of ContainmentActions::isInitialized() 2012-11-09 18:55:23 +01:00
Aaron Seigo
95cca61920 without script support, no point 2012-11-09 18:55:23 +01:00
Aaron Seigo
a81c44d376 properties++ 2012-11-09 18:55:23 +01:00
Aaron Seigo
84b3eaf0c1 just collecting all the dead code into a pile to burn 2012-11-09 18:55:23 +01:00
Aaron Seigo
05479087de remove some now-dead code 2012-11-09 18:55:23 +01:00
Aaron Seigo
cf2858a893 no more popup position; this is handled by the GSS 2012-11-09 18:55:23 +01:00
Aaron Seigo
7d0de68cd4 method begone 2012-11-09 18:55:23 +01:00
Marco Martin
211adcff1d remove sizeHintChanged() 2012-11-09 16:48:15 +01:00
Marco Martin
b8ebd78cbc remove geometry functions from Applet
size, size hints, transform and zValue
2012-11-09 16:45:03 +01:00
Marco Martin
b828bcb578 remove acceptDrops/setAcceptDrops() 2012-11-09 16:12:05 +01:00
Marco Martin
68de44f1dd remove containment's geometry function
also remove from the config restore
2012-11-09 16:12:05 +01:00
Aaron Seigo
a265ad7dbb remove paste
this will need to be provided via a drop action from the graphical system
containment implementation
2012-11-09 15:59:52 +01:00
Aaron Seigo
567d72edc1 another todo 2012-11-09 15:59:52 +01:00
Aaron Seigo
63f7fe555a slightly cleaner 2012-11-09 15:59:02 +01:00
Marco Martin
1021ecf18f get rid of appletAt()
still two uses commented out in conteinmentactions
2012-11-09 15:46:12 +01:00
Marco Martin
798fc9271b remove AppletPrivate::selectItemToDestroy() 2012-11-09 15:20:42 +01:00
Marco Martin
3d3a99aa0d remove Applet::screenRect()
was used only in a couple of scriptengines (webkit engine and accessible
applet)
2012-11-09 15:09:35 +01:00
Marco Martin
d2f9694281 add TODO documentation
there are still 4 places of commented away code in Applet, AppletPrivate
and ContainmentPrivate that should be ported away from QGV
2012-11-09 14:36:43 +01:00
Marco Martin
39f4c562db don't link to qtscript and webkit 2012-11-09 14:29:59 +01:00
Aaron Seigo
560e9fd23d a note for future research on packages 2012-11-09 14:07:34 +01:00
Aaron Seigo
8b72b0b3ef provide a containment package specialization
this will allow containments to have a different qml file
2012-11-09 14:07:34 +01:00
Aaron Seigo
75e9a7dcd5 remove dup'd friend declaration 2012-11-09 14:07:34 +01:00
Aaron Seigo
ab243a9279 DONE! burn m.f. burn! 2012-11-09 14:07:33 +01:00
Aaron Seigo
c1bbb000ba keep our todo's straight here 2012-11-09 14:07:33 +01:00
Marco Martin
81d2a33a0f remove classes that weren't built anymore
PopupApplet
Dialog
ToolTip
ToolTipManager
ToolTipContent
2012-11-09 14:00:01 +01:00
Aleix Pol
bb2688392a Reduce many connect() warnings when loading Declarative plasmoids.
Right now, every QML plasmoid can provide a number of properties
(6, actually) to specify some size hints (maximum, minimum and
preferred).
If you don't provide those properties you get many warnings because
of the missing changed connections. This patch removes such warnings
by making sure the property is present before connecting and querying
the property at all.

REVIEW: 107261
2012-11-09 13:42:01 +01:00
Marco Martin
4e08835046 build fix 2012-11-09 00:20:31 +01:00
Marco Martin
8e89ac742c Merge branch 'mart/qgvremoval2' into frameworks 2012-11-09 00:05:05 +01:00
Marco Martin
cc21968980 abstractanimation is gone 2012-11-08 18:35:33 +01:00
Marco Martin
b270378122 add missing corona_p 2012-11-08 18:35:22 +01:00
Marco Martin
7d7698360c port from qgraphics events 2012-11-08 18:35:12 +01:00
Marco Martin
50cf107730 remove qgraphics include 2012-11-08 18:35:03 +01:00
Marco Martin
1784a08a85 port containmentactions away from graphicsmouseevents 2012-11-08 18:34:41 +01:00
Marco Martin
866f097df6 remove some qgraphics includes 2012-11-08 18:34:29 +01:00
Marco Martin
5323882c89 migrate some other events from qgraphicsevents 2012-11-08 18:34:17 +01:00