Commit graph

135 commits

Author SHA1 Message Date
Sandro Giessl
c8ebd222c4 replace button pixmaps with bitmaps so they can be colored later (e.g. greyed out when the button is unavailable)...
svn path=/trunk/kdebase/kwin/; revision=369673
2004-12-10 17:58:37 +00:00
André Wöbbeking
46259d08ff make it compile
svn path=/trunk/kdebase/kwin/; revision=369635
2004-12-10 15:36:46 +00:00
Sandro Giessl
4c091d07d2 FEATURE
Add drop visualizer to the titlebar preview.

svn path=/trunk/kdebase/kwin/; revision=369526
2004-12-09 22:28:55 +00:00
Sandro Giessl
b36cbe8749 Clean things up a bit under the hood of the button position widget. Main intention
was to replace the QString/char based internal representation of buttons with a
Button-object based one.
Makes it IMHO much more extensible by removing things like global vars,
i18n(name)<-->button type mapping etc.

svn path=/trunk/kdebase/kwin/; revision=369513
2004-12-09 21:33:16 +00:00
Luboš Luňák
aa28465df5 I think I got persuaded that having a direct access to the decorated
window might be useful in very very very rare cases.

svn path=/trunk/kdebase/kwin/; revision=368911
2004-12-06 15:46:27 +00:00
Sandro Giessl
a43c9b585c move a few things from KWinDecorationModule into the new class ButtonPositionWidget in preparation for a few improvements on the widget I'm planing...
svn path=/trunk/kdebase/kwin/; revision=368215
2004-12-03 22:23:20 +00:00
Sandro Giessl
1652995a55 better ButtonDrag mimetype
svn path=/trunk/kdebase/kwin/; revision=368183
2004-12-03 20:31:03 +00:00
Sandro Giessl
db5bbc67ee Replace the border size slider with a combobox.
svn path=/trunk/kdebase/kwin/; revision=368162
2004-12-03 19:32:35 +00:00
Sandro Giessl
5ad5e87db6 Add an extra margin around the preview.
svn path=/trunk/kdebase/kwin/; revision=368152
2004-12-03 18:49:35 +00:00
Sandro Giessl
1d44e0c519 Update the layout of the window decoration dialog based on Aaron's feedback
on kde-usability:
- Move the combobox back into the tab
- Move the preview below the tabbar
- Move the border size slider into the first tab to the Decoration Options
- Remove the groupbox around the custom button position widgets.

svn path=/trunk/kdebase/kwin/; revision=367949
2004-12-02 23:02:03 +00:00
Sandro Giessl
e8565670ec remove the pluginSettingsGrp groupbox
svn path=/trunk/kdebase/kwin/; revision=364650
2004-11-20 23:53:54 +00:00
Sandro Giessl
fafe39943f - Update the preview on button position/border size setting changes. Preview of
settings in the decoration's config dialogs isn't available yet.
- Move the decoration combobox and the preview out of the tab widget to be visible
  from all tabs - makes the new preview update more useful.

CCBUG:70349

svn path=/trunk/kdebase/kwin/; revision=364647
2004-11-20 23:43:16 +00:00
Sandro Giessl
3a45567573 move border size chooser from "Buttons" into new tab "Border Size"
svn path=/trunk/kdebase/kwin/; revision=361798
2004-11-09 19:34:18 +00:00
Sandro Giessl
ec9b2155ee Extend KDecorationPreview to allow setting temporary decoration border size and button layout.
svn path=/trunk/kdebase/kwin/; revision=361796
2004-11-09 19:27:21 +00:00
Benjamin Meyer
7a9eea2c83 Terminal=0 -> Terminal=false
Terminal=1 -> Terminal=true
Add missing ';' to Categories
Remove depreceted: TerminalOptions, BinaryPattern, MiniIcon

svn path=/trunk/kdebase/kcontrol/; revision=355825
2004-10-19 02:39:40 +00:00
Frank Karlitschek
5640dbc81b new default window decoration
svn path=/trunk/kdebase/kwin/; revision=347287
2004-09-17 21:09:28 +00:00
Andrew Coles
09e330a30c CVS_SILENT
Corrected typos.

svn path=/trunk/kdebase/kcontrol/; revision=344423
2004-09-06 15:39:21 +00:00
Script Kiddy
4341c5a0b8 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=334652
2004-08-01 06:58:42 +00:00
Albert Astals Cid
46fb958961 More KCModule that now use setAboutData so we avoid leaking of mem
svn path=/trunk/kdebase/kwin/; revision=330728
2004-07-18 23:40:42 +00:00
Luciano Montanaro
5e3bd8b2c8 I'll take Lubos' answer as an "OK".
So, I'll add what will probably be the least useful feature of KDE3.3:
The support for a "resize" button in the titlebar.
Perhaps the accessibility people could find a use for this, though.

svn path=/trunk/kdebase/kwin/; revision=322458
2004-06-21 13:13:48 +00:00
Luciano Montanaro
7240bff8f1 Added a new variant of showWindowMenu() that takes an originating rect instead
of a point. This method should be preferred to bring up the actions menu  from
the menu button, since it makes it a bit harder to select a menu item
involuntaryily in some corner case.

svn path=/trunk/kdebase/kwin/; revision=317016
2004-06-02 09:47:36 +00:00
Andrew Coles
20e6aebb0d Corrected typos.
svn path=/trunk/kdebase/kcontrol/; revision=312616
2004-05-19 13:27:23 +00:00
Cristian Tibirna
c2a1128757 fix kwindecoration (kcontrol module) not reseting the style preview (and configs) on pressing Reset
CCMAIL: 81532-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=311538
2004-05-15 00:38:42 +00:00
Sandro Giessl
8d0eda13db Add support for three additional titlebar buttons (#60369):
Shade, Keep Above Others, Keep Below Others.

CCMAIL: kwin@kde.org
Slowly but surely, button indexes are going out. :) In case anyone has
objections with the following ones for the API, just tell. Now.
 F (Above others ~ foreground)
 B (Below others ~ background)
 L (Shade ~ less/lock??)

svn path=/trunk/kdebase/kwin/; revision=311518
2004-05-14 22:23:29 +00:00
Sandro Giessl
c311b39bd3 Don't have more than one reference to the same dummy variable in one
borders() call. So innocent decoration developers can be sure that
a value of one reference won't change a few lines later just because it
has been overwritten by another reverence to the same value...

svn path=/trunk/kdebase/kwin/; revision=299848
2004-03-30 13:52:27 +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
6056e22fe6 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=279832
2004-01-15 08:20:08 +00:00
Thomas Zander
6798567e4a + slBorder->setPageStep(1);
So if you click next to the thumb you don't make it go to the
complete end every time.

svn path=/trunk/kdebase/kwin/; revision=278724
2004-01-11 14:30:10 +00:00
Luboš Luňák
c26c55787f Remove some obsolete comments.
svn path=/trunk/kdebase/kwin/; revision=273143
2003-12-15 14:44: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
4ee178b277 Fix #69005 - make it possible to differentiate between a window really
being shaded and being set to be shaded (which may differ with hover unshade).

svn path=/trunk/kdebase/kwin/; revision=269526
2003-11-25 15:26:50 +00:00
Luboš Luňák
f30a41aaa6 Oops.
svn path=/trunk/kdebase/kwin/; revision=269305
2003-11-24 14:55:22 +00:00
Luboš Luňák
87f8a85083 Added KDecorationFactory::checkRequirements(), which allows the decoration
plugin to check what the core supports, i.e. the opposite of supports().
Not used yet, but apparently will be needed e.g. for the new tranparency.

svn path=/trunk/kdebase/kwin/; revision=269291
2003-11-24 14:22:04 +00:00
Matthias Kretz
e3fd05e402 Remove calls to KCModule::setChanged so that I may remove that method before
the 3.2 release again.

svn path=/trunk/kdebase/kcontrol/; revision=265646
2003-11-08 23:43:53 +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
Nadeem Hasan
5bf63947d9 Layout and whitespace update.
svn path=/trunk/kdebase/kwin/; revision=261305
2003-10-23 14:56:44 +00:00
Hasso Tepper
f89dfaa318 Wrap if translated string doesn't have rich text elements in text.
svn path=/trunk/kdebase/kwin/; revision=257721
2003-10-10 12:56:02 +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
Luboš Luňák
e102cc772b The headers didn't state the licence.
svn path=/trunk/kdebase/kwin/; revision=252352
2003-09-19 11:14:41 +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
d4cec4d60a Merging back kcm modules from kwin_iii to HEAD.
svn path=/trunk/kdebase/kwin/; revision=251618
2003-09-16 19:34:03 +00:00
Tobias Koenig
c72429a37e Removed needless 'Settings'
svn path=/trunk/kdebase/kcontrol/; revision=247598
2003-09-01 15:01:16 +00:00
Tobias Koenig
d316a4f779 Make use of XDG
svn path=/trunk/kdebase/ksplashml/kcmksplash/; revision=247535
2003-09-01 12:20:38 +00:00
Karol Szwed
a33e94d36c Remove nasty static_cast<QWidget*>(QObject*) which was creating the crashes.
CCMAIL: 61140-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=239860
2003-07-29 13:12:39 +00:00
Aaron J. Seigo
7c62ae8bce not that it really matters, but better to be paranoid and make future
changes easier

svn path=/trunk/kdebase/kwin/; revision=239742
2003-07-28 19:08:15 +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
Helge Deller
6092ac823a no hardcoded font
svn path=/trunk/kdebase/kwin/; revision=237897
2003-07-19 08:02:40 +00:00
Dirk Mueller
ffebd22c8a sanitize
svn path=/trunk/kdebase/kwin/; revision=237117
2003-07-14 23:39:12 +00:00
Aaron J. Seigo
1d48fada7f --tabs;
++slickness;

// this was supposed to be quick and easy. ha. ha.

svn path=/trunk/kdebase/kwin/; revision=234651
2003-06-30 08:14:54 +00:00
Luboš Luňák
ec073ab631 Fix warning in HEAD too.
svn path=/trunk/kdebase/kwin/; revision=230877
2003-06-11 08:02:11 +00:00
Aaron J. Seigo
aca34c574c move the button related checkboxes to the button tab. this alleviates the
problem where users can't figure out how to activate the buttonis tab
(as evidenced by questions about this on IRC).

svn path=/trunk/kdebase/kwin/; revision=229011
2003-05-31 17:40:57 +00:00
Malcolm Hunter
9f27a617a5 CVS_SILENT Typographical corrections and changes
svn path=/trunk/kdebase/kwin/; revision=224989
2003-05-10 09:13:36 +00:00
Frauke Oster
c8d9137692 Added a more detailed help.
svn path=/trunk/kdebase/kwin/; revision=217902
2003-04-02 20:33:10 +00:00
Laurent Montel
f4a42ebbd4 Fix include
svn path=/trunk/kdebase/kcontrol/; revision=215312
2003-03-20 17:18:43 +00:00
Stephan Binner
a73df351e1 Synchronized quickHelp() headers to actual name of module as it appears.
svn path=/trunk/kdebase/kcontrol/; revision=202807
2003-01-25 23:46:32 +00:00
Script Kiddy
d9e4791c44 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=190501
2002-11-26 12:09:36 +00:00
Script Kiddy
ce37c5e1f7 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=189424
2002-11-17 12:13:14 +00:00
Karol Szwed
a7d5a13afc Make Dirk happy.
svn path=/trunk/kdebase/kwin/; revision=186367
2002-10-29 12:43:45 +00:00
Karol Szwed
60f752e61f Make KDE default deco work again.
Rename "KDE Default" to "KDE Classic" to avoid confusion.

svn path=/trunk/kdebase/kwin/; revision=186362
2002-10-29 12:19:15 +00:00
Karol Szwed
25e04fe680 Switch over to Keramik deco, (or Quartz for 8bpp visuals)
svn path=/trunk/kdebase/kwin/; revision=185724
2002-10-26 14:34:46 +00:00
Waldo Bastian
8b8418c3e8 QMetaObject::findSignal:KWinDecorationModule: Conflict with KCModule::changed(bool)
svn path=/trunk/kdebase/kwin/; revision=179300
2002-09-20 23:51:27 +00:00
Waldo Bastian
244ed91882 KDE 3.1 Control Center reorganisation.
See http://usability.kde.org/activity/kcontrol_structure_3_1.html

svn path=/trunk/kdebase/kcontrol/; revision=177885
2002-09-15 05:02:49 +00:00
Chris Howells
675c09b178 Improve comment
svn path=/trunk/kdebase/kwin/; revision=174552
2002-08-30 00:51:27 +00:00
Stephan Binner
df9d33de02 Moved back to "Look & Feel".
svn path=/trunk/kdebase/kwin/; revision=174233
2002-08-28 08:53:59 +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
Malcolm Hunter
8e7f66bc65 CVS_SILENT Corrected typographical errors
When replying, please CC me - I'm not subscribed

svn path=/trunk/kdebase/kwin/; revision=173684
2002-08-25 12:56:45 +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
Lukáš Tinkl
3c2bfdf437 - fixing docu paths
svn path=/trunk/kdebase/kwin/; revision=173444
2002-08-23 16:11:31 +00:00
Stephan Binner
8b34307751 CVS_SILENT scheck'ed GUI, use "cvslastchange" or X-WebCVS header line to view
svn path=/trunk/kdebase/kcontrol/; revision=171521
2002-08-12 08:59:01 +00:00
Stephan Binner
f135da3521 Install in Windows category.
svn path=/trunk/kdebase/kwin/; revision=166461
2002-07-13 17:32:38 +00:00
Ryan Cumming
56c624e845 Eh, that line wasn't supposed to be removed. Really.
svn path=/trunk/kdebase/kwin/; revision=154723
2002-05-10 02:12:51 +00:00
Ryan Cumming
477c880660 GUI: Disable the configure tab when there is nothing to configure
svn path=/trunk/kdebase/kwin/; revision=154536
2002-05-08 23:20:28 +00:00
Stephan Binner
d24a0dc4a9 s/KDE2 default/KDE Default/
svn path=/trunk/kdebase/kwin/; revision=150243
2002-04-18 12:30:34 +00:00
Nadeem Hasan
96048bf6d0 GUI: Capitalization.
svn path=/trunk/kdebase/kwin/; revision=148061
2002-04-09 06:23:41 +00:00
Malcolm Hunter
9bfda2d6b4 CVS_SILENT Removed "Sorry"
svn path=/trunk/kdebase/kcontrol/; revision=146130
2002-03-31 04:06:46 +00:00
Waldo Bastian
4b025dddc5 CVSSILENT: Control modules keep Comment=
svn path=/trunk/kdebase/kcontrol/; revision=144312
2002-03-21 22:38:14 +00:00
Stephan Kulow
6619db5221 CVS_SILENT replaced Comment= with GenericName= if the comment is shorter 30 characters
svn path=/trunk/kdebase/kcontrol/; revision=144225
2002-03-21 14:39:30 +00:00
Karol Szwed
f161ee872d Fix bug #38695
svn path=/trunk/kdebase/kwin/; revision=138683
2002-02-26 12:05:10 +00:00
Stephan Kulow
a52f313730 fix
svn path=/trunk/kdebase/kwin/; revision=137447
2002-02-19 17:06:50 +00:00
Stephan Kulow
e3e09f533d use kwin_ instead of libkwin
svn path=/trunk/kdebase/kwin/; revision=137446
2002-02-19 16:56:16 +00:00
Waldo Bastian
6ebc89dac6 CVS_SILENT
Added Encoding header for compliance with Desktop Entry Standard

svn path=/trunk/kdebase/kcontrol/; revision=134824
2002-01-31 18:51:15 +00:00
Karol Szwed
1ed7ccd494 - Whoops!, sort the decoration listbox ;-)
svn path=/trunk/kdebase/kwin/; revision=134533
2002-01-29 12:08:05 +00:00
Simon Hausmann
f80b278658 - i18n("&Configure [") + decorationListBox->currentText() + i18n("]")
+  i18n("&Configure [%1]").arg( decorationListBox->currentText() )

svn path=/trunk/kdebase/kwin/; revision=133789
2002-01-25 13:54:13 +00:00
Simon Hausmann
d8d4f8bfa1 - pass the right instance to KCModule
- don't leak a KConfig object
- don't use a KCModule widget for each tab

svn path=/trunk/kdebase/kwin/; revision=133741
2002-01-25 10:02:11 +00:00
Karol Szwed
4fdde98724 Completing move of kwm and kwindecoration to kwin/kcmkwin as discussed
on the kwin mailing list.

- kwm has been renamed and moved to kwin/kcmkwin/kwinoptions.
- kwindecoration has been moved to  kwin/kcmkwin/kwindecoration.

svn path=/trunk/kdebase/kcontrol/; revision=131923
2002-01-16 12:26:03 +00:00