Commit Graph

1197 Commits

Author SHA1 Message Date
Marco Martin
90165f119a move into libplasma
svn path=/trunk/KDE/kdelibs/; revision=1183873
2010-10-08 14:48:03 +00:00
Marco Martin
d1032bc8f5 add default parameter of parent=0
this -should- be BC iirc

svn path=/trunk/KDE/kdelibs/; revision=1183393
2010-10-07 10:18:03 +00:00
Zack Rusin
9d89e5519a Fix transformation artifacts.
The widget does have contents (even if it's inherited) which
was confusing graphicsview and causing wonky artifacts on 
transformations of all widgets that were inside Plasma::ScrollWidget.

svn path=/trunk/KDE/kdelibs/; revision=1179203
2010-09-24 20:36:00 +00:00
Giulio Camuffo
72b4a73b5d make the tabbar resize vertically when there are no tabs too
svn path=/trunk/KDE/kdelibs/; revision=1179179
2010-09-24 18:42:00 +00:00
Marco Martin
cdc70740bd set the border size to 0
if it will work well enough with existing applications, the border calculation will be just removed

svn path=/trunk/KDE/kdelibs/; revision=1179099
2010-09-24 14:34:40 +00:00
Marco Martin
01838f46b8 signalplotter methods are invokable
svn path=/trunk/KDE/kdelibs/; revision=1178797
2010-09-23 22:03:21 +00:00
Aaron J. Seigo
521bc968fd clean ups, share the FrameSvg object
svn path=/trunk/KDE/kdelibs/; revision=1178368
2010-09-22 20:47:35 +00:00
Aaron J. Seigo
938880140b share the FrameSvg with the focus indicator
svn path=/trunk/KDE/kdelibs/; revision=1178172
2010-09-22 09:03:41 +00:00
Aaron J. Seigo
dc9d3f5e50 * share the FrameSvg with the FocusIndicator
* get the name of the prefixes right

svn path=/trunk/KDE/kdelibs/; revision=1178170
2010-09-22 09:02:09 +00:00
Marco Martin
8e5a2533b5 save the state of tabBarShown: prevents tabbar to reappear when it shouldn't
svn path=/trunk/KDE/kdelibs/; revision=1177838
2010-09-21 12:19:43 +00:00
Marco Martin
7d00f6c756 fix takeTab behaviour
svn path=/trunk/KDE/kdelibs/; revision=1177582
2010-09-20 16:27:05 +00:00
Aaron J. Seigo
9300be394e setting it directly works as well, and doesn't require dipping into QCoreApplication's API
svn path=/trunk/KDE/kdelibs/; revision=1175312
2010-09-14 17:41:10 +00:00
Aaron J. Seigo
1fc68e3ef9 IMPROVEMENT: add a clicked() slot (which just backends on to animateClick()), and make setChecked a slot like it is in the native widget
svn path=/trunk/KDE/kdelibs/; revision=1175311
2010-09-14 17:34:31 +00:00
Aaron J. Seigo
e4c6d2e92b work around a bug in QGraphicsProxyWidget where, for whatever reason, the line edit isn't getting a focusInEvent when the QGraphicsProxyWidget does. normally i don't like working around bugs like this, but QGraphicsView seems to be bitrotting.
CCMAIL:menard@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1175309
2010-09-14 17:33:26 +00:00
Aaron J. Seigo
a74c0a9706 syncToAction declaration
svn path=/trunk/KDE/kdelibs/; revision=1173939
2010-09-10 22:31:58 +00:00
Aaron J. Seigo
6f0631d700 taking an item also requires re-setting the parent
BUG:250420

svn path=/trunk/KDE/kdelibs/; revision=1173601
2010-09-09 20:12:03 +00:00
Andreas Hartmetz
baa2c64f61 Only call into the larger framework when we're fully initialized; the framework called back into ItemBackground when member variables were not initialized, causing valgrind warnings.
svn path=/trunk/KDE/kdelibs/; revision=1171385
2010-09-03 16:39:37 +00:00
Aaron J. Seigo
6aa1aab52b make the checks consistent with the rest of the methods: check the count of d->pages, not the tabwidget proxy; use value() instead of [] as it is protected against OOB indexes
BUG:248976

svn path=/trunk/KDE/kdelibs/; revision=1168059
2010-08-26 01:22:45 +00:00
Aaron J. Seigo
cc942a894c IMPROVEMENT: automatically repaint when the svg changes beneath it
svn path=/trunk/KDE/kdelibs/; revision=1167531
2010-08-24 20:40:43 +00:00
Marco Martin
d05a127b4a connect to the signal not to a slot
svn path=/trunk/KDE/kdelibs/; revision=1166078
2010-08-20 19:01:59 +00:00
Marco Martin
44d2c0b531 forward urlchaged signal
back forward reload slots
to make it more usable from javascript and to have the api simiar to qgraphicswebview

svn path=/trunk/KDE/kdelibs/; revision=1166067
2010-08-20 18:19:11 +00:00
Vitor Boschi da Silva
f2a2d34a48 fixes the reorderPlots apidox
svn path=/trunk/KDE/kdelibs/; revision=1165477
2010-08-19 13:08:49 +00:00
Marco Martin
0d6a38b954 add Qt::TextShowMnemonic when painting text
svn path=/trunk/KDE/kdelibs/; revision=1164885
2010-08-17 21:04:52 +00:00
Marco Martin
bc6d40852b animate hide of the focus indicator when a button is pressed
svn path=/trunk/KDE/kdelibs/; revision=1164481
2010-08-16 21:16:53 +00:00
Aaron J. Seigo
d6b2d44ae1 pass through mouse events if nobody is connected to us
svn path=/trunk/KDE/kdelibs/; revision=1161817
2010-08-10 21:44:55 +00:00
Aaron J. Seigo
fa1350c34c implement the setter
svn path=/trunk/KDE/kdelibs/; revision=1161802
2010-08-10 21:07:28 +00:00
Aaron J. Seigo
84233ee261 add missing API that is asked for often enough
svn path=/trunk/KDE/kdelibs/; revision=1161784
2010-08-10 19:59:34 +00:00
Marco Martin
b968f22439 neither the scrollwidget nor its scrollingwidget child paints by themselves
svn path=/trunk/KDE/kdelibs/; revision=1158783
2010-08-03 18:43:07 +00:00
Aaron J. Seigo
87a29d9efc createStandardContextMenu can return null; guard against that
BUG:246018

svn path=/trunk/KDE/kdelibs/; revision=1156698
2010-07-29 14:49:06 +00:00
Aurélien Gâteau
beca8835e1 Set page step of scrollbars
This way the size of the scrollbar slider represents the visible portion of
the scrolled widget.

svn path=/trunk/KDE/kdelibs/; revision=1151665
2010-07-19 09:59:59 +00:00
Aaron J. Seigo
78119ec9f4 SVN_SILENT: tidy
svn path=/trunk/KDE/kdelibs/; revision=1150752
2010-07-16 17:04:45 +00:00
Jacopo De Simoi
7879ff137c Do not paint twice most Plasma::Label out there!
svn path=/trunk/KDE/kdelibs/; revision=1150751
2010-07-16 17:04:37 +00:00
Marco Martin
ab688e2471 try to disable ItemSendsGeometryChanges, if won't cause problems, it could be put in several places in plasma
svn path=/trunk/KDE/kdelibs/; revision=1150355
2010-07-15 19:11:29 +00:00
Marco Martin
1d1e382b19 no more window icons
svn path=/trunk/KDE/kdelibs/; revision=1149634
2010-07-13 21:49:01 +00:00
Marco Martin
748d85362c set null icons on the widgets after been put in a proxy.
would hopefully cause a bit less pixmap usage

svn path=/trunk/KDE/kdelibs/; revision=1149631
2010-07-13 21:32:07 +00:00
Giulio Camuffo
8002b2415b add support for adding two qgw on the sides of the tabbar
svn path=/trunk/KDE/kdelibs/; revision=1148951
2010-07-12 08:29:49 +00:00
Giulio Camuffo
93a955c984 do the proper animation when deleting the current tab
svn path=/trunk/KDE/kdelibs/; revision=1147189
2010-07-07 15:17:48 +00:00
Davide Bettio
3cf1e32282 Fixes the year toolbutton hover bug in Plasma::Calendar.
svn path=/trunk/KDE/kdelibs/; revision=1147175
2010-07-07 14:24:38 +00:00
Marco Martin
506a22400c connect to repaintneeded, tat will be emitted when the proper margins have been recalculated
svn path=/trunk/KDE/kdelibs/; revision=1142402
2010-06-24 20:52:14 +00:00
Marco Martin
bc38bec0c7 ensure the main widget is visible after its resize
CCBUG:226429

svn path=/trunk/KDE/kdelibs/; revision=1140801
2010-06-21 14:56:37 +00:00
Marco Martin
79e61661e7 stop animations when the inner widget spontaneously resize
it should fix 226429 and a very similar issue in the netbook, please test :)
CCBUG:226429

svn path=/trunk/KDE/kdelibs/; revision=1140731
2010-06-21 12:20:48 +00:00
Marco Martin
1f1d59fa4d ensure to never filter pout events from our scrollbaars
svn path=/trunk/KDE/kdelibs/; revision=1138783
2010-06-16 18:47:00 +00:00
Marco Martin
b8342b9412 fix the animation
svn path=/trunk/KDE/kdelibs/; revision=1138778
2010-06-16 18:00:38 +00:00
Marco Martin
6e51a2bc2e fix text cutting here too
BUG:241330

svn path=/trunk/KDE/kdelibs/; revision=1136835
2010-06-10 21:42:26 +00:00
Andreas Hartmetz
c7b2aa9134 Compile, and use the usual spacing between operators
svn path=/trunk/KDE/kdelibs/; revision=1136794
2010-06-10 19:05:16 +00:00
Nicolas Lécureuil
c40ea8e691 Fix pushbutton text
BUG: 192988

svn path=/trunk/KDE/kdelibs/; revision=1136786
2010-06-10 18:05:00 +00:00
Marco Martin
a5dc1e58fd correctly resize the svg element
svn path=/trunk/KDE/kdelibs/; revision=1136012
2010-06-08 17:16:01 +00:00
Marco Martin
5b2983c17e animate from the current value, not from 0
BUG:231292

svn path=/trunk/KDE/kdelibs/; revision=1135492
2010-06-07 12:50:06 +00:00
Aaron J. Seigo
89efdef96c bounds checks
BUG:240724

svn path=/trunk/KDE/kdelibs/; revision=1134602
2010-06-04 17:20:57 +00:00
Marco Martin
935e4cb57c don't draw the background if the state is not hover or pressed
BUG:240570

svn path=/trunk/KDE/kdelibs/; revision=1134320
2010-06-03 22:04:55 +00:00