Commit graph

589 commits

Author SHA1 Message Date
Luboš Luňák
7224e77a6b MousePosition renaming updates.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=273146
2003-12-15 15:14:45 +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
Luboš Luňák
0ba12a0837 Perform whole new window managing with X server grab, in order to prevent
"smart" apps from doing stupid things before they get MapNotify.
This avoids the recent Java+OracleInstaller strange problem too.
The patch may look huge, but it's only adding two KWin wrappers
for X(Un)GrabServer() and uncommenting the calls in Client::manage().

svn path=/trunk/kdebase/kwin/; revision=271152
2003-12-04 13:54:10 +00:00
Luboš Luňák
d1cd1a1b18 Check for deletion while handling mouse release on the close button.
Fixes #67267.

svn path=/trunk/kdebase/kwin/; revision=268388
2003-11-20 13:31:19 +00:00
Luboš Luňák
d6721e0b7a No warnings.
svn path=/trunk/kdebase/kwin/; revision=268334
2003-11-20 09:05:00 +00:00
Laurent Montel
468633c0f7 Fix reverseLayout
Fix colors.
But title bar pixmap must be reversed

svn path=/trunk/kdebase/kwin/; revision=266089
2003-11-10 13:57:21 +00:00
Laurent Montel
7669c1296d if(bla) delete bla; -> delete bla
svn path=/trunk/kdebase/kwin/; revision=266087
2003-11-10 13:44:08 +00:00
Laurent Montel
a79264cc46 Fix reverselayout
svn path=/trunk/kdebase/kwin/; revision=266083
2003-11-10 13:21:53 +00:00
Sandro Giessl
60254757fe Fix #67681: "Plastik style often displays incorrect maximize button"
CCMAIL: 67681-done@bugs.kde.org

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=265849
2003-11-09 18:47:08 +00:00
Luciano Montanaro
9582208fca Fixed rendering glitch in the "normalize" icon.
svn path=/trunk/kdebase/kwin/; revision=265667
2003-11-09 00:41:10 +00:00
Luciano Montanaro
6714a92f92 The border size seemed wrong in latest CVS
svn path=/trunk/kdebase/kwin/; revision=263981
2003-11-02 16:35:59 +00:00
Sandro Giessl
fd896cc84d Get rid of the titlebar height slider.
- It's not really necessary for usability reasons since the titlebar grows
with bigger font sizes.
- Confusing as it overlaps with the font size setting.
- The space for the configuration dialog is quite limited. :)
I guess removing strings doesn't violate the string freeze...

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263881
2003-11-02 11:34:32 +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
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
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
76c19742f4 Here as well - don't flicker.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263257
2003-10-30 18:25:43 +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
b884178c99 KDecoration::unobscuredRegion(), for B2 titlebar unhiding.
svn path=/trunk/kdebase/kwin/; revision=262494
2003-10-27 16:28:53 +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
Malcolm Hunter
5698d10846 CVS_SILENT Typographical corrections and changes
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=261566
2003-10-24 11:24:15 +00:00
Luciano Montanaro
e510e8dd73 Forgot to make the variable static
svn path=/trunk/kdebase/kwin/; revision=261057
2003-10-22 13:52:51 +00:00
Luboš Luňák
546d2ce58c Check for being deleted ( KDecorationFactory::exists() ).
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=260991
2003-10-22 08:47:32 +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
Luciano Montanaro
c47d64a4cc I committed too hastily. This patche is the good one!
svn path=/trunk/kdebase/kwin/; revision=260080
2003-10-19 09:26:34 +00:00
Luciano Montanaro
eaeb27fd13 Enabled titlebar dragging by shift-clicking it.
Still missing is the automatic titlebar unhiding.

svn path=/trunk/kdebase/kwin/; revision=260075
2003-10-19 09:16:11 +00:00
Luciano Montanaro
c2eacac63f Oops I didn't notice the typo.
svn path=/trunk/kdebase/kwin/; revision=259993
2003-10-18 21:03:29 +00:00
Luciano Montanaro
9ebccb978e Scale up maximize and close button if there is enough room.
Beginning to add code to try to not reset decoraton if configuration changes
are small enough.

svn path=/trunk/kdebase/kwin/; revision=259978
2003-10-18 20:37:49 +00:00
Luciano Montanaro
40b7e4a8ad Implemented Titlebar resizing based on the font height.
svn path=/trunk/kdebase/kwin/; revision=259214
2003-10-15 16:50:29 +00:00
Luciano Montanaro
fc334ef5c1 Renamed class LaptopClientButton to LaptopButton
svn path=/trunk/kdebase/kwin/; revision=257972
2003-10-11 12:34:09 +00:00
Luciano Montanaro
4f0bc08749 Cleaned up spaces, reordered classes
svn path=/trunk/kdebase/kwin/; revision=257969
2003-10-11 12:24:51 +00:00
Nadeem Hasan
bf4fc6b898 Fix margin.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=257799
2003-10-10 16:18:41 +00:00
Dirk Mueller
b8db522f64 fix messages target
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=257734
2003-10-10 13:08:14 +00:00
Luciano Montanaro
e07db73f38 Removed superfluous Q_OBJECT
svn path=/trunk/kdebase/kwin/; revision=256725
2003-10-06 13:02:49 +00:00
Luciano Montanaro
13037237fc CCMAIL: Gunnar Schmi Dt <gunnar@schmi-dt.de>
Applied Gunnar's patch, tweaked minimumSize()

svn path=/trunk/kdebase/kwin/; revision=256483
2003-10-05 14:23:10 +00:00
Luciano Montanaro
7f6a69be67 Fixed bottom border rendering, made titlebar at least as large as the resize
handle, like the other decorations do.

svn path=/trunk/kdebase/kwin/; revision=256350
2003-10-04 23:55:55 +00:00
George Staikos
a98beeee30 KWhatsBroken tells me that redmond is broken. This appears to be what the
other clients do

svn path=/trunk/kdebase/kwin/; revision=256310
2003-10-04 21:27:23 +00:00
Luciano Montanaro
9ccad80cc4 Added support for variable border sizes.
Currently only BorderTiny, BorderNormal, BorderLarge and BorderVeryLarge are
supported.  I'll add the other sizes after making the titlebar height
adjustable too.

svn path=/trunk/kdebase/kwin/; revision=256260
2003-10-04 18:53:44 +00:00
Luciano Montanaro
4dca82efb1 A little eyecandy:
support titlebar color gradients

svn path=/trunk/kdebase/kwin/; revision=256082
2003-10-04 02:02:07 +00:00
Luciano Montanaro
78f1c3ab0e CCMAIL: rcliff@panix.com
Fixed maximization. Thanks to Robert Clifford for noticing the bug.

svn path=/trunk/kdebase/kwin/; revision=256063
2003-10-04 00:15:34 +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
Luciano Montanaro
5e32acc176 CCMAIL: l.lunak@kde.org
Make middle and right click on window buttons work again.
The solution looks a bit like a workaround for some kwin problem, though.
Why do I have to always fake a LeftButton press?

svn path=/trunk/kdebase/kwin/; revision=255894
2003-10-03 12:03:16 +00:00
Luciano Montanaro
47f5381fca Constified bitmap data
svn path=/trunk/kdebase/kwin/; revision=255846
2003-10-03 08:09:15 +00:00
Luciano Montanaro
2e42c39a74 CVS_SILENT
Fixed typo in a comment, reworded one of my notes

svn path=/trunk/kdebase/kwin/; revision=255712
2003-10-02 16:52:20 +00:00
Luciano Montanaro
ea9742f367 Implemented basics of accessibility support. I'll tweak it a bit more later on.
svn path=/trunk/kdebase/kwin/; revision=255711
2003-10-02 16:46:13 +00:00
Luciano Montanaro
017a08e98b CCMAIL: kwin@kde.org
The fix wasn't complete. A doShape() is also needed.

svn path=/trunk/kdebase/kwin/; revision=255366
2003-10-01 13:01:50 +00:00
Luciano Montanaro
4f8f89cf46 CCMAIL: kwin@kde.org
Fixed the misrendered shaded border.
For me, the problem was fixed by redoing the layout in the shapeChange()
function. Maybe the other styles have to modified in a similar way.

I'd like to reduce the width of the window border to the titlebar width only,
instead of the full window border. In the BeeToo, I obtain a similar effect by
painting the titlebar only, but the trick is revealed by the window snap zones,
and the transparent border. Is there a way to do this cleanly with current kwin?

svn path=/trunk/kdebase/kwin/; revision=255364
2003-10-01 12:55:55 +00:00
Luciano Montanaro
ba06d6afbf Fixed bug #46966 using the first of the suggested methods.
The second part of the bug report does not seem to apply to any other
decoration in CVS.

Removed redundant copies of MouseEvents, since I were at it.

svn path=/trunk/kdebase/kwin/; revision=255165
2003-09-30 18:13:18 +00:00
Gunnar Schmidt
59e880217f Added the wide-borders feature to the Quartz decoration
svn path=/trunk/kdebase/kwin/; revision=254896
2003-09-29 16:35:12 +00:00
Luboš Luňák
81e475c523 Make it possible to find out window type also in createDecoration().
svn path=/trunk/kdebase/kwin/; revision=254816
2003-09-29 11:21:46 +00:00
Luboš Luňák
a406bee353 Let decoration get show/hide events when showing/hiding the frame.
svn path=/trunk/kdebase/kwin/; revision=254814
2003-09-29 11:21:11 +00:00
Gunnar Schmidt
bb54822810 Added the wide-borders feature to the KDE2 decoration
svn path=/trunk/kdebase/kwin/; revision=254590
2003-09-28 14:06:52 +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
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
Gunnar Schmidt
46d91e95da Added the border size feature to the Redmond decoration
svn path=/trunk/kdebase/kwin/; revision=254092
2003-09-26 12:06:58 +00:00
Gunnar Schmidt
556c95ec32 added the borderSizes() method to the Plastik decoration and corrected the parameters of the borderSizes() method in the KStep decoration
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253697
2003-09-24 20:02:35 +00:00
Luboš Luňák
67e894e1c6 Update for recent API change.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253675
2003-09-24 18:59:07 +00:00
Luciano Montanaro
866fc75200 'static' and 'const' added to local variables and pixmap data.
svn path=/trunk/kdebase/kwin/; revision=253599
2003-09-24 14:35:18 +00:00
Luboš Luňák
cefae8f1e4 Allows the decorations to specify which border sizes they support.
Also added GUI for the border size, not perfect, but it's there.

svn path=/trunk/kdebase/kwin/; revision=253572
2003-09-24 12:41:56 +00:00
Luciano Montanaro
89cd9ee65b Made bitmap data constant etc.
svn path=/trunk/kdebase/kwin/; revision=253545
2003-09-24 11:06:08 +00:00
Luboš Luňák
22979730ee Don't use the already installed headers.
svn path=/trunk/kdebase/kwin/; revision=253537
2003-09-24 10:54:13 +00:00
Sandro Giessl
b8c3c6667b Removed pieces of Knifty which I forgot to remove earlier...
Has caused plugin loading problems for some people.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253453
2003-09-23 21:16:46 +00:00
Sandro Giessl
863057e660 - The decoration should be useable in reverse layout mode now.
- Readding the possibility to close windows by double clicking the menu
  button on request, setting disabled by default.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253432
2003-09-23 20:39:13 +00:00
Gunnar Schmidt
89601d5312 Changed the KStep and Plastik window decorations to respect the two new (extra wide) border sizes
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=253351
2003-09-23 14:45:56 +00:00
Gunnar Schmidt
1f560dbba0 Changed the Web window decoration to respect the two new (extra wide) border sizes
svn path=/trunk/kdebase/kwin/; revision=253349
2003-09-23 14:40:18 +00:00
Luciano Montanaro
adf7e8bad8 Override default drawbounds().
Now when "Display contents of moving/resizing" windows is disabled, a polygon
approximating the window shape is shown instead of the normal rectangle.

svn path=/trunk/kdebase/kwin/; revision=252937
2003-09-21 20:43:44 +00:00
Luciano Montanaro
ef476127f8 Found the correct method to send mousepresses to kwin. I still miss the
mouserelease, though.

svn path=/trunk/kdebase/kwin/; revision=252930
2003-09-21 20:14:26 +00:00
Kevin Puetz
3b502ae558 b2 needs to check in the right include path also
svn path=/trunk/kdebase/kwin/; revision=252759
2003-09-21 03:42:11 +00:00
Luciano Montanaro
b3792f72bb Enabled the compilation of b2
svn path=/trunk/kdebase/kwin/; revision=252656
2003-09-20 17:46:38 +00:00
Luciano Montanaro
bfd4eccd49 CCMAIL: kwin@kde.org
Ported b2 to the new api.  Well, some stuff does not yet work, but I'll work on
that later, and I'll need some assistance for the Automatic titlebar movement.

There is also a bug when shading the window, but on the bright side,
the client more or less works.

svn path=/trunk/kdebase/kwin/; revision=252655
2003-09-20 17:44:49 +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
Sandro Giessl
5f6bd80480 activate Quartz
svn path=/trunk/kdebase/kwin/; revision=252150
2003-09-18 15:27:39 +00:00
Sandro Giessl
1ba98c8ef6 - Ported to the new style API, hope everything is ok.
- Hide borders for maximized windows if the kwin "allow moving and resizing of maximized
windows" setting is disabled.

svn path=/trunk/kdebase/kwin/; revision=252148
2003-09-18 15:27:12 +00:00
Sandro Giessl
09d670bc4c activate Web.
svn path=/trunk/kdebase/kwin/; revision=252140
2003-09-18 15:00:05 +00:00
Sandro Giessl
d82cbed7c0 - Ported to the new style API, hope everything is ok.
- Respect KWins' border size suggestion.

svn path=/trunk/kdebase/kwin/; revision=252139
2003-09-18 14:59:47 +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
Stefan Gehn
89f3ba455a somebody forgot installing its desktop file
svn path=/trunk/kdebase/kwin/; revision=251937
2003-09-17 18:41:27 +00:00
Luboš Luňák
56609fc014 Some updates.
svn path=/trunk/kdebase/kwin/; revision=251890
2003-09-17 15:47:27 +00:00
Luciano Montanaro
4aa26e6ddb Fixed resize artifacts
svn path=/trunk/kdebase/kwin/; revision=251862
2003-09-17 14:25:14 +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
c33987fd9e I forgot to enable compilation of Redmond.
svn path=/trunk/kdebase/kwin/; revision=251858
2003-09-17 14:12:51 +00:00
Luboš Luňák
48af013ee1 Fix reseting.
svn path=/trunk/kdebase/kwin/; revision=251826
2003-09-17 11:44:33 +00:00
Luciano Montanaro
5f0056e873 Appied Lubos patch for the renamed slots.
svn path=/trunk/kdebase/kwin/; revision=251789
2003-09-17 09:23:08 +00:00
Luciano Montanaro
af5c35303f Enabled laptop client
svn path=/trunk/kdebase/kwin/; revision=251778
2003-09-17 08:54:18 +00:00
Luciano Montanaro
6becc8bb5f Ported client to kwin_iii
svn path=/trunk/kdebase/kwin/; revision=251777
2003-09-17 08:53:04 +00:00
Luboš Luňák
8c0404ee31 Improve reseting of the decoration.
svn path=/trunk/kdebase/kwin/; revision=251774
2003-09-17 08:37:56 +00:00
Luboš Luňák
7b0773facd Redmond style merged back from kwin_iii to HEAD, done by Chris Lee.
svn path=/trunk/kdebase/kwin/; revision=251771
2003-09-17 08:27:26 +00:00
Frerich Raabe
6c74979d72 - --warnings
svn path=/trunk/kdebase/kwin/; revision=251634
2003-09-16 19:57:44 +00:00
Luboš Luňák
d05a0d438a Enable only ported decorations, and also merge back the testing
decoration.

svn path=/trunk/kdebase/kwin/; revision=251627
2003-09-16 19:41:07 +00:00
Luboš Luňák
aa986329ac Merging back the KDE2 default decoration from kwin_iii to HEAD.
The config/ subdir is not updated, is kept from HEAD.

svn path=/trunk/kdebase/kwin/; revision=251624
2003-09-16 19:40:44 +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
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
34427cb289 compile
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=250061
2003-09-10 17:58:07 +00:00
Waldo Bastian
d05d96d5e2 Don't crash on pixmaps without a mask.
svn path=/trunk/kdebase/kwin/; revision=250023
2003-09-10 15:11:42 +00:00
Luciano Montanaro
165188c4f5 Draw resize handle for resizable tool windows.
svn path=/trunk/kdebase/kwin/; revision=249995
2003-09-10 13:48:57 +00:00
Luciano Montanaro
e46772fe73 Hide resize handles for unresizable windows
svn path=/trunk/kdebase/kwin/; revision=249446
2003-09-08 15:54:55 +00:00
Sandro Giessl
b7547a0a87 CVS_SILENT removed exception for KDE 3.1 which worked around a problem of "eating" window borders,
no more necessary.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246927
2003-08-30 17:49:33 +00:00
Stephan Binner
013f743897 CVS_SILENT i18n style guide fix
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=246725
2003-08-30 08:30:08 +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
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
ddec9444f7 lather, rinse, repeat fred's fix: close on button release not press
svn path=/trunk/kdebase/kwin/; revision=237267
2003-07-15 18:18:26 +00:00
Aaron J. Seigo
8dc1858ae3 since KDE2 does double-click-on-menu-is-close emulate this behaviour
as we do with other emulation styles. i AM closing BR#56922

svn path=/trunk/kdebase/kwin/; revision=236180
2003-07-08 21:06:03 +00:00
Fredrik Höglund
cafa67e113 - Fixed bugs #40125, #45621 and #46215 in the redmond style as well.
svn path=/trunk/kdebase/kwin/; revision=235470
2003-07-04 18:32:29 +00:00
Aaron J. Seigo
fdbe58d03f apparently setColSpacing is new in Qt3.2. this one goes out to everyone
still compiling with 3.1

svn path=/trunk/kdebase/kwin/; revision=234785
2003-07-01 02:54:32 +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
Claudiu Costin
056cddfe3c i18n context for Kwin default client.
At least Romanian will benefit from this.

svn path=/trunk/kdebase/kwin/; revision=233039
2003-06-22 20:19:30 +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
Luboš Luňák
32217c89bf No resize handle for non-resizable windows.
CCMAIL: 57765-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=227030
2003-05-21 09:12:44 +00:00
Luboš Luňák
dbc0817e28 Actually, the patch from #57690 is right too, there was no support for spacers.
svn path=/trunk/kdebase/kwin/; revision=222733
2003-04-29 11:45:08 +00:00
Luboš Luňák
c1fc368392 Fix #57690 - don't let the dragable area of titlebar vanish completely.
svn path=/trunk/kdebase/kwin/; revision=222730
2003-04-29 11:40:39 +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
Luboš Luňák
31a47d9819 Don't show the resize cursor inside windows.
svn path=/trunk/kdebase/kwin/; revision=206454
2003-02-12 10:06:57 +00:00
Ralf Nolden
b93157d70e qabstractlayout.h -> qlayout.h
svn path=/trunk/kdebase/kwin/; revision=205388
2003-02-07 10:40:24 +00:00
Melchior Franz
d4d96f7148 fix dialog layout for rtl languages;
replace numeric by symbolic constants

svn path=/trunk/kdebase/kwin/; revision=204603
2003-02-03 11:55:34 +00:00
Laurent Montel
6108ee9793 Use KCmdLineLastOption
svn path=/trunk/kdebase/ksysguard/; revision=202148
2003-01-23 07:11:25 +00:00
Luboš Luňák
3bbbec2792 Styles moved to kdeartwork.
svn path=/trunk/kdebase/kwin/; revision=199828
2003-01-14 12:43:45 +00:00
nobody
82ee2f00fe This commit was manufactured by cvs2svn to accommodate
a server-side copy/move.

svn path=/trunk/kdebase/kwin/; revision=199822
2003-01-14 12:31:45 +00:00
Reza Arbab
c83fb9c2e2 Changed to avoid initialization of static const variables in class definition.
svn path=/trunk/kdebase/kwin/; revision=198519
2003-01-09 15:50:11 +00:00
Hans Petter Bieker
3bc5e13c20 i18n() returns QString.
svn path=/trunk/kdebase/kwin/; revision=197076
2003-01-02 23:41:27 +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
Script Kiddy
30b954b49e CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=189111
2002-11-15 12:56:38 +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
c8bc0e4f38 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=186511
2002-10-30 13:33:46 +00:00
Stephan Kulow
82ae93ab72 don't refer to kde2.desktop
svn path=/trunk/kdebase/kwin/; revision=186442
2002-10-29 21:31:40 +00:00
Karol Szwed
8458bf78d7 We don't need this anymore
svn path=/trunk/kdebase/kwin/; revision=186383
2002-10-29 14:52:04 +00:00
Fredrik Höglund
0d932bef73 Make the old default kwin style available again as KDE 2.
svn path=/trunk/kdebase/kwin/; revision=186225
2002-10-28 19:23:45 +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
Script Kiddy
045810a50e CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184313
2002-10-17 11:19:57 +00:00
Script Kiddy
b32ed8c275 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=181890
2002-10-03 11:24:08 +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
Dirk Mueller
aefcf5f8a0 remove outdated #ifdef
svn path=/trunk/kdebase/kwin/; revision=174483
2002-08-29 16:32:24 +00:00
Luboš Luňák
f374dba2f2 Double-click to close is back.
svn path=/trunk/kdebase/kwin/; revision=174417
2002-08-29 08:59:31 +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
ec918cec3b suppress warnings
svn path=/trunk/kdebase/kwin/; revision=174085
2002-08-27 15:31:58 +00:00
Karol Szwed
d3210cbb64 remove warning
svn path=/trunk/kdebase/kwin/; revision=174081
2002-08-27 15:18:17 +00:00