Arthur Arlt
b1e3c7ba38
Move initialization of shortcuts to separate method in new Tiling class
2011-07-28 13:06:30 +02:00
Arthur Arlt
3634525613
Refactoring Tiling
...
This initial commit introduces a new class Tiling. It is provided by
the files tiling/tiling.h and tiling/tiling.cpp. It covers all the
Tiling functionality which was provided by Workspace. In this initial
commit, all the functions were just moved and adjusted.
A new member variable m_tiling is introduced to Workspace, which
makes the new class Tiling accessible from Workspace.
The Tiling pointer is created in the constructor and deleted in
the deconstructor. Also a getter method tiling() is provided.
All calls from other classes are updated to use the methods in class
Tiling now.
2011-07-28 12:35:51 +02:00
Arthur Arlt
903bcb42fb
Provide build option for TabBox functionality
...
Since the TabBox functionality is not feasible for any platform KWin is
used on (e.g. tablet PCs), a build option is added to decide, if the
TabBox functionality should be build or not.
REVIEW: 101511
@Sebastian: Martin wanted me to let you know that it is now possible
to disable building Tabbox
CCMAIL: sebas@kde.org
2011-07-05 11:00:23 +02:00
Arthur Arlt
d1b5d00129
Refactoring TabBox
...
Move the funtionality of TabBox from class Workspace to class TabBox to make
it possible to deactivate this feature by setting a compile flag.
All methods and variables are now provided by class TabBox and calls from other
classes go directly to TabBox.
The code for configuring the shortcut keys has also been moved to class TabBox
from kwinbindings.cpp.
2011-07-05 10:59:53 +02:00
Arthur Arlt
25654f25b8
Removing TopMenu
...
Since the funtionality of TopMenu did no longer work in KDE4 this feature was
removed from Workspace. Every reference to it was removed as well as commentaries
and documentation.
REVIEW: 101485
2011-06-24 12:27:56 +02:00
Martin Gräßlin
12d3b354fc
Remove drawbound move/resize functionality
...
Drawbound was nowadays only used when compositing is disabled.
For the composited case, the drawbound was replaced by the resize
effect and in fact we should always just use the resize effect.
REVIEW: 101411
2011-06-23 12:15:54 +02:00
Thomas Lübking
bfd922d7fa
strip down kwin shortcut allocation code
2011-04-03 23:18:44 +02:00
Martin Gräßlin
0a7e48f7aa
KWin uses kdelibs coding style.
2011-01-31 20:07:03 +01:00
Chani Armitage
d18e95f9a6
improve stack & focuschain activity checks
...
BUG: 262730
svn path=/trunk/KDE/kdebase/workspace/; revision=1214045
2011-01-12 18:08:59 +00:00
Chani Armitage
0e7e1aa077
stop using deprecated API, and use activity icons
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1192050
2010-11-01 19:53:22 +00:00
Martin Gräßlin
0e2f0eb20d
Forward port rev 1134110: Fix crash when trying to group a window without decorations.
...
CCBUG: 222816
svn path=/trunk/KDE/kdebase/workspace/; revision=1134111
2010-06-03 12:53:29 +00:00
Nicolas Lécureuil
fa2318b374
Fix typo
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1134085
2010-06-03 11:30:41 +00:00
Nicolas Lécureuil
8f3f46c740
Forward port commit 1134074
...
CCBUG: 240464
svn path=/trunk/KDE/kdebase/workspace/; revision=1134076
2010-06-03 10:59:17 +00:00
Martin Gräßlin
f46e0634fb
Fix mnemonic in advanced menu of useractions menu.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1132322
2010-05-30 10:03:05 +00:00
Chani Armitage
7854e4bece
make 'all activities' work :)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1126064
2010-05-13 04:56:57 +00:00
Chani Armitage
a9ad071575
Activity association for windows.
...
ok'd by fredrikh.
this code is buggy right now, but I promise to squash the bugs by the 19th :)
svn path=/trunk/KDE/kdebase/workspace/; revision=1125614
2010-05-11 20:30:20 +00:00
Nikhil Marathe
2163f87264
Modified workspace method names to mark them up as referring to tiling
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1125434
2010-05-11 11:10:53 +00:00
Stephan Binner
253f0523c6
SVN_SILENT i18n style guide fixes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1124548
2010-05-09 11:06:38 +00:00
Nikhil Marathe
3e9377e6b4
Added comments to some tiling related code
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1124486
2010-05-09 06:15:40 +00:00
Nikhil Marathe
8892169a86
Added Window menu action to toggle floating/tiled state of the client and the relevant Operation enum entry
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1124058
2010-05-07 16:03:14 +00:00
Nikhil Marathe
a2a7891789
SVN_SILENT Renamed tilingMode to tilingEnabled to better convey its boolean-ness
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1123140
2010-05-05 12:09:49 +00:00
Nikhil Marathe
5fc7e93d69
Tiling is here!
...
This commit merges the kwin-tiling branch. Ideally it shouldn't break anything and add a few features ;-)
It was applied as a patch. Do not attempt to merge the branch directly, it has a few issues.
This feature is currently experimental, although it hasn't crashed in quite a long time. It lacks some features and probably leaks some memory. Fixes will be on the way.
Season Of KDE 2009 project by Nikhil Marathe
svn path=/trunk/KDE/kdebase/workspace/; revision=1118677
2010-04-25 16:43:14 +00:00
Martin Gräßlin
f2e8fdf067
Use radiobuttons instead of checkboxes in opacity user actions menu.
...
Thanks to Glen Kaukola for the patch.
FEATURE: 227540
svn path=/trunk/KDE/kdebase/workspace/; revision=1105530
2010-03-20 13:58:19 +00:00
Lucas Murray
167e663a35
Add sanity check to client menu actions. Prevents crashes but these
...
functions are still being called on the wrong window.
CCBUG: 219270
svn path=/trunk/KDE/kdebase/workspace/; revision=1063682
2009-12-19 03:53:48 +00:00
Thomas Lübking
99b82bd530
avoid NULL pointer deref
...
BUG: 218202
svn path=/trunk/KDE/kdebase/workspace/; revision=1062003
2009-12-13 14:43:02 +00:00
Lucas Murray
0b153f8861
s/group window/window tab/ where it makes sense to reduce possible
...
confusion.
svn path=/trunk/KDE/kdebase/workspace/; revision=1050318
2009-11-17 08:46:20 +00:00
Lucas Murray
00e131a1a5
Allow window tabbing titlebar actions to be configurable; Set default
...
middle-click titlebar action to tab drag; Fix KCM config file corruption
caused by r1015273.
BUG: 214898
svn path=/trunk/KDE/kdebase/workspace/; revision=1050309
2009-11-17 07:17:49 +00:00
Kevin Ottens
167823f5fa
Make it build with QT_STRICT_ITERATORS.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1049926
2009-11-16 08:22:50 +00:00
Lucas Murray
88a85b1b61
Correct the "switch to group window" list and behaviour of the "to the
...
left/right" actions when right-clicking on an inactive tab in a
titlebar.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049639
2009-11-15 16:04:36 +00:00
Lucas Murray
72c3a553ca
Add ability to switch the active window tab to the left/right by
...
scrolling on the titlebar or when using the WM modifier key.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049547
2009-11-15 12:34:46 +00:00
Lucas Murray
a0d07d12a2
Merged r970865:1049322 from /branches/work/kwin-tabbing
...
Adds window tabbing support to KWin.
FEATURE: 42023
svn path=/trunk/KDE/kdebase/workspace/; revision=1049334
2009-11-15 03:24:04 +00:00
Lucas Murray
8cbce93613
Less warnings please.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031438
2009-10-05 06:59:10 +00:00
Lucas Murray
9f420c13ab
Add ability to switch windows spatially with alt+meta+<direction>.
...
Patch based off code by Dominik Kapusta and Lindsay Roberts.
FEATURE: 74214
svn path=/trunk/KDE/kdebase/workspace/; revision=1030903
2009-10-03 13:09:38 +00:00
Markus Meik Slopianka
d26256cc22
BUG: 207136
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1023070
2009-09-13 20:19:24 +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
Martin Gräßlin
faa64877bf
Add keybinding for show desktop.
...
No shortcut is set by default. Thanks to Alexander (alex3255) for providing the patch.
FEATURE: 182729
svn path=/trunk/KDE/kdebase/workspace/; revision=1022596
2009-09-12 08:01:44 +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
Luboš Luňák
f57fffa276
Fix change caused by r959979 - the opacity popup should not be before
...
desktop popup.
svn path=/trunk/KDE/kdebase/workspace/; revision=990060
2009-07-01 15:16:26 +00:00
Martin Gräßlin
0c91716572
Track change of global shortcuts for tabbox. Required for the tabbox to work correctly when a shortcut is changed.
...
BUG: 163732
svn path=/trunk/KDE/kdebase/workspace/; revision=972533
2009-05-25 08:35:48 +00:00
Aaron J. Seigo
815c7c25a0
make the context menus in the taskbar and the window manager consistent again; put Advanced at the bottom of the list since it is, well, advanced, implying that the other options are more common
...
BUG:190823
svn path=/trunk/KDE/kdebase/workspace/; revision=959979
2009-04-27 17:30:33 +00:00
Toby Dickenson
db1d1dd8d6
BUG: 180754. Prevent 0% opacity using a mouse action. Limit opacity to 10%
...
svn path=/trunk/KDE/kdebase/workspace/; revision=926270
2009-02-14 22:46:30 +00:00
Lucas Murray
893b0c2c71
Merge DesktopLayout class into Workspace.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=926020
2009-02-14 15:40:52 +00:00
Lucas Murray
2e42deec73
When the user lowers the active window with a mouse action also
...
automatically focus the next available window.
BUG: 182146
svn path=/trunk/KDE/kdebase/workspace/; revision=917649
2009-01-28 10:30:44 +00:00
Lucas Murray
f9f4d916e4
When the user lowers the active window with a shortcut automatically
...
focus the next available window.
BUG: 182146
svn path=/trunk/KDE/kdebase/workspace/; revision=917644
2009-01-28 10:03:37 +00:00
Lucas Murray
6881aa9548
Don't allow changing the opacity of the desktop with the mouse shortcut.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=902059
2008-12-27 14:36:40 +00:00
Lucas Murray
d5a630cabd
When window shade hovering is enabled do not immediately shade the
...
window once the cursor leaves the window, instead wait a little while.
Patch by Marcel Partap.
BUG: 81085
svn path=/trunk/KDE/kdebase/workspace/; revision=897056
2008-12-15 08:27:17 +00:00
Laurent Montel
5535a9de5e
Fix iterator
...
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
2008-11-11 23:09:11 +00:00
Luboš Luňák
1d2c54edcc
Support for proper effect reconfiguration instead of reloading them.
...
Fixes e.g. the global animation combo not taking effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=866903
2008-10-02 09:27:32 +00:00
Michael Jansen
11bd92b381
- Correct key usage.
...
- Forget global shortcut
svn path=/trunk/KDE/kdebase/workspace/; revision=866436
2008-09-30 20:44:40 +00:00
Luboš Luňák
27182e3800
Workaround for kwin<->kglobalaccel deadlock, when KWin has X grab and the kded
...
kglobalaccel module tries to create the key grab. KWin should preferably grab
they keys itself anyway :(.
svn path=/trunk/KDE/kdebase/workspace/; revision=866294
2008-09-30 12:03:20 +00:00
Michael Jansen
30f293c01f
Use caption instead of windowId.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=865997
2008-09-29 18:42:45 +00:00
Michael Jansen
b48c438bb0
- Only allow menu entry actions in the KMenuEdit system group.
...
- Create the group if a new configuration is created or a old one is
loaded.
svn path=/trunk/KDE/kdebase/workspace/; revision=863096
2008-09-21 05:27:16 +00:00
Luboš Luňák
085abe58b2
Don't lose the desktop submenu in Alt+F3.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=843596
2008-08-07 11:51:20 +00:00
Lucas Murray
0581746327
Allow moving of maximized windows across screens
...
BUG: 131299
svn path=/trunk/KDE/kdebase/workspace/; revision=837644
2008-07-25 10:31:47 +00:00
Luboš Luňák
e2f835e142
Modules -> Effects, for consistent naming (not sure if the calls
...
are used somewhere). Also fix the strange indent.
CCMAIL: Laurent Montel <montel@kde.org>
svn path=/trunk/KDE/kdebase/workspace/; revision=818994
2008-06-10 09:32:46 +00:00
Laurent Montel
5628d59f1f
Add dbus function to show which effect can be loaded
...
so now all is ok to know which module can be load/unload
svn path=/trunk/KDE/kdebase/workspace/; revision=815903
2008-06-02 20:05:17 +00:00
Laurent Montel
54ede72bf1
Add a dbus function to show which effect is loaded
...
svn path=/trunk/KDE/kdebase/workspace/; revision=815896
2008-06-02 19:52:02 +00:00
Luboš Luňák
8854248626
Make per-window shortcut not crash and make it work, the dialog
...
still could use some more work though.
BUG: 161342
svn path=/trunk/KDE/kdebase/workspace/; revision=815186
2008-06-01 11:36:07 +00:00
Luboš Luňák
1e114cd7ee
I agree that 'To Desktop' submenu should be above 'Opacity', not quite
...
sure above being above 'Advanced', but let's give it a try.
BUG: 161162
svn path=/trunk/KDE/kdebase/workspace/; revision=802396
2008-04-29 08:52:51 +00:00
Luboš Luňák
e7c88f309d
Reduce the difference between noborder requested by the application
...
and set by the user - they're now interchangeable. Which means
that Alt+F3/Advanced/No border can put the window decoration
back on the KRunner window regardless of what Plasma or any other
app thinks.
svn path=/trunk/KDE/kdebase/workspace/; revision=788964
2008-03-23 00:12:11 +00:00
Urs Wolfer
696661b4d4
fix icons
...
svn path=/trunk/KDE/kdebase/workspace/; revision=776770
2008-02-18 19:42:22 +00:00
Luboš Luňák
01bf6cbb4c
License cleanup - add headers where missing, be explicit about GPL
...
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák
d18e4933a0
Make DesktopGrid useful also from keyboard.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=739147
2007-11-20 16:17:08 +00:00
Luboš Luňák
1b8b326c7b
Replace warnings about KShortcutDialog being dead with something that is not dead.
...
Now, since I don't see any shortcuts-related hacks, why exactly am I supposed
to contact you?
CCMAIL: ahartmetz@gmail.com
BUG: 151642
svn path=/trunk/KDE/kdebase/workspace/; revision=731744
2007-11-01 19:24:35 +00:00
Rivo Laks
99e2ed7fa8
Set trans_popup to 0 when creating the popup menu and compositing is off.
...
This prevents trans_popup from becoming dangling pointer and fixes crash when reopening
popup menu after turning off compositing.
svn path=/trunk/KDE/kdebase/workspace/; revision=731306
2007-10-31 09:42:09 +00:00
Luboš Luňák
c0632944a9
Show the opacity slider based on whether compositing is really used,
...
not just configured.
svn path=/trunk/KDE/kdebase/workspace/; revision=728430
2007-10-23 09:00:22 +00:00
Arto Hytönen
e1c6433c8e
pass-by-value -> reference-to-count fixes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=707741
2007-09-02 20:01:17 +00:00
Rivo Laks
824f005f58
Add beginnings of kwincompositing config module, meant to replace kwintranslucency one
...
svn path=/trunk/KDE/kdebase/workspace/; revision=689947
2007-07-19 16:20:05 +00:00
Andreas Hartmetz
ce7709855d
port *ahem* kdebase to the new way of doing global shortcuts
...
svn path=/trunk/KDE/kdebase/workspace/; revision=688440
2007-07-16 04:10:49 +00:00
Rivo Laks
7ebe7238e2
Make reloadEffect() accessible via DBus
...
svn path=/trunk/KDE/kdebase/workspace/; revision=669434
2007-05-29 11:43:30 +00:00
Luboš Luňák
61ada25cdf
Rework r293762 - enter move/resize mode also when the user just
...
holds the mouse button down for a moment, without moving.
svn path=/trunk/KDE/kdebase/workspace/; revision=667351
2007-05-22 15:46:42 +00:00
Luboš Luňák
57b7967d66
When a user clicks on a window, set active Xinerama screen to be the screen
...
where the click occured.
svn path=/trunk/KDE/kdebase/workspace/; revision=662864
2007-05-09 12:30:29 +00:00
Luboš Luňák
1dd1daec48
Shortcuts for switching and moving windows between Xinerama screens.
...
CCBUG: 80755
svn path=/trunk/KDE/kdebase/workspace/; revision=662089
2007-05-07 13:13:48 +00:00
Luboš Luňák
754d9f9589
Merging from old trunk:
...
r655709 | binner | 2007-04-19 07:39:44 +0200 (Thu, 19 Apr 2007) | 2 lines
SVN_SILENT i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=659588
2007-04-30 12:50:10 +00:00
Luboš Luňák
064ccdd2ef
Merging from old trunk:
...
r640669 | aseigo | 2007-03-08 20:32:19 +0100 (Thu, 08 Mar 2007) | 2 lines
oxygen icon naming fixes from Luca Gugelmann
svn path=/trunk/KDE/kdebase/workspace/; revision=659556
2007-04-30 12:09:36 +00:00
Luboš Luňák
f52b8e48cd
branches/work/kwin_composite becomes new trunk kwin.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993
Remove kwin, kwin_composite will become new trunk kwin, missing merges
...
from trunk will be merged in.
svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Dirk Mueller
e218e7e01d
move the "To Desktop" menu to the right place again
...
instead of just appending it
svn path=/trunk/KDE/kdebase/workspace/; revision=657251
2007-04-23 16:49:41 +00:00
Laurent Montel
2178c6dc31
Include fix
...
svn path=/trunk/KDE/kdebase/workspace/; revision=656565
2007-04-21 18:28:47 +00:00
Luboš Luňák
438b8ce045
toggleEffect() DBUS call
...
svn path=/branches/work/kwin_composite/; revision=655369
2007-04-18 06:57:49 +00:00
Rivo Laks
02032f8587
Move most (all?) internal methods from EffectsHandler to EffectsHandlerImpl.
...
The ugly side effect of this is that there are tons of static_casts in the code now... maybe it
would be better to add effectImpl() convenience method and use that?
svn path=/branches/work/kwin_composite/; revision=652348
2007-04-10 18:47:13 +00:00
Luboš Luňák
2c928221a4
namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
...
svn path=/trunk/KDE/kdebase/workspace/; revision=650773
2007-04-05 12:12:10 +00:00
Luboš Luňák
e3b865cd5f
namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
...
svn path=/branches/work/kwin_composite/; revision=650770
2007-04-05 12:07:35 +00:00
Luboš Luňák
3617d1bf8a
Merge r649608, r649403, r649230 and r648582 from trunk (porting).
...
svn path=/branches/work/kwin_composite/; revision=649948
2007-04-03 13:24:05 +00:00
Andreas Hartmetz
ee217245fb
Ported/compile-fixed some code in khotkeys and kwin (that was not fun)
...
Small changes in other places, removed some unnecessary #include <kkeydialog.h> where they showed up.
Related to this kdelibs commit:
KKeyDialog: Renamed to KShortcutsDialog
KKeyChooser: Renamed to KShortcutsEditor
KKeyButton: Replaced by KKeySequenceWidget and KShortcutWidget. KKeySequenceWidget uses modified code from KKeyButton.
KShortcutDialog: Removed
svn path=/trunk/KDE/kdebase/workspace/; revision=648582
2007-03-31 19:04:28 +00:00
Aaron J. Seigo
16c7e13c8a
oxygen icon naming fixes from Luca Gugelmann
...
svn path=/trunk/KDE/kdebase/workspace/; revision=640669
2007-03-08 19:32:19 +00:00
Luboš Luňák
944af602a7
Merge r615045 from trunk to avoid long list of annoying warnings.
...
svn path=/branches/work/kwin_composite/; revision=633223
2007-02-13 15:15:57 +00:00
Luboš Luňák
00136f014f
Configurable effects loading by Cedric Borgese.
...
svn path=/branches/work/kwin_composite/; revision=630276
2007-02-04 22:19:17 +00:00
Philip Falkner
051143b3b7
compilation fixes from trunk (r621518, r621469)
...
svn path=/branches/work/kwin_composite/; revision=621785
2007-01-09 19:34:49 +00:00
Simon Hausmann
877a4df9d6
merged branches/work/kaction-cleanup-branch, courtesy of
...
Kevin, Laurent, Thomas and me.
svn path=/trunk/KDE/kdebase/workspace/; revision=621518
2007-01-08 22:39:24 +00:00
Luboš Luňák
de4d1bc518
Implement cursorPos() as an optimized version of QCursor::pos()
...
that tries to reduce the number of X roundtrips.
svn path=/branches/work/kwin_composite/; revision=620326
2007-01-05 17:45:54 +00:00
Tim Beaulen
01d8fe1308
Build
...
svn path=/branches/work/kwin_composite/; revision=615763
2006-12-22 15:09:35 +00:00
Aaron J. Seigo
5361e68cb0
move to using KIcon where possible
...
also got rid of the clear button in the khelpcenter navigator.
gets rid of 18 billion warnings when compiling.
svn path=/trunk/KDE/kdebase/workspace/; revision=615045
2006-12-19 23:34:40 +00:00
Simon Hausmann
ca449ecaee
merge branches/work/kaction-cleanup-branch: Simplify and clean up KShortcut
...
svn path=/trunk/KDE/kdebase/workspace/; revision=614599
2006-12-18 12:25:10 +00:00
Luboš Luňák
525f761325
Merge in r610651 from trunk (KAction->QAction changes).
...
svn path=/branches/work/kwin_composite/; revision=611022
2006-12-06 13:31:57 +00:00
Simon Hausmann
92ded6a343
Merging branches/work/kaction-cleanup-branch, done by Kevin and me.
...
This removes some usage of KAction in our public API so that one can use QActions
with KDE classes, too, and it removes some use of deprecated API in the apps.
svn path=/trunk/KDE/kdebase/workspace/; revision=610651
2006-12-04 20:44:12 +00:00
Luboš Luňák
840364cd2a
Merge r608181 from trunk (KShortcut/KAction changes).
...
svn path=/branches/work/kwin_composite/; revision=610146
2006-12-03 13:43:37 +00:00
Andreas Hartmetz
8fc2b1843b
Adapt dependent code to KShortcut/KAction changes.
...
svn path=/trunk/KDE/kdebase/khotkeys/; revision=608181
2006-11-27 00:32:31 +00:00
Luboš Luňák
04072fa089
Fix the opacity submenu in Alt+F3.
...
svn path=/branches/work/kwin_composite/; revision=606428
2006-11-20 12:55:06 +00:00
Luboš Luňák
a97c347fa2
svn merge r578276 from trunk
...
svn path=/branches/work/kwin_composite/; revision=602423
2006-11-05 23:11:03 +00:00
Luboš Luňák
532449c852
svn merge r568236,r568494,r568780,r599652,r599655 from trunk
...
(global shortcuts fixes)
svn path=/branches/work/kwin_composite/; revision=600169
2006-10-29 19:40:24 +00:00
Scott Wheeler
bc4375ca2a
These I'm also sure should be globalShortcuts(). Last up are the client actions.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=599655
2006-10-28 02:01:19 +00:00
Scott Wheeler
2ec9782f26
These are all global shortcuts, not shortcuts. I suspect this is probably true
...
for many of the shortcut() calls spread out through this class, but I'll check those
later.
This makes alt-tab and friends almost work.
svn path=/trunk/KDE/kdebase/workspace/; revision=599652
2006-10-28 01:40:01 +00:00
Richard Lärkäng
8e232fcf55
Don't call the actions for advanced settings twice,
...
looks like it's only needed to connect the triggered signal
from the parent menu.
svn path=/trunk/KDE/kdebase/workspace/; revision=578276
2006-08-28 20:35:39 +00:00
Luboš Luňák
fa8cd7541f
It wasn't a very good idea to do even compositing-unrelated
...
work in the work/kwin_composite branch.
svn merge revs 558154,558180,558236,558243,558258,562201
svn path=/trunk/KDE/kdebase/workspace/; revision=571776
2006-08-10 17:00:14 +00:00
Luboš Luňák
1719127d3f
Make the opacity slider and wheel operations work again.
...
svn path=/branches/work/kwin_composite/; revision=558740
2006-07-05 22:26:34 +00:00
Luboš Luňák
f4f07d4fd3
Remove kompmgr-related code except for the generic parts like
...
the slider in Alt+F3.
svn path=/branches/work/kwin_composite/; revision=558258
2006-07-04 23:30:05 +00:00
Thorsten Roeder
e000f78091
fixing some EBN issues
...
svn path=/trunk/KDE/kdebase/workspace/; revision=542916
2006-05-20 15:56:37 +00:00
Laurent Montel
5725624c8b
#include <q...h> -> #include <Q...>
...
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
2006-05-13 16:33:18 +00:00
Laurent Montel
7f7ce52d78
#include <q...h> -> #include <Q...>
...
svn path=/trunk/KDE/kdebase/workspace/; revision=539617
2006-05-11 08:04:23 +00:00
Tobias Koenig
848bc14335
deprecated--
...
svn path=/trunk/KDE/kdebase/workspace/; revision=529106
2006-04-12 15:13:31 +00:00
Thorsten Roeder
98fa3320c5
deprecated--
...
basically:
QRegExp::search() --> QRegExp::indexIn()
QString::find() --> QString::indexOf()
QString::findRev() --> QString::lastIndexOf()
QString::lower() --> QString::toLower()
QString::upper() --> QString::toUpper()
QString::setLength() --> QString::resize()
QByteArray::find() --> QByteArray::indexOf()
QByteArray::findRev() --> QByteArray::lastIndexof()
QTimer::start(ms,sShot) --> {QTimer::setSingleShot() ; QTimer::start()}
QList::remove() --> QList::removeAll()
iterator QList::remove() --> iterator QList::erase()
QComboBox::text() --> QComboBox::itemText()
QByteArray::upper() --> QByteArray::toUpper()
QByteArray::lower() --> QByteArray::toLower()
QString::contains() --> QString::contains()
QEvent::accept(bool) --> QEvent::setAccepted(bool)
svn path=/trunk/KDE/kdebase/workspace/; revision=528719
2006-04-11 17:12:05 +00:00
Hamish Rodda
77bc9cd63d
Merging in from bleeding edge kdebase branch
...
- i18n ported
- KAccel removed
- Some fixes for OS X
svn path=/trunk/KDE/kdebase/workspace/; revision=528190
2006-04-10 11:57:13 +00:00
Luboš Luňák
45c632848a
Small fixes.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=527758
2006-04-09 09:50:56 +00:00
Luboš Luňák
443eb30ac8
switch fall-through fixes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=527754
2006-04-09 09:43:31 +00:00
Allen Winter
ae65a40c7a
TRUE->true, FALSE->false
...
svn path=/trunk/KDE/kdebase/workspace/; revision=511180
2006-02-19 01:33:48 +00:00
Laurent Montel
9d896a7b4e
QMenu doesn't use this function :inline QT3_SUPPORT void setCheckable(bool){}, now setCheckable is just for qaction
...
svn path=/trunk/KDE/kdebase/workspace/; revision=492239
2005-12-29 10:53:20 +00:00
Urs Wolfer
1cf79a8556
less Q3:
...
* remove unused Q3 includes
* port some Q3VBox, Q3HBox, Q3Frame, Q3PopupMenu
svn path=/trunk/KDE/kdebase/workspace/; revision=484457
2005-11-30 21:17:50 +00:00
Luboš Luňák
0ed5a14eb0
Don't put the close popup entry right under the mouse when the window
...
is at the bottom screen edge. These delayed geometry computations sometimes
really suck.
svn path=/trunk/KDE/kdebase/workspace/; revision=473691
2005-10-24 14:00:26 +00:00
Frank Osterfeld
776dc6395e
make it compile
...
CCMAIL: ben@meyerhome.net
svn path=/trunk/KDE/kdebase/workspace/; revision=473125
2005-10-22 18:13:37 +00:00
Stephan Kulow
7a441e1b7a
the easy cases
...
svn path=/trunk/KDE/kdebase/workspace/; revision=466852
2005-10-03 15:13:54 +00:00
Laurent Montel
2fd363c03d
Use QString::split
...
svn path=/trunk/KDE/kdebase/workspace/; revision=463342
2005-09-23 16:46:47 +00:00
Laurent Montel
a166c8e3d4
QToolTip::add -> setToolTip
...
svn path=/trunk/KDE/kdebase/workspace/; revision=462520
2005-09-21 09:14:36 +00:00
Luboš Luňák
c6b24fdb13
Make it simpler to also edit special window setting affecting
...
the whole application.
svn path=/trunk/KDE/kdebase/kwin/; revision=449779
2005-08-16 17:46:42 +00:00
Luboš Luňák
512fb17a95
Forward port of #108961 .
...
svn path=/trunk/KDE/kdebase/kwin/; revision=442363
2005-08-02 13:25:20 +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
Luboš Luňák
fc90a04635
Make it possible to do all kinds of strange things when mousewheeling
...
the titlebar or Alt+mousewheeling the window.
FEATURE:44318
FEATURE:66519
FEATURE:76188
svn path=/trunk/KDE/kdebase/kwin/; revision=410058
2005-05-06 15:20:49 +00:00
Luboš Luňák
abc0141416
Fit the commit for #97490 .
...
svn path=/trunk/KDE/kdebase/kwin/; revision=410020
2005-05-06 13:07:23 +00:00
Luboš Luňák
d4c5fd676a
Show the desktop switch popupinfo also when using mouse, and whatever.
...
BUG: 80698
svn path=/trunk/KDE/kdebase/kwin/; revision=409960
2005-05-06 09:24:51 +00:00
Luboš Luňák
4ac1e42768
BUG:97490
...
svn path=/trunk/kdebase/kwin/; revision=409179
2005-05-02 12:49:06 +00:00
Thomas Lübking
9e6ae5b095
BUGS:99840
...
adjust opacity on slider.valueChanged() rather than s.moved() (allowing use of mw)
svn path=/trunk/kdebase/kwin/; revision=391549
2005-02-20 23:04:19 +00:00
Thomas Lübking
988c0933c7
BUGS:99718
...
opacity popup now not closing on slider releases
svn path=/trunk/kdebase/kwin/; revision=390732
2005-02-18 23:11:39 +00:00
Thomas Lübking
07906c47c0
just noticed that clicking the button on the opacity slider causes the same misvalue problem - fixed
...
svn path=/trunk/kdebase/kwin/; revision=390378
2005-02-17 21:12:01 +00:00
Thomas Lübking
de85f12894
BUGS:99636
...
fixes wrong opacity value on popup show
svn path=/trunk/kdebase/kwin/; revision=390369
2005-02-17 20:48:11 +00:00
Luboš Luňák
bdd2665a29
Something I forgot for #44268 - show the shortcut in the titlebar.
...
svn path=/trunk/kdebase/kwin/; revision=387104
2005-02-07 15:17:26 +00:00
Luboš Luňák
119aa760c7
Make setting the same shortcut again work.
...
svn path=/trunk/kdebase/kwin/; revision=385879
2005-02-03 15:59:57 +00:00
Luboš Luňák
a3d314ca4e
Make the 'Edit' button for shortcut in window-specific settings
...
do at least something.
svn path=/trunk/kdebase/kwin/; revision=385467
2005-02-02 18:57:21 +00:00
Luboš Luňák
b47b0e881c
Cancel shade hover if the user changes shade state.
...
BUG: 96921
svn path=/trunk/kdebase/kwin/; revision=383251
2005-01-28 13:44:08 +00:00
Luboš Luňák
115154abd2
The filesave icon doesn't really fit the window-specific settings entry.
...
svn path=/trunk/kdebase/kwin/; revision=382890
2005-01-27 12:31:24 +00:00
Luboš Luňák
3ca2ea00c8
Make sure the operation is performed on the right window when
...
opening the Alt+F3 popup using mouse for some inactive window.
BUG: 97040
svn path=/trunk/kdebase/kwin/; revision=380461
2005-01-20 15:10:03 +00:00
Luboš Luňák
ad44b2e9f3
Setting any values doesn't belong to Workspace::clientPopup().
...
svn path=/trunk/kdebase/kwin/; revision=380456
2005-01-20 14:58:39 +00:00
Luboš Luňák
21f621f985
Make the window shortcut dialog-popup work even when opened from the Alt+F3 popup.
...
svn path=/trunk/kdebase/kwin/; revision=379446
2005-01-17 16:19:33 +00:00
Luboš Luňák
07203ba5b6
Window-specific rules for dynamic windows shortcuts, so that it's
...
possible to always have certain shortcuts assigned to their windows
if such windows are open. Still few TODO items left, but let's consider
it enough for #44268 to be marked as done.
FEATURE: 44268
svn path=/trunk/kdebase/kwin/; revision=379444
2005-01-17 15:53:14 +00:00
Stephan Binner
079bd1a446
compile
...
svn path=/trunk/kdebase/kwin/; revision=378978
2005-01-16 09:12:28 +00:00
Thomas Lübking
8ad47028f6
Added composite (translucency/shadows) support
...
svn path=/trunk/kdebase/kwin/; revision=378790
2005-01-15 17:07:48 +00:00
Luboš Luňák
65c3b55e05
Revert last revert, dynamic keybidings are back in.
...
svn path=/trunk/kdebase/kwin/; revision=377118
2005-01-10 09:56:21 +00:00
Luboš Luňák
c7d0776f01
Revert last changes because of temporary freeze.
...
svn path=/trunk/kdebase/kwin/; revision=375467
2005-01-04 14:57:42 +00:00
Luboš Luňák
d04ce83410
Custom shortcuts for windows ( #44268 ). It still needs some testing, window
...
rules for them to be assigned automatically, and some way to indicate
every window's shortcut, but it more or less works.
svn path=/trunk/kdebase/kwin/; revision=375458
2005-01-04 14:24:55 +00:00
Luboš Luňák
bb9b3a94c6
Shading fixes. This should also take care of #91615 .
...
BUG: 91615
svn path=/trunk/kdebase/kwin/; revision=367240
2004-11-29 18:46:04 +00:00
Luboš Luňák
43e7580cf0
Shortcuts for moving a window to left/right/up/down.
...
CCMAIL: 87411-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=348524
2004-09-22 16:49:41 +00:00
Luboš Luňák
11198bc7fd
Fix windowtonext/previous desktop shortcut.
...
CCMAIL: 87251-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=342167
2004-08-28 14:33:28 +00:00
Luboš Luňák
82769e6bc2
The desktops popup needs to be recreated as well.
...
svn path=/trunk/kdebase/kwin/; revision=324260
2004-06-28 14:02:32 +00:00
Luboš Luňák
95019e5c16
Fix #83587 - some entries in Alt+F3 don't say the shortcut.
...
Also update the labels if the shortcuts change.
svn path=/trunk/kdebase/kwin/; revision=324245
2004-06-28 13:15:05 +00:00
Luboš Luňák
36b64e3897
GUI for rules (=window specific settings). Have fun figuring out how it
...
works, because I haven't written any kind of docs for it yet, and
the most important button doesn't work yet either (yes, that one that
has it written on it). I just hope the GUI doesn't suck too much, because
I'm really bad at such things.
svn path=/trunk/kdebase/kwin/; revision=322524
2004-06-21 16:25:24 +00:00
Luboš Luňák
094befa1de
Make it possible to have several rules matching one window.
...
svn path=/trunk/kdebase/kwin/; revision=321637
2004-06-18 08:57:42 +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
Luboš Luňák
8e09a9bc22
I guess I could finally find some time to work on things for 3.3.
...
Initial work on kwin rules, i.e. #36377 , per window specific settings.
So far only desktop/above/below work, no GUI, and settings from the old
'Save window settings' are ignored for now.
svn path=/trunk/kdebase/kwin/; revision=315446
2004-05-28 13:51:11 +00:00
Luboš Luňák
f701524d4e
Experimental support for #36065 (dragging from a window shouldn't raise it).
...
Needs a Qt patch.
svn path=/trunk/kdebase/kwin/; revision=304194
2004-04-16 10:23:42 +00:00
Waldo Bastian
30faf2c53e
KIOSK: Hide configure option if control modules have not been authorized
...
svn path=/trunk/kdebase/kwin/; revision=296848
2004-03-18 13:18:41 +00:00
Luboš Luňák
ff081c36a0
Fix #76394 ,
...
svn path=/trunk/kdebase/kwin/; revision=293762
2004-03-05 14:22:11 +00:00
Luboš Luňák
ed511fc454
Reshuffle the options in the Alt+F3 menu a bit and see what is does ...
...
svn path=/trunk/kdebase/kwin/; revision=287759
2004-02-13 15:15:37 +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
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
162c76cf46
Reset Client::buttonDown if startMoveResize() failed
...
due to not being able to grab input. Visible with
resizing the shortcut configure dialog, which has grab.
svn path=/trunk/kdebase/kwin/; revision=269293
2003-11-24 14:24:34 +00:00
Luboš Luňák
8b5159bb1a
Warn when somebody plays too much, turns off a border and doesn't know how
...
to put it back *sigh*.
CCMAIL: 64938-done@bugs.kde.org
svn path=/trunk/kdebase/kwin/; revision=258583
2003-10-13 16:22:39 +00:00
Luboš Luňák
25e85e3a48
Small cleanup of the Alt+F3 menu.
...
svn path=/trunk/kdebase/kwin/; revision=258580
2003-10-13 16:18:04 +00:00
Stephan Binner
2ec6c54769
Moved window options into a sub-menu. Still not convinced that having full
...
screen and noborder there is a good idea. How does an application get notified
that it was switched to full screen mode? How do you revert these settings?
svn path=/trunk/kdebase/kwin/; revision=254230
2003-09-26 21:32:49 +00:00
Luboš Luňák
affe6e19cc
Keyboard shortcut for turning off the border.
...
svn path=/trunk/kdebase/kwin/; revision=251809
2003-09-17 10:57:28 +00:00
Luboš Luňák
10f405c73d
Merging kwin core from kwin_iii back to HEAD.
...
svn path=/trunk/kdebase/kwin/; revision=251608
2003-09-16 19:28:03 +00:00