Commit graph

999 commits

Author SHA1 Message Date
Laurent Montel
24270ef9f3 enable disable spinbox when we change checkbox state
svn path=/trunk/KDE/kdebase/workspace/; revision=1024342
2009-09-16 12:08:40 +00:00
Script Kiddy
f28d0ef21e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1024263

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

M	wallpapers/Evening/metadata.desktop
2009-09-16 09:54:02 +00:00
Martin Gräßlin
87c2711665 Use single quotes for single char in kcmtabbox (Krazy issue no 6)
svn path=/trunk/KDE/kdebase/workspace/; revision=1023776
2009-09-15 10:35:45 +00:00
Martin Gräßlin
c6a1918d97 Use a QPointer for modal dialogs in kcmtabbox (Krazy issue no 5) and make some dialogs modal which should be modal.
svn path=/trunk/KDE/kdebase/workspace/; revision=1023767
2009-09-15 10:31:52 +00:00
Hugo Pereira Da Costa
8eecf6375c Moved Nitrogen to Oxygen deco, and removed Nitrogen.
It is believed that Nitrogen is versatile enough to satisfy most users, and that it is 
good-looking enough to make Nuno happy.

CCMAIL: kwin@kde.org
BUG: 160627

svn path=/trunk/KDE/kdebase/workspace/; revision=1023636
2009-09-15 06:25:06 +00:00
Laurent Montel
a3a55182ba Fix forward-declaration
svn path=/trunk/KDE/kdebase/workspace/; revision=1023067
2009-09-13 20:15:21 +00:00
Laurent Montel
f26ea79b6d Extract messahes
svn path=/trunk/KDE/kdebase/workspace/; revision=1023060
2009-09-13 19:37:03 +00:00
Laurent Montel
da5394f620 fix ui files
svn path=/trunk/KDE/kdebase/workspace/; revision=1023007
2009-09-13 17:53:58 +00:00
Martin Gräßlin
76f17e6de1 Here comes the new TabBox. It is a complete rewrite using a MVC approach. Here some highlights:
* Models and Delegates for Clients and Desktops
 * Horizontal, vertical and tabular layout
 * Layout of one item can be configured by an XML definition
 * A desktop item can include a client list
 * An optional second list view showing only the selected item
 * A new KCM "kwintabbox"
 * An alternative TabBox with independent settings and keybindings
 * Optional Highlight Windows effect integration
 * List scrolls instead of removing items
 * Scroll wheel support
 * Cursor key support
 * Middle click on item closes window
BUG: 195745
BUG: 197187
BUG: 201103
FEATURE: 118184
FEATURE: 156723
FEATURE: 177441
FEATURE: 182897
FEATURE: 193882
GUI:

svn path=/trunk/KDE/kdebase/workspace/; revision=1022861
2009-09-13 11:36:45 +00:00
Robin Harold Burchell
f892ffb0e7 Remove flicker when changing effect plugins by not fully reloading compositing plugins anymore.
Replaces one hack with another hack (due to having to support multiple kwin instances),  but provides a much better user experience.
Big thanks to mgraesslin for comments,  review,  and fixes.

BUG: 183107

svn path=/trunk/KDE/kdebase/workspace/; revision=1022489
2009-09-11 21:03:24 +00:00
Michael Jansen
09f7f97831 When removing a desktop set the associated actions global shortcut to empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021775
2009-09-10 00:24:45 +00:00
Michael Jansen
fdb11557bf Finally fix setting the global shortcuts. That's how it is supposed
to be done.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021774
2009-09-10 00:24:43 +00:00
Michael Jansen
044acd9591 HINT: It's not the right way to call forgetGlobalShortcut just because you want
to set a new global shortcut for a action. Have a look at the parameters
of setGlobalShortcut()

The method is now only called for newly created actions. No need to overwrite
existing shortcuts. Step 2 will follow with next commit.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021773
2009-09-10 00:24:41 +00:00
Michael Jansen
f37efe22c9 Add a undo() method that does what its name suggest for the global shortcuts
and call it where appropriate.

Leaving the dialog with cancel now leaves the user settings unchanged.
As expected.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021767
2009-09-09 23:44:08 +00:00
Michael Jansen
fff3477452 1. Move adding the "Switch to Desktop %1" actions to init()
2. Document the relation between setting numberSpinBox and filling m_editor
   with defaults

svn path=/trunk/KDE/kdebase/workspace/; revision=1021766
2009-09-09 23:44:06 +00:00
Michael Jansen
22cb0b0226 Never ever discrespect the users current setting. NEVER
svn path=/trunk/KDE/kdebase/workspace/; revision=1021764
2009-09-09 23:44:02 +00:00
Michael Jansen
6b8a3a61a1 ALLWAYS set isConfigurationAction if you create action just for
configuration purposes.

And do it before you set a global shortcut. Doing it after that is good
intention but still tool late.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021763
2009-09-09 23:43:58 +00:00
Martin Gräßlin
754f5d0829 Quick maximize and tiling when moving a window to the left/right or top screen edge.
Top screen edge (un)maximizes. Left screen edge sets window to left half of screen geometry, right edge to other half.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021305
2009-09-08 20:01:08 +00:00
Hugo Pereira Da Costa
82aa125975 reverted to r1015361 because last commit was adressing the same issue (already fixed). Sorry
svn path=/trunk/KDE/kdebase/workspace/; revision=1018986
2009-09-02 14:30:30 +00:00
Hugo Pereira Da Costa
76104a522a fixed preview event painting, to use pixmap as intermediate painting device, in order to proper account for event clip rect, and avoid decorations appearing out of the widget rect
svn path=/trunk/KDE/kdebase/workspace/; revision=1018742
2009-09-02 05:28:38 +00:00
Lucas Murray
8b19de13f0 Select the default decoration if the configured decoration doesn't exist.
svn path=/trunk/KDE/kdebase/workspace/; revision=1016905
2009-08-29 10:16:13 +00:00
Lucas Murray
47ef5f02cc Replace Ozone with Nitrogen as the default decoration and remove Ozone.
CCMAIL:kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=1016904
2009-08-29 10:12:00 +00:00
Christoph Feck
a83e508bdd Use QPainter to render preview
Reviewed by Lucas Murray
BUG: 203842

svn path=/trunk/KDE/kdebase/workspace/; revision=1015361
2009-08-25 11:13:27 +00:00
Lucas Murray
c3a07890f5 Add close window ability to customizable title bar mouse button actions.
Patch by Thomas Lundgaard.
CCMAIL: thomaslundgaard@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=1015273
2009-08-25 04:10:11 +00:00
Script Kiddy
76ea5e9987 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1014621

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-08-23 12:06:49 +00:00
Thomas Lübking
1f365bf428 BUG: 153799
BUG: 187952
CCBUG: 197992
CCBUG: 203320

extrapolate and (if available) set shortcuts for new virtual desktops
automatically

svn path=/trunk/KDE/kdebase/workspace/; revision=1011934
2009-08-16 12:19:07 +00:00
Script Kiddy
fd0ecc715a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1011290

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-08-14 09:29:08 +00:00
Lucas Murray
4bc9e6c533 Rename the "normal" focus stealing prevention level to "medium".
CCBUG: 203447

svn path=/trunk/KDE/kdebase/workspace/; revision=1010423
2009-08-12 12:34:10 +00:00
Christoph Feck
25a056e171 Fix preview margins
* limit to 10 pixels, regardless of what the client announces
* "old" clients have the same margins for consistency
* use KWindowSystem::compositingActive() instead of D-Bus

Reviewed by Lucas Murray

svn path=/trunk/KDE/kdebase/workspace/; revision=1005231
2009-07-31 15:38:12 +00:00
Script Kiddy
4a1461ef9d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1004472

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

M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-07-30 09:23:14 +00:00
Martin Gräßlin
8564fca1bc Fixing a copy&paste error. Screen edges kcm should read cube settings for cube actions, not desktop grid settings.
BUG: 201362

svn path=/trunk/KDE/kdebase/workspace/; revision=1002067
2009-07-24 21:10:34 +00:00
Martin Gräßlin
abe5c4ff04 Complete rewrite of flip switch.
* no more usage of OpenGL directly. Only highlevel API (except multiscreen :-()
 * better animations by adjusting the TimeLine's curve shape
 * new configuration options for window positions
 * Usage without tabbox (also supporting electric border)
 * Effect Frame showing the window title
 * many more things I have forgotten to mention
BUG: 187761

svn path=/trunk/KDE/kdebase/workspace/; revision=1000437
2009-07-21 10:18:48 +00:00
Laurent Montel
e785ec1993 Fix signal/slot
svn path=/trunk/KDE/kdebase/workspace/; revision=1000074
2009-07-20 19:39:31 +00:00
Christoph Feck
92edeb1fe4 Fix double margins
svn path=/trunk/KDE/kdebase/workspace/; revision=999968
2009-07-20 17:18:02 +00:00
Script Kiddy
9eb3821e6a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=996576
2009-07-14 14:39:27 +00:00
Laurent Montel
d30325d924 fixuifiles
svn path=/trunk/KDE/kdebase/workspace/; revision=995255
2009-07-12 13:08:25 +00:00
Martin Gräßlin
f702221054 Rework of the multiple desktops kcm.
Now it uses a ui file which makes it easier to maintain.
It brings together all options for multiple desktops. That is:
 * number of desktops
 * pager layout
 * activity per desktop
 * desktop names
 * desktop effect for switching animation
 * OSD on desktop switch
 * Shortcuts for desktop changing

The plasma options (pager and activity) are still missing and currently disabled.
FEATURE: 129605
CCBUG: 153799

svn path=/trunk/KDE/kdebase/workspace/; revision=995230
2009-07-12 12:21:57 +00:00
Script Kiddy
5db5f77957 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=990943

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-07-03 14:05:35 +00:00
Andrius Štikonas
f3dad43a18 Use KIntSpinBox instead of QSpinBox for better integration with KDE. As a bonus this allows to use plural suffix in spinboxes since KDE 4.3 if necessary.
svn path=/trunk/KDE/kdebase/workspace/; revision=989742
2009-06-30 20:09:04 +00:00
Martin Gräßlin
369910865a Add "show desktop" to screen edges.
FEATURE: 195359

svn path=/trunk/KDE/kdebase/workspace/; revision=988839
2009-06-28 20:32:50 +00:00
Lucas Murray
d4647a3fbc Display a warning message when compositing is enabled during KDE
failsafe mode.
BUG: 197874

svn path=/trunk/KDE/kdebase/workspace/; revision=987757
2009-06-26 15:29:00 +00:00
Hugo Pereira Da Costa
e48740a6fb fixed indentation
svn path=/trunk/KDE/kdebase/workspace/; revision=987422
2009-06-26 03:07:18 +00:00
Hugo Pereira Da Costa
5e783b34b9 Added dbus call to get whether kwin compositing is enabled or not, rather than
systematically returning false. This enables nicer painting of decoration previews.


svn path=/trunk/KDE/kdebase/workspace/; revision=987420
2009-06-26 02:55:05 +00:00
Hugo Pereira Da Costa
031bdd0239 Changed painting of preview decorations, to use widget->render() instead of
widget->show(). This allows to have oxygen decorations painted properly (with visible 
shadows), to handle window resize properly, and does not affect other decorations.

 --This line, and those below, will be ignored--

M    preview.cpp
M    preview.h

svn path=/trunk/KDE/kdebase/workspace/; revision=987415
2009-06-26 01:53:38 +00:00
Script Kiddy
8ebed3b253 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=987253
2009-06-25 18:31:11 +00:00
Lucas Murray
2c6dccdb99 Make KWin system setting panels consistent with the rest of KDE again by
reverting part of r986282.
CCMAIL: christoph@maxiom.de

svn path=/trunk/KDE/kdebase/workspace/; revision=987069
2009-06-25 13:34:36 +00:00
Script Kiddy
57a205ff99 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=986478

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-24 17:22:21 +00:00
Christoph Feck
58b9127b3e Fix layout issues in kwin kcm
* remove fixed layout spacing and margin
* respect style's QFormLayout field policy
* reduce vertical space in compositing "General" tab
* layout desktop names in two columns


svn path=/trunk/KDE/kdebase/workspace/; revision=986282
2009-06-24 13:09:58 +00:00
Martin Gräßlin
00426a67ff Use a generic icon for screenedges kcm. That's not really nice but better than a missing icon.
We'll nag again for 4.4.

svn path=/trunk/KDE/kdebase/workspace/; revision=985870
2009-06-23 15:57:16 +00:00
Script Kiddy
a55589308d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=985817

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-23 14:10:37 +00:00