Commit Graph

32 Commits

Author SHA1 Message Date
Kevin Ottens
6a3240b051 libplasma becomes our first lib with profiles support.
svn path=/trunk/KDE/kdelibs/; revision=1120434
2010-04-29 05:57:34 +00:00
Marco Martin
2f8e70b7ab make the webview widget use scrollwidget for flicking
still some issues to fix, but most of the behaviour is ported.
patch based on zack's work
CCMAIL:zack@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1108058
2010-03-27 17:44:16 +00:00
Marco Martin
76d131a501 experiment two behavioural changes:
- don't flick when the contents are smaller than the view (or flick only for the axis where the contents are bigger)
- still pass mouse moves to childrens so they can initiate drags (useful? annoying? still to be found, but necessary for netbook sal to work at the moment)

svn path=/trunk/KDE/kdelibs/; revision=1105167
2010-03-19 12:09:08 +00:00
Marco Martin
6842d43101 reverting last commit, was plain useless
svn path=/trunk/KDE/kdelibs/; revision=1100845
2010-03-08 20:42:06 +00:00
Marco Martin
2116cf8681 delaying setView seems to save some crashes
svn path=/trunk/KDE/kdelibs/; revision=1100837
2010-03-08 20:16:41 +00:00
David Faure
dcf17f34c7 Fix widgets/webview.cpp:270: error: control reaches end of non-void function
svn path=/trunk/KDE/kdelibs/; revision=1092367
2010-02-18 19:54:47 +00:00
Davide Bettio
d982f20609 Plasma::WebView has been ported to KGraphicsWebView. http://reviewboard.kde.org/r/2990/
svn path=/trunk/KDE/kdelibs/; revision=1091982
2010-02-17 23:59:14 +00:00
Davide Bettio
12300374db Plasma::WebView has KDE integration since now (using KWebKit)
svn path=/trunk/KDE/kdelibs/; revision=1090803
2010-02-16 02:41:14 +00:00
Aaron J. Seigo
8b550a13ad set the view on the page; this is a but in QtWebkit, but at least this prevents crashing for now
svn path=/trunk/KDE/kdelibs/; revision=1090788
2010-02-16 01:07:25 +00:00
Marco Martin
1aa1d4b2f0 return a geometry that makes sense or will have layouts problems forever
(actually just always return QGraphicsWidget::geometry() would make even more sense)

svn path=/trunk/KDE/kdelibs/; revision=1087924
2010-02-09 20:07:38 +00:00
Marco Martin
2bfcef80ab expose the zoomFactor property.
accept touch events

svn path=/trunk/KDE/kdelibs/; revision=1050596
2009-11-17 17:57:54 +00:00
Marco Martin
f58a5a844b update the geometry on load finish
svn path=/trunk/KDE/kdelibs/; revision=1044727
2009-11-04 14:48:23 +00:00
Marco Martin
54f38beec6 return the page size as size hint
svn path=/trunk/KDE/kdelibs/; revision=1044708
2009-11-04 14:16:14 +00:00
Marco Martin
b2bb69732a provide the Animator::registerScrollingManager(qgraphicsidget) function.
the animator creates a kineticscroll and associates it with the widget.
in this way we can use kineticscroll outside of libplasma with a single
call.

svn path=/trunk/KDE/kdelibs/; revision=1037751
2009-10-19 22:10:25 +00:00
Marco Martin
451cf321a2 forgotten to commit before: migrate to the new api
svn path=/trunk/KDE/kdelibs/; revision=1035760
2009-10-15 20:12:01 +00:00
Marco Martin
38884ccd1a now the api is similar to what webkit offers and horizontal and vertical
scroll is done in pixels and in a single pass.                                          
we have 3 properties in widgets that wants to support scroll:
scrollPosition
viewportGeometry
constentsSize


svn path=/trunk/KDE/kdelibs/; revision=1032821
2009-10-08 16:04:56 +00:00
Adenilson Cavalcanti Da Silva
e749331979 Using the viewport/content size ratio to inform the geometry.
It ensures that at least the page will scroll correctly (i.e. advancing
just 1 page down) in webpages that are too long (e.g. kdeplanet).


svn path=/trunk/KDE/kdelibs/; revision=1032052
2009-10-06 18:31:47 +00:00
Igor Trindade Oliveira
a7ac1feaf2 add support for kinetic scrolling
svn path=/trunk/KDE/kdelibs/; revision=1030944
2009-10-03 15:06:41 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Marco Martin
dcd418a3e8 use kio for access, so we can haz kioslaves, cookies and proxies
svn path=/trunk/KDE/kdelibs/; revision=994537
2009-07-10 17:47:08 +00:00
Aaron J. Seigo
12000ecad1 no more white background, huzzah
svn path=/trunk/KDE/kdelibs/; revision=960564
2009-04-28 16:47:50 +00:00
Aaron J. Seigo
0b5bceb2e9 * implement the READ side of the properties
* remove a compile warning

thanks, Laurent, for noticing the properties missing READs

CCMAIL:montel@kde.org

svn path=/trunk/KDE/kdelibs/; revision=950458
2009-04-07 08:33:51 +00:00
Marco Martin
810a3a293c add setDragToScroll, makes the webview to work like a touchscreen, it
selects the text instead of dragging if the move is less than 250
milliseconds after the mouse press, not really reliable but don't know
how to save both functionalities

svn path=/trunk/KDE/kdelibs/; revision=946794
2009-03-30 11:58:23 +00:00
David Faure
d33e884393 Fix compilation of plasma with enable-final --- yet another X define conflicting with a Qt enum.
svn path=/trunk/KDE/kdelibs/; revision=935354
2009-03-04 21:28:02 +00:00
Aaron J. Seigo
9bd8fe0219 better context menu handling
svn path=/trunk/KDE/kdelibs/; revision=919698
2009-02-01 14:55:00 +00:00
Marco Martin
069dc43c79 forward hover events, so the a:hover properties and such works
accept keyboard focus->forms works :)

svn path=/trunk/KDE/kdelibs/; revision=886923
2008-11-20 15:38:51 +00:00
Aaron J. Seigo
2fc960f455 disconnect if the page changes but we don't own it
svn path=/trunk/KDE/kdelibs/; revision=884087
2008-11-14 08:04:23 +00:00
Aaron J. Seigo
6b1a604743 use kurls
svn path=/trunk/KDE/kdelibs/; revision=880625
2008-11-05 23:39:30 +00:00
Aaron J. Seigo
df73771a1b ++compile
svn path=/trunk/KDE/kdelibs/; revision=879801
2008-11-04 02:55:37 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Kevin Ottens
ef6cefb06c WebContent becomes WebView.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877511
2008-10-29 17:53:30 +00:00