Commit graph

178 commits

Author SHA1 Message Date
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
Dirk Mueller
84efa15bbd update FSF address
svn path=/trunk/KDE/kdebase/kdm/; revision=431577
2005-07-04 19:02:09 +00:00
Luboš Luňák
75ff6d1d80 Add Encoding= .
svn path=/trunk/KDE/kdebase/kwin/; revision=411424
2005-05-09 09:28:23 +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
Script Kiddy
a71d1d57dd CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=386301
2005-02-05 04:17:59 +00:00
Script Kiddy
bafac3e99e CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=385197

The following changes were in SVN, but were removed from git:

M	wallpapers/aurora.svgz.desktop
M	wallpapers/gear-flowers.svgz.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
2005-02-02 05:17:44 +00:00
Allan Sandfeld Jensen
371b40edbd Make the shadows work just a little better on dark text
svn path=/trunk/kdebase/kwin/; revision=381060
2005-01-22 01:13:39 +00:00
Dirk Mueller
8e31c22156 grrrrr...
svn path=/trunk/kdebase/kwin/; revision=376625
2005-01-08 22:25:07 +00:00
Script Kiddy
48d3a06f1d CVS_SILENT made messages (.desktop file)
svn path=/trunk/kdebase/kcontrol/; revision=376018

The following changes were in SVN, but were removed from git:

M	wallpapers/No-Ones-Laughing-3.jpg.desktop
2005-01-07 04:29:48 +00:00
Dirk Mueller
1f509ffe24 fix export's
svn path=/trunk/kdebase/kwin/; revision=375962
2005-01-06 22:37:53 +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
27be3a1885 consistent preview label
svn path=/trunk/kdebase/kwin/; revision=360767
2004-11-05 17:02:03 +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
Aaron J. Seigo
df1d389be8 no margin for the config widget.
svn path=/trunk/kdebase/kwin/; revision=360562
2004-11-05 00:51:11 +00:00
Nicolas Goutte
7aba5a0721 Unify the translation of KWin's clients
(The user visible strings inkdebase/kwin/clients are extracted to
kwin_client.pot)
CCMAIL:kde-i18n-doc@kde.org

svn path=/trunk/kdebase/kwin/; revision=347824
2004-09-20 11:20:12 +00:00
Script Kiddy
4341c5a0b8 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=334652
2004-08-01 06:58:42 +00:00
Nicolas Goutte
92949ab569 I18N: untranslatable strings
Add a central user message extraction for all KWin client.
(The config programs have already their own .pot files)
CCMAIL:kde-i18n-doc@kde.org

(Note: there is currently not much of a choice to add a new .pot file,
as KWin has already many of them and we are in message freeze.
But at least this new .pot file can be shared between all clients, which
share most of the user visible strings.)

svn path=/trunk/kdebase/kwin/; revision=332022
2004-07-23 13:09:13 +00:00
Nicolas Goutte
790b9e0de6 Disable message extraction before that Scripty can extract them for the
first time and until this problem can be clearer.

Reason: from my first test, there are mostly the same strings ("Maximize",
"Minimize"...) and therefore such mini-pot files full of duplicates
should not be created. (That the config files are even extra files is bad too.)

svn path=/trunk/kdebase/kwin/; revision=331821
2004-07-22 18:02:59 +00:00
Luboš Luňák
3bc4193b8a Simplify maximization.
svn path=/trunk/kdebase/kwin/; revision=331777
2004-07-22 15:17:54 +00:00
Luboš Luňák
12f4763033 Oops. KWin decoration plugins had no messages although they contain
few i18n strings.

svn path=/trunk/kdebase/kwin/; revision=331733
2004-07-22 11:48:03 +00:00
Luboš Luňák
0c4afbf8be Add support for above, below and shade buttons.
svn path=/trunk/kdebase/kwin/; revision=331725
2004-07-22 11:23:28 +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
3989a49457 Use the new showWindowMenu() variant.
svn path=/trunk/kdebase/kwin/; revision=317634
2004-06-04 13:09:47 +00:00
Laurent Montel
568b06087b if (bla) delete bla; => delete bla;
svn path=/trunk/kdebase/kwin/; revision=309793
2004-05-09 16:45:04 +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
Script Kiddy
5562570c1d CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=278628
2004-01-11 08:09:52 +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
Sandro Giessl
3726cc23fd IMHO there is something strange going on with largeTitlebar, largeCaption
etc. but the border calculation should be correct now (part 2 of Bug #65969).

svn path=/trunk/kdebase/kwin/; revision=263736
2003-11-01 16:46:18 +00:00
Sandro Giessl
50a9e9aa2e Enabled the bottom border for shaded windows like it was the case for
Keramik in KDE 3.1. Hope that's ok with everyone.
(sorry for the ugly diff - seems like kate wasn't able to handle the
characters in the empty lines...)

svn path=/trunk/kdebase/kwin/; revision=263476
2003-10-31 17:05:21 +00:00
Albert Astals Cid
f7a59dfd24 Removing accelerators (<property name="accel">) from ui files. That is good because:
- Makes .ui files smaller
 - Removes not necessary setAccel( QKeySequence( ) ); from the generated *.cpp
 - Translations teams don't get the accelerator to translate making it unpossible to generate errors because the & is placed in a letter and the accel is another letter.

If you don't like that blame Stephan Binner, he suggested i could do it.

svn path=/trunk/kdebase/kcontrol/; revision=263265
2003-10-30 19:01:10 +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
Luboš Luňák
43c71a8c72 No delayed deleting of decorations. They'll have to check themselves
instead, using KDecorationFactory::exists(). Fixes #66205, and it wasn't
really that good idea anyway.

svn path=/trunk/kdebase/kwin/; revision=260988
2003-10-22 08:26:09 +00:00
Gunnar Schmidt
bde8e27f21 fixed a problem in KeramikClient::mousePosition
svn path=/trunk/kdebase/kwin/; revision=255907
2003-10-03 13:51:02 +00:00
Gunnar Schmidt
80e11df49c Corrected the size of the diagonal resize corners
svn path=/trunk/kdebase/kwin/; revision=254588
2003-09-28 13:58:33 +00:00
Harald Fernengel
ccdafde758 build
svn path=/trunk/kdebase/kwin/; revision=254548
2003-09-28 11:11:46 +00:00
Gunnar Schmidt
5b518b57b0 Added the wide-borders feature to the Keramik decoration
svn path=/trunk/kdebase/kwin/; revision=254531
2003-09-28 09:59:11 +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
Fredrik Höglund
c6390bdf4c - Use KDecorationFactory::resetDecorations() instead of a custom signal/slot.
- Fixed the crashes reported on the kwin mailing list.
- Various cleanups.

svn path=/trunk/kdebase/kwin/; revision=252169
2003-09-18 17:07:49 +00:00
Luboš Luňák
87fa54326f As kdelibs/NAMING says, using lib<appname>.la as name for a library is bad.
Library name changed to libkdecorations.la .

svn path=/trunk/kdebase/kwin/; revision=251859
2003-09-17 14:23:53 +00:00
Luboš Luňák
216d330162 Merging back the Keramik decoration from kwin_iii to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251623
2003-09-16 19:40:07 +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
Dirk Mueller
f9cef6de17 fix shape extension detection for Solaris
CCMAIL: 53617-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=238414
2003-07-21 20:34:58 +00:00
Aaron J. Seigo
ad483c520d dude up the config pages of these puppies. now that they appear on the
first tab of the kcm it became wildly obvious how much TLC they needed.

svn path=/trunk/kdebase/kwin/; revision=234652
2003-06-30 08:16:28 +00:00
Luboš Luňák
5596abd78e Don't link against kdeinit modules.
svn path=/trunk/kdebase/kwin/; revision=233861
2003-06-26 08:52:13 +00:00
Nadeem Hasan
79a98219bb Fix margin.
svn path=/trunk/kdebase/kwin/; revision=231462
2003-06-14 23:55:32 +00:00
Ian Reinhart Geiser
966365f741 This is a cleanup/fix of all ui files in kdebase. We have the ability to use the
standard KDE spacing and margins.  From what I could tell was 99% of the people had
these nubmers already hardcoded and we should not see any difference.

I was able to test and it looks like everything is normal here.  If there are any
issues or if I horribly broke someone's layout please do not revert!  Just touch them
up with designer and let me know.  This was done to cleanup the UI to ensure layouts
are always consistent, and to allow me to use some layout hacks for small screens.
More on this later, but the bottom line here is standard stuff is cool.  Next stop is
to remove all those hardcoded pixmaps and use KIconLoader :)

CCMAIL: kde-core-devel@kde.org

svn path=/trunk/kdebase/kcontrol/; revision=230069
2003-06-07 02:39:32 +00:00
Matthias Kretz
2faf685614 Don't use white as the border color. This fixes dark color schemes (it's very
anoying to have that white border on an otherwise dark screen). It also fit's
more in all other color schemes.
Authorized by Fredrik and quertz.

svn path=/trunk/kdebase/kwin/; revision=213632
2003-03-13 16:54:54 +00:00
Alex Zepeda
5354333dd5 More namespace fun with Qt. It seems like Q*Stream* wants "endl" and
std::cout wants std::endl.  So be it.

svn path=/trunk/kdebase/kwin/; revision=191602
2002-12-02 12:00:18 +00:00
Alex Zepeda
6c9a60ba18 I'll vote for <iostream> over <iostream.h>. Why? Here's why:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers
found in section 17.4.1.2 of the C++ standard.  Examples include
substituting the <X> header for the <X.h> header for C++ includes,
or <sstream> instead of the deprecated header <strstream.h>.
To disable this warning use -Wno-deprecated.

And grep shows:

kcontrol/kfontinst/kfontinst/FontListWidget.cpp:#include <iostream>
kdm/kfrontend/liloinfo.cpp:#include <iostream>
kioslave/sftp/ksshprocesstest.cpp:#include <iostream>
kioslave/mac/kio_mac.cpp:#include <iostream>
libkonq/konq_propsview.cc:#include <iostream>
konsole/konsole/TEHistory.cpp:#include <iostream>

svn path=/trunk/kdebase/kcontrol/; revision=191581
2002-12-02 10:50:03 +00:00
Fredrik Höglund
62fdca507a - Fixed a minor bidi bug.
svn path=/trunk/kdebase/kwin/; revision=189186
2002-11-16 00:05:16 +00:00
Karol Szwed
9cb1740124 Draw unpainted areas when a window is shaded.
Approved by Maksim.

svn path=/trunk/kdebase/kwin/; revision=186526
2002-10-30 16:15:58 +00:00
Script Kiddy
b95c6d8443 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184723
2002-10-20 10:54:38 +00:00
Simon Hausmann
78cfbe9177 - now that KDE_CHECK_HEADERS takes care of defining HAVE_FOO_H (thx coolo)
we can use KDE_* here to make it look in more paths. Helps freebsd.
-AC_CHECK_HEADERS(X11/extensions/shape.h)
+KDE_CHECK_HEADERS(X11/extensions/shape.h)

svn path=/trunk/kdebase/kwin/; revision=184443
2002-10-18 08:30:38 +00:00
Fredrik Höglund
76a41a4709 - Changed the filename regexp based on a suggestion from Charles.
svn path=/trunk/kdebase/kwin/; revision=178060
2002-09-15 19:19:52 +00:00
Fredrik Höglund
ae8a8f227d - Rewrote the mouse position code and increased the size of
the bottom diagonal resize corners for usability reasons.

svn path=/trunk/kdebase/kwin/; revision=178059
2002-09-15 19:13:38 +00:00
Fredrik Höglund
d1ef7e8236 - Made the bottom grab bar optional by popular demand.
- Implemented a (hopefully) temporary solution to
  tooltip setting changes not being applied to the
  titlebar buttons while the style is in use.

svn path=/trunk/kdebase/kwin/; revision=175167
2002-09-01 22:50:34 +00:00
Dirk Mueller
6acf67398b fix dependencies
svn path=/trunk/kdebase/kwin/; revision=174973
2002-09-01 00:02:14 +00:00
Fredrik Höglund
8f531f38dd - Attempting to fix a problem reported by Eugenia about
the white borders appearing to be wider on the sides
  than on the titlebar with dark color schemes.

- Switched to using a custom embed tool that generates
  code without global static objects and that further
  reduces the risk of namespace collisions.

- Fixed an off-by-one error in the mouse position code.

svn path=/trunk/kdebase/kwin/; revision=174962
2002-08-31 22:37:35 +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
Aaron J. Seigo
147a11b20f if i can convince Matthias Ettrich that this is a good thing, i can
probably convince anyone ;-)

bye-bye non-standard menu showing, hello usability

svn path=/trunk/kdebase/kwin/; revision=168271
2002-07-22 23:02:38 +00:00
Karol Szwed
6df2574dba Enable help button by default
svn path=/trunk/kdebase/kwin/; revision=167524
2002-07-19 13:33:45 +00:00
Fredrik Höglund
4c1d786510 - Made the style always use small caption bubbles on maximized
windows.

  This leaves more space for the actual window contents, and
  fixes the usability problem Carsten Pfeiffer pointed out
  on kde-core-devel.

- Rewrote the masking code to use precalculated bounding rects
  to set the window shape.

  This should result a huge performance increase on low-end
  systems and improve snappyness in general.

- Added some more namespace fixes as suggested by Karol Szwed.

svn path=/trunk/kdebase/kwin/; revision=163885
2002-06-29 22:25:38 +00:00
Dirk Mueller
f0b557abf7 fix messages
svn path=/trunk/kdebase/kwin/; revision=163711
2002-06-28 23:32:50 +00:00
Fredrik Höglund
a5b30e1002 These pixmaps are no longer needed.
svn path=/trunk/kdebase/kwin/; revision=162949
2002-06-24 18:35:11 +00:00
Fredrik Höglund
6cfa430e49 - Completely rewrote the pixmap creation code to recolor the
caption bubble and the titlebar separately and then composite
  the resulting images to form the final tiles.

- New pixmaps from Qwertz with a more discreet design for the
  titlebars; more subtle gradients and no stipple effect
  on the titlebar base.

- Only one set of pixmaps is now used for both the active and
  the inactive state. All pixmaps are now stored in grayscale
  format.

- Fixed a minor bug which would cause the question mark on the
  help button to be reversed in RTL mode.

- Improved horizontal space utilization slightly.

- Enabled recoloring of the titlebars and caption bubble to
  match the color scheme.

svn path=/trunk/kdebase/kwin/; revision=162948
2002-06-24 18:33:20 +00:00
Simon Hausmann
63796fb0b2 - micro namespace cleanup
svn path=/trunk/kdebase/kwin/; revision=162590
2002-06-23 08:39:44 +00:00
Stephan Kulow
e0daa02a8f CVS_SILENT oops
svn path=/trunk/kdebase/kwin/; revision=157225
2002-05-23 20:07:29 +00:00
Stephan Kulow
04e2d29f24 fixing dependencies
svn path=/trunk/kdebase/kwin/; revision=157222
2002-05-23 20:02:35 +00:00
Aaron J. Seigo
3482e99a19 and now make "newer" *cough*redhat*cough* -v's of gcc shut up
svn path=/trunk/kdebase/kwin/; revision=156077
2002-05-18 06:41:41 +00:00
Aaron J. Seigo
4f5f20fadd compile even on my old crappy compiler.
(p.s. c-style casts suck ;-)

svn path=/trunk/kdebase/kwin/; revision=156058
2002-05-17 22:05:56 +00:00
Simon Hausmann
947ee7a09e - fixlet for INCLUDES
svn path=/trunk/kdebase/kwin/; revision=156007
2002-05-17 16:53:02 +00:00
Fredrik Höglund
5a534cc7bd Importing the Keramik KWin style.
svn path=/trunk/kdebase/kwin/; revision=156002
2002-05-17 16:33:48 +00:00