Commit Graph

3423 Commits

Author SHA1 Message Date
Script Kiddy
3f43d45c71 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735257
2007-11-11 08:03:05 +00:00
Aaron J. Seigo
a61562ad95 don't change our state unless the mouse was release inside of the widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735135
2007-11-10 23:58:17 +00:00
Aaron J. Seigo
2089854d5e KRUSH: don't do our own useless sizeHint
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735126
2007-11-10 23:21:26 +00:00
Aaron J. Seigo
131fb643b6 KRUSH:
* endsWith, since it must end with; prevent possible clash with an applet with the name containment ;)
* don't add containments multiple times to the scene; no harm, but it spits out warnings to the konsole

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735125
2007-11-10 23:20:48 +00:00
Aaron J. Seigo
a0592bf1f4 KRUSH:
* get rid of unused d->size var
* don't track the layout ourselves, use the layout() from the LayoutItem
* code clarity cleanups

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735123
2007-11-10 23:19:05 +00:00
Aaron J. Seigo
b0ddc4362d KRUSH: we actually want to set the parent's layout in the Layout ctor, not the BoxLayout. handing out books on OOD seems like a good idea at this point.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735120
2007-11-10 23:16:32 +00:00
Aaron J. Seigo
4bff9b6912 KRUSH: free layout needs a proper sizeHint
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735119
2007-11-10 23:13:42 +00:00
Alexis Ménard
6553519076 fix comment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734976
2007-11-10 16:06:22 +00:00
Alexis Ménard
1294c4e8a4 Add method to set where we want to put the icon.Usefull for applet
Lock/Logout

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734943
2007-11-10 15:16:33 +00:00
Anne-Marie Mahfouf
bb79a14a09 another patch from Terwou: if OpenGl is not installed, fix build (previous patch by myself was incomplete) - Thanks a lot!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734922
2007-11-10 14:00:53 +00:00
Alexis Ménard
ae2d05c3c3 add updadeGeometry for methods that need to update the geometry of the
widget

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734745
2007-11-09 19:28:28 +00:00
Aaron J. Seigo
ac1d1b0cdf replace the rather expensive (but exact and thorough) KUriFilter based analysis of the search term with inexact but fast and good enough to not be annoying
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734739
2007-11-09 19:14:15 +00:00
Bertjan Broeksema
0c17b03543 - Added some tests for Package::knownPackages.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734732
2007-11-09 19:03:50 +00:00
Aaron J. Seigo
bcf898ca7b appletAdded signal
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734727
2007-11-09 18:47:35 +00:00
Script Kiddy
0febb9ad15 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734544
2007-11-09 07:51:58 +00:00
Jeremy Paul Whiting
1370f1153f return after checking each runner for matches, so krunner is much more responsive, also disable much of SearchContext::setSearchTerm because its very slow (with aseigos blessing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734512
2007-11-09 05:01:18 +00:00
Aaron J. Seigo
de2dba69a9 * listen and respond to xrandr changes
* convenience accessor to the corona for containments
* some debug to track down the context menu in the upper left corner problem

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734486
2007-11-09 00:44:35 +00:00
Aaron J. Seigo
cc34fc3365 signal for geometry updates. used right now for xrandr updates, but may also be useful for layouts and such things ...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734485
2007-11-09 00:42:18 +00:00
Aaron J. Seigo
a0d86c9ada SVN_SILENT: hush little compiler, don't say a word... aseigo's going to buy you a mocking bird.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734484
2007-11-09 00:41:07 +00:00
Bertjan Broeksema
a7d2c9d782 - The metadata.desktop file is obligatory now for each package.
- Adjusted tests to reflect the fact that the metadata.desktop file is
  obligatory now.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734451
2007-11-08 22:13:13 +00:00
Bertjan Broeksema
6bba95aa0b - Added a test for the entryList method of Package.
- Added a TODO list to keep track of tests which need work.
  Feel free to add suggestions for tests or enhancements of tests.
  When time permits i'll work on it.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734422
2007-11-08 20:27:43 +00:00
Jon de Andres Frias
65dadf4f3f Add 'or later' to the license for the progressbar widget in plasmalibs.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734236
2007-11-08 09:52:18 +00:00
Script Kiddy
61aefa8ee7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734227
2007-11-08 09:15:10 +00:00
Aaron J. Seigo
25fdb2adf5 drawing the background by default requires us setting that up on applet start for the case of odd applets that don't ever change their size or do any other geometry upsetting things. plasmoidviewer weather was the testcase for this one.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734138
2007-11-08 07:53:56 +00:00
Aaron J. Seigo
faaaf298a7 call the dataUpdated method if a delayed update is requested. fixes clocks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734094
2007-11-08 03:37:57 +00:00
Aaron J. Seigo
834ece1ae6 * only reset the shadow on form factor constraint changes
* auto handle the whole draw standard background thing. it now does the right thing for panels, containments and applets for 99% of the cases

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733970
2007-11-07 19:20:33 +00:00
Anne-Marie Mahfouf
91aec876c1 fix build issue when OpenGL is not present on the user system
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733932
2007-11-07 16:08:11 +00:00
Script Kiddy
63aebf28ea SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733791
2007-11-07 07:58:52 +00:00
Aaron J. Seigo
28bde9f027 only invoke the method manually if the source is pre-existing.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733714
2007-11-07 06:10:57 +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
Script Kiddy
90afba547f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733410
2007-11-06 08:58:17 +00:00
Aaron J. Seigo
45d44dd659 SVN_SILENT ocd kicks in: i hate whitespace anomolies after midnight.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733338
2007-11-06 07:50:00 +00:00
Aaron J. Seigo
b9b99b4fd2 updated -> dataUpdated to make it really clear what's going on. there are too many update* methods, esp in applets where there is update() and updated()... a painful change, but it will only get worse if it happens any later.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733314
2007-11-06 07:20:08 +00:00
Leo Franchi
d83f52e2db add support for fixed-size columns. default behavious remains to average item widths.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733293
2007-11-06 02:46:01 +00:00
Leo Franchi
845139ae0a add support for filtering applets based on specified application. useful for non-plasma targets (e.g. amarok). default behavious remains the same.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733292
2007-11-06 02:45:24 +00:00
Pino Toscano
0f889fd7c8 proper include for public header
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733281
2007-11-06 01:23:15 +00:00
Aaron J. Seigo
99f67622e2 the last of the full screen repaints are gone, gone gone.
TT is aware of the bugs i'm working around, so hopefully we can get rid of this code someday, but for now ... a much more performant and smoother plasma.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733167
2007-11-05 18:40:45 +00:00
Aaron J. Seigo
cda61b4888 we need to accept hover events, even though we do nothing with them
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733132
2007-11-05 16:41:27 +00:00
Script Kiddy
f88bfe32f3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733012
2007-11-05 08:12:32 +00:00
Aaron J. Seigo
4c55dd3d74 SVN_SILENT: a bit of a note here to add to the todo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732882
2007-11-04 23:38:07 +00:00
Aaron J. Seigo
e807014c12 add directory and colors entries for theme packages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732868
2007-11-04 23:07:52 +00:00
Javier Goday
4ed028322c Change in the progressbar widget, only paint the exposed area
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732765
2007-11-04 18:20:56 +00:00
Alexis Ménard
ccdccda3db Just add more frame for a more fluid effect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732756
2007-11-04 17:07:57 +00:00
Script Kiddy
b816970827 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732612
2007-11-04 08:39:39 +00:00
Aaron J. Seigo
cb63cd59a6 use the color scheme. (and boy, is that KStatefulBrush api .. verbose)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732536
2007-11-04 06:58:20 +00:00
Aaron J. Seigo
caa4c70909 color scheme support. now to get someone to make a proper color scheme for the default theme =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732535
2007-11-04 06:57:42 +00:00
Aaron J. Seigo
7da6eebdcb less noisy on startup.. this stuff is working now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732531
2007-11-04 05:38:16 +00:00
Aaron J. Seigo
bba7a3d39c invalidate the managing layout on geometry changes, which is what i expected it to do in the first place. calling setGeometry and then updateGeometry is just damaged
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732530
2007-11-04 05:36:39 +00:00
Aaron J. Seigo
0e7580b89a make this ctor like the rest of the widgets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732529
2007-11-04 05:36:10 +00:00
Aaron J. Seigo
ccd0753a96 * fix heightForWidth
* provide a maximum width setting

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732528
2007-11-04 05:34:10 +00:00