Commit Graph

24 Commits

Author SHA1 Message Date
Allen Winter
a320742114 coding style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870188
2008-10-12 00:18:08 +00:00
Alex Merry
240e0b4309 QIcons are implictly shared. There's no need to pass pointers to them around and leak memory everywhere.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851452
2008-08-23 17:22:26 +00:00
Rafael Fernández López
fa6480a137 Fix the problem that can be reproduced by:
- Scroll the applets view
- Search whatever
That will make the view completely unusable by hiding all titles and comments about applets.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=844943
2008-08-11 01:41:29 +00:00
Aaron J. Seigo
caa6823d98 always use double click, regardless of single/double click activation in this list (necessary due to update in kstyle in kdelibs)
BUG:165135

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825686
2008-06-29 00:06:04 +00:00
Aaron J. Seigo
bc20a02b4a respond when sycoca changes. sorting goes all to hell at this point, but i don't have time right now to figure out why. at least we respond to new entries =)
BUG:152530

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821611
2008-06-17 23:33:27 +00:00
Albert Astals Cid
4068f45cf9 const & in foreach
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801430
2008-04-26 16:19:00 +00:00
Dmitry Suzdalev
a2919ba41f Fix double-clicking behaviour of appletbrowser - don't emit double click event
if clicked on "favicon" or "remove" column

reviewed by aseigo

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785253
2008-03-13 16:10:11 +00:00
Fredrik Höglund
f17c8c6676 - Use the widget style to draw the item background in the delegate.
- Enable alternating row colors in the view instead of drawing a divider line.

Reviewed by Chani.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784857
2008-03-12 17:14:15 +00:00
Rafael Fernández López
2eae59175c Make the applet browser be faster when resizing. Still being slower than normal dialogs, we will have to do more insight into this issue.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776807
2008-02-18 20:55:50 +00:00
Aaron J. Seigo
d604a06e6b this doesn't smooth scroll so much as it scrolls one pixel at a time... smooth scroll would be nice, though. what was the intention here, Rafael?
CCMAIL:ereslibre@kde.org
BUG:157912

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776051
2008-02-17 09:23:19 +00:00
Aaron J. Seigo
ee32d3c996 remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Aaron J. Seigo
12ef6308cb use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +00:00
Alexis Ménard
5326f56dbb setFocus on the textinput by default
Close BUG : 154748

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754471
2007-12-29 21:52:40 +00:00
Chani Armitage
950cc1c149 appletbrowser gets a remove icon and a filter for running applets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746735
2007-12-10 01:18:57 +00:00
Alexander Wiedenbruch
e4765f3dcd Sort the applets alphabetically to make it easier to find the right applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740196
2007-11-22 19:39:16 +00:00
Aaron J. Seigo
3d3beac449 * setting the application in the ctor is really ugly. use an accessor for that.
* upon using the accessor i disocvered they didn't actually do anything except set the member variable; no changes actually took place in the dialogs.

eventually, we should probably consider moving the application name to a central location in libplasma, e.g. a Plasma::setMainComponent(KComponentData&) that initializes itself to the app's mainComponent()... there's too many of these app name things around

also, when the item model updates itself, the view in the dialog doesn't. i've added a hack in AppletBrowser::setApplication to re-set the item model on the view. maybe Ivan you could take a look at that sometime? it's not overly critical as it works for now due to the hack.

CCMAIL:lfranchi@gmail.com
CCMAIL:ivan.cukic+kde@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733614
2007-11-06 21:10:11 +00:00
Rafael Fernández López
e1868db200 smooth scrolling++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729565
2007-10-26 07:58:12 +00:00
Frerich Raabe
a08108b482 - Initialize this variable (it's used conditionally in resizeEvent)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727696
2007-10-21 13:51:49 +00:00
Ivan Čukić
b378ed6c64 Changing the licensing to GNU Library/Lesser GPL
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724416
2007-10-12 08:44:02 +00:00
Ivan Čukić
f4936ae814 License text change...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724403
2007-10-12 08:16:40 +00:00
Ivan Čukić
8f9c48ce04 Dragging now shows plasmoid icons instead of ItemViewDelegate painted items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718817
2007-09-29 19:11:27 +00:00
Aaron J. Seigo
2e1b4dcda3 - name the uninstalled headers _p.h
- correct ordering of headers in many files
- remove some unneeded headers such as iostream

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717932
2007-09-27 18:51:31 +00:00
Ivan Čukić
8a811e46f7 * applet browser's add button works
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717892
2007-09-27 17:50:31 +00:00
Ivan Čukić
49b3e4b13b Import of the Plasma Applet browser into the libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717167
2007-09-26 07:44:06 +00:00