Commit graph

86 commits

Author SHA1 Message Date
Sandro Giessl
56ea5484c4 FEATURE: 83499
Grey out buttons which are not supported by the decoration, put
a "(unsupported)" after the button name.

svn path=/trunk/kdebase/kwin/; revision=369684
2004-12-10 18:28:28 +00:00
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