Bug 60749 - [PATCH] Button colors not shown
Summary: [PATCH] Button colors not shown
Status: RESOLVED FIXED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Bernd Wuebben
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-04 16:24 UTC by Malte S. Stretz
Modified: 2003-07-15 02:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch against kdeutils-3.1.2/kcalc/kcalc.cpp (5.86 KB, patch)
2003-07-04 21:18 UTC, Malte S. Stretz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2003-07-04 16:24:32 UTC
Version:           1.3.2 (using KDE 3.1.2)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18

Hmmm... there are quite some old bugs about the colorized buttons but all were for KDE 2 and long CLOSED.

The simple problem I have is that the color settings for the buttons aren't applied; I still have the boring grey buttons. But when the KCalc window is redrawn (esp. when it starts up or is restored), the colors shortly flash up. But only a small "shadow" below the captions of the hex buttons will stay...

Cheers,
Malte
Comment 1 Malte S. Stretz 2003-07-04 21:18:04 UTC
Created attachment 1943 [details]
Patch against kdeutils-3.1.2/kcalc/kcalc.cpp

This actually seems to be a bug in the dotNET style I use -- it just doesn't
show the paletteBackgroundColor as button color.

Anyway, here's a small patch to fix some glitches in KCalc:
 * Use QPushButton->setPaletteBackgroundColor() instead of ->setPalette()
 * Remove an unused string var in QtCalculator::readSettings()
 * Unify the capitalization of config names.
Comment 2 Maksim Orlovich 2003-07-15 02:09:19 UTC
Fixed inside dotNET 2003/07/08 . I managed to not CCMAIL the commit 
message properly :-)