Commit graph

50 commits

Author SHA1 Message Date
Sandro Giessl
4fa56d7fc2 fix mem leak in plastik.
is the leaking QTimer related to the crash? (I'm unable to reproduce it myself)

CCBUG: 201404


svn path=/trunk/KDE/kdebase/workspace/; revision=1009552
2009-08-10 09:24:39 +00:00
Bill Egert
94f7fddf54 As it turns out, drawRoundedRect() doesn't directly correlate to the defunct drawRoundRect().
Reverted.

Sorry Matthew Woehlke and others.

svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=777644
2008-02-21 02:47:17 +00:00
Bill Egert
9ba65b9ddc drawRoundedRect() function was introduced in Qt 4.4.
drawRoundRect() has become obsolete.

svn path=/trunk/KDE/kdebase/workspace/; revision=776195
2008-02-17 16:09:38 +00:00
Luboš Luňák
bff321a8e6 Possible uninitialized value?
CCMAIL: sandro@giessl.com


svn path=/trunk/KDE/kdebase/workspace/; revision=764693
2008-01-22 11:26:25 +00:00
Matthew Woehlke
dae9b3df18 don't tint button outlines quite so much on hover
svn path=/trunk/KDE/kdebase/workspace/; revision=753969
2007-12-28 20:50:48 +00:00
Matthew Woehlke
751f106782 fix button radius (roundedness)
svn path=/trunk/KDE/kdebase/workspace/; revision=753968
2007-12-28 20:48:20 +00:00
Matthew Woehlke
8c93a0b698 Migrate plastikbutton.cpp to KColorUtils/KColorScheme way of handling colors, thereby removing last user of misc.cpp. Remove now-unused misc.{cpp,h}.
svn path=/trunk/KDE/kdebase/workspace/; revision=753965
2007-12-28 20:42:45 +00:00
Matthew Woehlke
560d0809e8 use KColorScheme::shade(ShadowShade) for shadow colors
svn path=/trunk/KDE/kdebase/workspace/; revision=753940
2007-12-28 19:40:15 +00:00
Matthew Woehlke
9da7d20f22 use newfangled QLinearGradient instead of kdefx :-)
svn path=/trunk/KDE/kdebase/workspace/; revision=717526
2007-09-27 03:41:46 +00:00
Fredrik Höglund
0681bee748 Fix the shadows in the Plastik buttons.
svn path=/trunk/KDE/kdebase/workspace/; revision=698941
2007-08-11 14:46:34 +00:00
Thorsten Roeder
0666147473 some krazy fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=664331
2007-05-13 17:47:20 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Thorsten Roeder
d68dafda6b fixed some EBN issues
svn path=/trunk/KDE/kdebase/workspace/; revision=546993
2006-05-31 16:23:36 +00:00
Laurent Montel
5725624c8b #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Laurent Montel
7f7ce52d78 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Laurent Montel
9c5a5fd6ea KPixmap was removed
svn path=/trunk/KDE/kdebase/workspace/; revision=538507
2006-05-08 08:14:01 +00:00
Stephan Kulow
dee1917849 revert broken commit
svn path=/trunk/KDE/kdebase/workspace/; revision=536543
2006-05-02 12:40:25 +00:00
Bernhard Rosenkraenzer
1fd35c1cf9 Compile fixes (KPixmap)
svn path=/trunk/KDE/kdebase/workspace/; revision=536502
2006-05-02 10:35:34 +00:00
Thorsten Roeder
5f4822c3c6 fix my stupid commit from yesterday.
thx.

CCMAIL: Woebbeking@onlinehome.de

svn path=/trunk/KDE/kdebase/workspace/; revision=535315
2006-04-29 09:21:48 +00:00
Thorsten Roeder
86d995aec4 avoid unnecessary conversion: QPixmap->QImage->QPixmap
svn path=/trunk/KDE/kdebase/workspace/; revision=535225
2006-04-28 21:29:59 +00:00
Stephan Kulow
072a101a10 removed quite some deprecated functions around pixmaps
(crossing fingers I didn't overlook some use of ::resize that
need the old pixmap data copied)

svn path=/trunk/KDE/kdebase/workspace/; revision=534212
2006-04-26 16:05:58 +00:00
Tobias Koenig
848bc14335 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder
98fa3320c5 deprecated--
basically:
QRegExp::search() --> QRegExp::indexIn()
QString::find() --> QString::indexOf()
QString::findRev() --> QString::lastIndexOf()
QString::lower() --> QString::toLower()
QString::upper() --> QString::toUpper()
QString::setLength() --> QString::resize()
QByteArray::find() --> QByteArray::indexOf()
QByteArray::findRev() --> QByteArray::lastIndexof()
QTimer::start(ms,sShot) --> {QTimer::setSingleShot() ; QTimer::start()}
QList::remove() --> QList::removeAll()
iterator QList::remove() --> iterator QList::erase()
QComboBox::text() --> QComboBox::itemText()
QByteArray::upper() --> QByteArray::toUpper()
QByteArray::lower() --> QByteArray::toLower()
QString::contains() --> QString::contains()
QEvent::accept(bool) --> QEvent::setAccepted(bool)


svn path=/trunk/KDE/kdebase/workspace/; revision=528719
2006-04-11 17:12:05 +00:00
Sandro Giessl
fdb1b61473 Make kwin decorations API free of Qt3 support members
svn path=/trunk/KDE/kdebase/workspace/; revision=515804
2006-03-04 22:27:27 +00:00
Laurent Montel
f327b7f032 Deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=512331
2006-02-22 09:52:11 +00:00
Allen Winter
441523a689 Replace obsolete QMAX() and QMIN() with qMax() and qMin().
svn path=/trunk/KDE/kdebase/workspace/; revision=510739
2006-02-17 21:54:55 +00:00
Laurent Montel
91ea06f842 Don't use qt3 class name
svn path=/trunk/KDE/kdebase/workspace/; revision=478798
2005-11-07 22:07:49 +00:00
Dirk Mueller
e20f2bd6b2 SVN_SILENT: fix typo
svn path=/trunk/KDE/kdebase/kdm/; revision=467416
2005-10-05 08:44:32 +00:00
Matt Broadstone
5da7024486 rid ourselves of the Q3Buttons
svn path=/trunk/KDE/kdebase/kwin/; revision=449967
2005-08-17 09:15:59 +00:00
Stephan Kulow
b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00
Dirk Mueller
84efa15bbd update FSF address
svn path=/trunk/KDE/kdebase/kdm/; revision=431577
2005-07-04 19:02:09 +00:00
Sandro Giessl
06e5b5b960 revert the recent change which introduced button masking as it breaks Fitt's Law..
svn path=/trunk/kdebase/kwin/; revision=400875
2005-03-26 22:52:18 +00:00
Luís Pedro Coelho
a8c2702d6c shadow.h doesn't exist anymore.
svn path=/trunk/kdebase/kwin/; revision=400829
2005-03-26 19:13:11 +00:00
Sandro Giessl
0160e12bc2 better OnAllDesktop icons
svn path=/trunk/kdebase/kwin/; revision=400827
2005-03-26 19:02:02 +00:00
Sandro Giessl
f26dffe5e3 make the button background lighter again as suggested on kde-devel...
svn path=/trunk/kdebase/kwin/; revision=400269
2005-03-24 17:01:04 +00:00
Sandro Giessl
33438df578 no need to fake the titlebar background except for the menu button
svn path=/trunk/kdebase/kwin/; revision=400268
2005-03-24 16:56:58 +00:00
Sandro Giessl
4e10228f75 - minor changes to button drawing
- button icon changes: don't use recolored+scaled .xpm files as icons, instead
  create bitmaps on the fly in code which can easily be colored and don't need
  to be scaled... looks much cleaner IMHO.

svn path=/trunk/kdebase/kwin/; revision=399001
2005-03-19 16:16:33 +00:00
Sandro Giessl
b4d6b5fd91 slightly modified the look of the titlebar gradient
svn path=/trunk/kdebase/kwin/; revision=398179
2005-03-16 20:00:13 +00:00
Sandro Giessl
5cb8a385e9 cache button icons in the handler. creation of 1000 decorations took 26s
before, now it's 10s... probably saves some memory, too.

svn path=/trunk/kdebase/kwin/; revision=397810
2005-03-15 14:07:37 +00:00
Sandro Giessl
8a64612f7b do not unnecessarily rebuild everything in reset(), makes deco recreation a bit faster. still slower than other decos due to the expensive smoothScale, image recoloring etc. - this should be cached
svn path=/trunk/kdebase/kwin/; revision=397486
2005-03-14 09:39:09 +00:00
Sandro Giessl
c62cf962d6 do not use statics to access the handler
svn path=/trunk/kdebase/kwin/; revision=397053
2005-03-12 20:13:51 +00:00
Sandro Giessl
74dda10aaa Port Plastik to KCommonDecoration.
svn path=/trunk/kdebase/kwin/; revision=396773
2005-03-11 20:14:04 +00:00
Sandro Giessl
7e3a491809 use the new maximize() overload
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=332085
2004-07-23 17:02:25 +00:00
Sandro Giessl
6b27d7484b Implement "Shade", "Keep Above Others", "Keep Below Others" buttons (#60369).
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=311527
2004-05-14 22:50:53 +00:00
Sandro Giessl
4b22ed1d20 Again, a patch by Wilfried Huss:
Make the menu button fade out like the other buttons.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=308892
2004-05-05 18:24:39 +00:00
Sandro Giessl
7008c02051 Make titlebar buttons only react on left-click, if they have one function
only. (Bug #58220)

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263816
2003-11-01 23:58:05 +00:00
Sandro Giessl
a21351b5a8 - Don't forget to update buttons on color changes...
- Replaced repaint()s with update().

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=261864
2003-10-25 13:57:28 +00:00
Sandro Giessl
f23a3b153a - Ported to the new kwin style API.
- Don't close the window when double clicking on the menu button.
- Reorganized the settings dialog:
  * "border size" has moved to the kwin core.
  * "shrink borders for maximized windows" has moved to the kwin "allow moving and resizing of maximized windows" setting.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=251940
2003-09-17 18:43:17 +00:00
Sandro Giessl
7d0cb12105 Adding my Plastik window decoration to kdeartwork. :)
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246655
2003-08-29 22:49:03 +00:00