Commit graph

281 commits

Author SHA1 Message Date
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