Commit Graph

905 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
af2752eb1c * make the error presentation look nicer. hopefully now frerich won't feel so compelled to pop up a dialog box.
* 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

CCMAIL:raabe@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732526
2007-11-04 05:31:18 +00:00
Aaron J. Seigo
c8e196295f * allow setting of the theme name (easier runtime configurability)
* if the requested theme does not exist, don't accept it
* if the requested svg can't be found in the current theme, try to find it in the default theme

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732507
2007-11-04 03:04:55 +00:00
Aaron J. Seigo
a5b02c9e66 fix default geometry setting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732500
2007-11-04 01:37:56 +00:00
Aaron J. Seigo
cb956351ed don't paint anything from the base "null" containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732493
2007-11-04 01:17:42 +00:00
Bertjan Broeksema
3b744c6a23 - Added a test for both Package::filePath() methods.
- Changed Package::filePath(type, filename)
  It always prepends the basePath now and only appends the filename if 
  filename != QString(). What i did understand from the api docs this is
  the intended behaviour.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732292
2007-11-03 12:22:21 +00:00
Aaron J. Seigo
b041f44c12 yeah, actually get the layout right. man layouts suck.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732195
2007-11-03 02:52:45 +00:00
Bertjan Broeksema
c9ff90ec0e - Started woprking on package tests for a PlasmoidPackage.
- Fixed behavior of Package::isValid()

Reviewed by aseigo.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732191
2007-11-03 01:50:57 +00:00
Aaron J. Seigo
709136813b ensure even the "null" containment gets a layout
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732190
2007-11-03 01:36:53 +00:00
Bertjan Broeksema
666bfa93bd Added more tests for the PacakageMetadata.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732162
2007-11-02 23:48:12 +00:00
Bertjan Broeksema
10802b7bd0 Added tests for PackageMetaData.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732142
2007-11-02 22:17:29 +00:00
Riccardo Iaconelli
b64dc645a9 I didn't figure out how to easily focus the lineedit, so just adding a TODO for now.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732036
2007-11-02 15:31:34 +00:00
Riccardo Iaconelli
e6c37b408e Use 'plasma' as icon.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732035
2007-11-02 15:31:31 +00:00
Riccardo Iaconelli
44f60908b9 SVN_SILENT
Changing email address from ruphy@fsfe.org to riccardo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732026
2007-11-02 15:30:53 +00:00
Aaron J. Seigo
0a6f2af7f3 * move SearchAction and SearchContext to their own files
* term -> searchTerm
* add a completion object to SearchContext

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731848
2007-11-02 02:34:46 +00:00
Aaron J. Seigo
045ca46537 i suppose we do want the bottom most left screen ....
is it possible to have a 2x2 grid where screen at (0,0) has an x() > 0?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731847
2007-11-02 02:31:58 +00:00
Aaron J. Seigo
f330f504d7 try to figure out what the top left screen is for the default panel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731846
2007-11-02 02:21:13 +00:00
Rolf Eike Beer
5027216cd0 compile++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731636
2007-11-01 09:47:28 +00:00
Dirk Mueller
1a85b92002 header cleanness++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731620
2007-11-01 08:22:28 +00:00