Commit graph

121 commits

Author SHA1 Message Date
Luciano Montanaro
a69e5e6b5f Fix help and pindown rendering problem:
it was due to Qt misrendering bitmaps when they have a mask.
Changed code to remove use of kColorBitmaps(). Now kdefx should not be needed
to draw the decoration. 

svn path=/trunk/KDE/kdebase/workspace/; revision=646407
2007-03-25 16:33:59 +00:00
Luciano Montanaro
9da3b593ad Ported to QAbstractButton
svn path=/trunk/KDE/kdebase/workspace/; revision=645971
2007-03-24 01:51:55 +00:00
Luciano Montanaro
4702a2fde2 - Use QGradient instead of KPixmapEffect
- Fixed many off-by-one rendering errors
- Added support for (slighly) larger border sizes

svn path=/trunk/KDE/kdebase/workspace/; revision=643655
2007-03-18 02:39:45 +00:00
Dirk Mueller
249a84c5d9 merge in kconfig changes to make it compile
svn path=/branches/work/kwin_composite/; revision=635791
2007-02-20 22:31:26 +00:00
Stephan Kulow
ab1fe691d8 merged kconfiggroup_port branch
svn path=/trunk/KDE/kdebase/workspace/; revision=635490
2007-02-20 07:00:30 +00:00
Luboš Luňák
36afaf2efc Merge r632199 from kwin_composite.
svn path=/trunk/KDE/kdebase/workspace/; revision=632843
2007-02-12 13:29:36 +00:00
Dirk Mueller
6c224134db porting simplifications regarding KConfig::readEntry
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
Luciano Montanaro
33fca586c5 - Indentation cleanup
- Use largest size for VeryHuge and Oversize cases

svn path=/trunk/KDE/kdebase/workspace/; revision=602387
2006-11-05 21:19:05 +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
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
e3362f8e64 deprecated--
affected:
QRegExp::setWildcard()
QRegExp::setCaseSensitive()
iterator QMap::remove()
QComboBox::currentItem()
QWidget::caption()

svn path=/trunk/KDE/kdebase/workspace/; revision=528770
2006-04-11 18:59:35 +00:00
Luboš Luňák
e1b40efb22 & -> &&
svn path=/trunk/KDE/kdebase/workspace/; revision=527756
2006-04-09 09:47:09 +00:00
Hamish Rodda
023fa86718 Port to new kdelibs snapshot. Most major changes are in konqueror due to
its reasonably heavy use of custom actions.

My kdelibs was a day old when i compiled, so if there is non-action
related porting still to do... it's probably still not done... will
check

svn path=/trunk/KDE/kdebase/workspace/; revision=521386
2006-03-22 13:32:49 +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
Laurent Montel
fde9470fdc Fix QToolTip
svn path=/trunk/KDE/kdebase/workspace/; revision=508032
2006-02-10 15:33:40 +00:00
Laurent Montel
b0a95318bc readBoolEntry->readEntry
svn path=/trunk/KDE/kdebase/workspace/; revision=493850
2006-01-03 14:01:15 +00:00
Laurent Montel
8f20889b49 Q3ValueList--
svn path=/trunk/KDE/kdebase/workspace/; revision=489618
2005-12-19 10:26:44 +00:00
Laurent Montel
f5c680a6e0 Q3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=480575
2005-11-15 15:59:11 +00:00
Laurent Montel
1c3e66488b Adapt to new kde4 api
Remove some qt3support

svn path=/trunk/KDE/kdebase/workspace/; revision=478902
2005-11-08 10:20:07 +00:00
Laurent Montel
10e453f73e warning--
svn path=/trunk/KDE/kdebase/workspace/; revision=478354
2005-11-06 15:46:57 +00:00
Laurent Montel
0370410f0f qt3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=474743
2005-10-27 09:07:06 +00:00
Laurent Montel
a166c8e3d4 QToolTip::add -> setToolTip
svn path=/trunk/KDE/kdebase/workspace/; revision=462520
2005-09-21 09:14:36 +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
Luciano Montanaro
96e70b86f8 Simplified drawB2Rect()
svn path=/trunk/KDE/kdebase/kwin/; revision=417752
2005-05-24 13:54:37 +00:00
Luboš Luňák
cc7ab636af Make the titlebar double-click operation react only the LMB.
BUG: 96079


svn path=/trunk/KDE/kdebase/kwin/; revision=409714
2005-05-05 12:43:19 +00:00
Luciano Montanaro
7f5bb05567 Fix the preview rendering bug, some cleanup.
svn path=/trunk/kdebase/kwin/; revision=400989
2005-03-27 14:01:20 +00:00
Luboš Luňák
9a5a1c5d95 Fix shading: isShade() returns the actual state of the window, and isSetShade()
returns the state set by the user - these two may differ e.g. while hover-unshaded.
Therefore titlebar buttons should use isSetShade(), otherwise they become
a bit useless with hover-unshading.
Also fix updating the button state - the styles duplicate way too much code,
and if one of them has a bug, most of them definitely have it as well. Some
of the code should probably move to the decoration lib :-/ .

svn path=/trunk/kdebase/kwin/; revision=366147
2004-11-25 16:08:46 +00:00
Dirk Mueller
5b5ab45fbf fix export's
svn path=/trunk/kdebase/kwin/; revision=364795
2004-11-21 16:19:09 +00:00
Sandro Giessl
e0bd1cf554 now all clients kdebase announce their supported buttons.
CCBUG: 83499

svn path=/trunk/kdebase/kwin/; revision=360736
2004-11-05 15:33:09 +00:00
Luciano Montanaro
4ae63db942 Worked around the isResizable() problem: check if the window is resizable
only when initializing the decoration for a given window.
CCMAIL: kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=357517
2004-10-25 10:17:59 +00:00
Luciano Montanaro
6dc8a25ebe Cleaned up a bit.
svn path=/trunk/kdebase/kwin/; revision=357339
2004-10-24 14:49:26 +00:00
André Wöbbeking
23b2927e0c make it compile
CCMAIL: mikelima@cirulla.net

svn path=/trunk/kdebase/kwin/; revision=349559
2004-09-26 20:47:47 +00:00
Luciano Montanaro
136f98c24e Fixed glitch on first uresizable window opening.
svn path=/trunk/kdebase/kwin/; revision=349364
2004-09-26 10:29:23 +00:00
Luboš Luňák
4e52fbebdc With transparent moving/resizing, make sure the outline is not larger
than the window (#88567).

svn path=/trunk/kdebase/kwin/; revision=348501
2004-09-22 15:09:42 +00:00
Luciano Montanaro
06fa4c69bd Fixed maximized border handling.
svn path=/trunk/kdebase/kwin/; revision=333557
2004-07-28 16:44:42 +00:00
Luciano Montanaro
e94ef322f8 Resize should work on button press, not on click.
svn path=/trunk/kdebase/kwin/; revision=332574
2004-07-25 13:49:19 +00:00
Luciano Montanaro
0311c26276 Simplify client by using the new maximize() method.
svn path=/trunk/kdebase/kwin/; revision=331795
2004-07-22 16:30:07 +00:00
Luciano Montanaro
2be6b89379 Added updateGeometry() for the titlebar when initialixing the decoration.
Seems to fix the initial titlebar size calculation.

svn path=/trunk/kdebase/kwin/; revision=325507
2004-07-03 10:35:13 +00:00
Stephan Binner
c0c7fe46d6 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdebase/kwin/; revision=324065
2004-06-27 16:18:56 +00:00
Luciano Montanaro
22f4d1dced Added an option to disable the grab handle (The checkmark actually asks if the
handle has to be drawn, and it's on by default).
Added support for a new titlebar button "R" for Resize.
I have a patch pending for the kwin kcm to add that too.

svn path=/trunk/kdebase/kwin/; revision=322119
2004-06-20 10:03:04 +00:00
Luciano Montanaro
6dde923eff Cleanup whitespace
svn path=/trunk/kdebase/kwin/; revision=317073
2004-06-02 13:46:54 +00:00
Luciano Montanaro
e034d686fd Use the new showWindowMenu() variant.
svn path=/trunk/kdebase/kwin/; revision=317018
2004-06-02 09:53:24 +00:00
Luciano Montanaro
8b9735cfd1 Fix cursor shape over titlebar buttons.
svn path=/trunk/kdebase/kwin/; revision=316901
2004-06-01 23:32:28 +00:00
Luciano Montanaro
49b2179ed4 Implemented 'hover' effect for titlebar buttons.
svn path=/trunk/kdebase/kwin/; revision=313969
2004-05-23 22:59:13 +00:00