KWinInternal::TabBox Class Reference
List of all members.Detailed Description
Definition at line 28 of file tabbox.h.
Public Types | |
enum | Mode { DesktopMode, DesktopListMode, WindowsMode } |
Public Member Functions | |
TabBox (Workspace *ws, const char *name=0) | |
~TabBox () | |
Client * | currentClient () |
int | currentDesktop () |
void | setMode (Mode mode) |
Mode | mode () const |
void | reset () |
void | nextPrev (bool next=TRUE) |
void | delayedShow () |
void | hide () |
void | handleMouseEvent (XEvent *) |
Workspace * | workspace () const |
void | reconfigure () |
void | updateKeyMapping () |
Protected Member Functions | |
void | showEvent (QShowEvent *) |
void | hideEvent (QHideEvent *) |
void | drawContents (QPainter *) |
Member Function Documentation
|
Returns the currently displayed client ( only works in WindowsMode ). Returns 0 if no client is displayed. Definition at line 286 of file tabbox.cpp. |
|
Returns the currently displayed virtual desktop ( only works in DesktopListMode ) Returns -1 if no desktop is displayed. Definition at line 300 of file tabbox.cpp. |
|
Rikkus: please document! (Matthias) Ok, here's the docs :) You call delayedShow() instead of show() directly. If the 'ShowDelay' setting is false, show() is simply called. Otherwise, we start a timer for the delay given in the settings and only do a show() when it times out. This means that you can alt-tab between windows and you don't see the tab box immediately. Not only does this make alt-tabbing faster, it gives less 'flicker' to the eyes. You don't need to see the tab box if you're just quickly switching between 2 or 3 windows. It seems to work quite nicely. Definition at line 550 of file tabbox.cpp. |
|
Paints the tab box Definition at line 328 of file tabbox.cpp. |
|
hide the icon box if necessary Definition at line 321 of file tabbox.cpp. |
|
Returns the current mode, either DesktopListMode or WindowsMode
|
|
Shows the next or previous item, depending on next Definition at line 229 of file tabbox.cpp. |
|
Resets the tab box to display the active client in WindowsMode, or the current desktop in DesktopListMode Definition at line 141 of file tabbox.cpp. |
|
Sets the current mode to mode, either DesktopListMode or WindowsMode
Definition at line 73 of file tabbox.cpp. |
|
Reimplemented to raise the tab box as well Definition at line 312 of file tabbox.cpp. |
|
Returns the tab box' workspace |
The documentation for this class was generated from the following files: