Commit graph

64 commits

Author SHA1 Message Date
Stephan Kulow
aa93b1feb8 replaced QColorGroup:: with QPalette::
svn path=/trunk/KDE/kdebase/workspace/; revision=535910
2006-04-30 18:04:35 +00:00
Stephan Kulow
abeff9d0f6 some colorgroup porting
svn path=/trunk/KDE/kdebase/workspace/; revision=535723
2006-04-30 09:16:13 +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
Laurent Montel
938178b594 deprecated--
svn path=/trunk/KDE/kdebase/workspace/; revision=516259
2006-03-06 13:26:07 +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
42937f76a7 read*entry--
svn path=/trunk/KDE/kdebase/workspace/; revision=500998
2006-01-21 19:36:31 +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
bb61c66b88 qt3support--
svn path=/trunk/KDE/kdebase/workspace/; revision=479406
2005-11-10 11:50:13 +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
Sandro Giessl
f3620b530b Update the titlebar pixmap _after_ the titlebar button layout has been updated.
Fixes a minor bug in the custom button position preview.

svn path=/trunk/KDE/kdebase/kwin/; revision=434376
2005-07-13 20:48:05 +00:00
Sandro Giessl
8744d57a02 Make the arrow direction of the restore button change depending on the placement
(point to the right when the custom button position is left), same behavior as
the System++ style.

Knut, thanks for the patch. It didn't work for me, but I fixed it the
KCommonDecorationButton-way. :)
CCMAIL: knutmj@online.no

svn path=/trunk/KDE/kdebase/kwin/; revision=433768
2005-07-11 19:55:42 +00:00
Sandro Giessl
33e72465bd fix two warnings
svn path=/trunk/kdebase/kwin/; revision=405521
2005-04-14 10:57:54 +00:00
Sandro Giessl
99c7f10187 fall back to KCommonDecoration::layoutMetric
svn path=/trunk/kdebase/kwin/; revision=400746
2005-03-26 13:18:32 +00:00
Sandro Giessl
a8eb2711fa Port to KCommonDecoration; add menu button; less flicker in the titlebar
svn path=/trunk/kdebase/kwin/; revision=400263
2005-03-24 16:33:13 +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
Sandro Giessl
b4c946d132 above, below, shade buttons
svn path=/trunk/kdebase/kwin/; revision=332553
2004-07-25 12:39:32 +00:00
Sandro Giessl
cc6b654b6f use new maximize() overload
svn path=/trunk/kdebase/kwin/; revision=332523
2004-07-25 11:43:57 +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
Luboš Luňák
307ee66123 Use "Modern System" in all visible strings as the name of this
modsystem^H^H^Hmodernsys^H^H^Hmodernsystem decoration.
CCMAIL: 74346-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=290891
2004-02-24 12:34:58 +00:00
Frans Englich
4b522c51cb Remove all CVS Id tags from kdebase, if I haven't missed one.
Of course, this will multifold break compile as well as a dozen of people
will now object that they actually wanted the Id tags.

svn path=/trunk/kdebase/ksysguard/; revision=290873
2004-02-24 11:30:21 +00:00
Sandro Giessl
9268d2acdb Set the current window state when initializing OnAllDesktop buttons. (#71531)
svn path=/trunk/kdebase/kwin/; revision=278218
2004-01-09 18:20:29 +00:00
Luboš Luňák
569224d117 Replace the temporary MousePosition enum naming with something that
doesn't look so silly and doesn't conflict with Qt.

svn path=/trunk/kdebase/kwin/; revision=273144
2003-12-15 15:10:17 +00:00
Sandro Giessl
69f858427e Make titlebar buttons only react on left-click, if they have one function
only.

CCMAIL: 58220-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=263874
2003-11-02 11:03:41 +00:00
Luboš Luňák
abdfd596b2 And one more case of flickering ... how comes nobody complained?
svn path=/trunk/kdebase/kwin/; revision=263250
2003-10-30 18:01:43 +00:00
Gunnar Schmidt
219d1f6cca Added the border size feature to the Modern System decoration
The current implementation does not offer the largest two sizes as for those the buttons need to be scaled (which requires bigger changes as the buttons are based on pixmaps).

svn path=/trunk/kdebase/kwin/; revision=254093
2003-09-26 12:09:20 +00:00
Luboš Luňák
9fac9d2a43 Fixes for mousePosition().
Since Qt propagates mouse events up the widget hierarchy, it's better
to filter out Qt events rather than X events for the decoration.

svn path=/trunk/kdebase/kwin/; revision=252346
2003-09-19 11:11:07 +00:00
Luboš Luňák
813ce7ccce Merging back the ModernSys decoration from kwin_iii to HEAD.
The config/ subdir is not updated (and thus it keeps the changes done
in HEAD).

svn path=/trunk/kdebase/kwin/; revision=251622
2003-09-16 19:37:46 +00:00
Dirk Mueller
6bbbe69c0e unbreak compilation (gcc 3.4+)
svn path=/trunk/kdebase/kcontrol/; revision=239225
2003-07-26 10:41:28 +00:00
Luboš Luňák
3b57952b03 Take care of #46042. [...resisted to say here something about Motif >;> ]
svn path=/trunk/kdebase/kwin/; revision=174310
2002-08-28 15:17:31 +00:00
Karol Szwed
36aebe0323 Namespace cleanup to prevent crashes due to symbol clashes with RTLD_GLOBAL
svn path=/trunk/kdebase/kwin/; revision=174118
2002-08-27 18:08:20 +00:00
Karol Szwed
a33f4313ab - Removing patch by Diego Iastrubini that attempted to fix the bidi issues in
clients by adding an unnecessary 'enable-bidi' checkbox which was never agreed
  upon on the kwin mailing list.

  The use of --reverse is sufficient without needing this checkbox.
  Please discuss largish patches like these first, especially during a feature
  freeze!

  (Everyone also seems to forget the kwin-styles in kdeartwork)

- Make clients look the same with --reverse instead of the broken state they
  were in previously. If the button ordering is not to your liking in reverse
  mode, just change the button positions. (Or send patches for those clients
  that have not got these features yet).

- Clean up popupMenu handling somewhat.

- Remove a global static object in keramik.

svn path=/trunk/kdebase/kwin/; revision=174079
2002-08-27 15:12:14 +00:00
Diego Iastrubni
27998b71ac dded a new checkbox to kcontrol-> wm -> decorations ->general. By defaut this checkbox is on.
if it's on, kwin clients will reverse thire display when the desktop is reversed (arabic, hebrew etc).

Clinets updated to use this options, and options.h has a few more lines :)
see clients for the changes.

svn path=/trunk/kdebase/kwin/; revision=173581
2002-08-24 12:02:26 +00:00
David Faure
7962136939 CVS_SILENT fixheaders
svn path=/trunk/kdebase/kwin/; revision=117488
2001-10-12 12:29:15 +00:00
Karol Szwed
128d006be8 - Shade/Un-Shade titlebar flicker fix.
svn path=/trunk/kdebase/kwin/; revision=114659
2001-09-18 11:43:37 +00:00
Ralf Nolden
278c511d4f this is the actual bugfix from Gallium for the window decorations. This is
his part of the patch, works fine but there's just the re-check needed to
be added so when the effect for tooltips changes, the deco's tooltips take
this as well. There are no new strings except the Un-Sticky tooltip, all
others are translated. thd@kde.org agreed on the strings.

svn path=/trunk/kdebase/kwin/; revision=104585
2001-07-01 10:10:17 +00:00
Ralf Nolden
5781bbadac readded modernsystem style as that is needed by kpersonalizer. Gallium
takes over maintenance and there are several additions and changes from
Melchior Franz anyway

svn path=/trunk/kdebase/kwin/; revision=103041
2001-06-19 15:26:48 +00:00
Daniel M. Duley
29af54215b Removing the styles I wrote except the default one, and will be maintaining
them outside of CVS.

svn path=/trunk/kdebase/kwin/; revision=102431
2001-06-16 00:48:49 +00:00
Karol Szwed
3ecb89d03f Removed some unused headers, and made titlebar buttons visible
on isMinimizable() and isMaximizable()

svn path=/trunk/kdebase/kwin/; revision=100360
2001-06-04 12:32:26 +00:00
Karol Szwed
e7a3ecfd82 Added patch by Melchior to move the [ModernSystem] section in the kwinrc
file into kwinmodernsysrc

svn path=/trunk/kdebase/kwin/; revision=99266
2001-05-29 07:10:17 +00:00
Karol Szwed
070353f3f5 Adding a few cleanups by Melchior
svn path=/trunk/kdebase/kwin/; revision=96754
2001-05-13 05:47:49 +00:00
Luboš Luňák
f84c7a340a Move the configuration options for custom button positions to kwin from
the plugins. And I even resisted to break BC in kwin again even though
I could :).

svn path=/trunk/kdebase/kwin/; revision=94905
2001-05-03 08:06:28 +00:00
Karol Szwed
60121852e5 Renamed CustomButtonOrder to CustomButtonPositions to make button order
configurable after kwindecoration change.

svn path=/trunk/kdebase/kwin/; revision=93571
2001-04-23 12:05:55 +00:00
Karol Szwed
45dea027b3 Added patch by Melchior Franz, which was given the ok by Mosfet.
The patch allows the modsystem handle to be shown / hidden, and
adds a config plugin for kwindecoration where this can be configured.

svn path=/trunk/kdebase/kwin/; revision=93544
2001-04-23 07:37:23 +00:00
Waldo Bastian
57f4808d0f Make resource management in clients easier with these three functions:
init() called after client got loaded
deinit() called when client is about to get unloaded
reset() called once before Options::resetClients() is emitted

svn path=/trunk/kdebase/kwin/; revision=93372
2001-04-22 05:39:17 +00:00
Waldo Bastian
90379156ab No static objects.
svn path=/trunk/kdebase/kwin/; revision=93359
2001-04-22 01:53:54 +00:00
Luboš Luňák
08e9327f24 use setBackgroundMode( NoBackground ) - reduces flickering and doesn't
seem to cause repaint problems

svn path=/trunk/kdebase/kwin/; revision=92918
2001-04-19 19:31:30 +00:00