• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

  • tdeui
kcursor.h
1/* This file is part of the KDE libraries
2 Copyright (C) 1998 Kurt Granroth (granroth@kde.org)
3 2000 Carsten Pfeiffer <pfeiffer@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License version 2 as published by the Free Software Foundation.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19/*
20 * $Id$
21 *
22 */
23#ifndef _KCURSOR_H
24#define _KCURSOR_H
25
26#include <tqcursor.h>
27#include <tdelibs_export.h>
28
29class TQWidget;
30
45class TDEUI_EXPORT KCursor : public TQt
46{
47public:
53 KCursor();
54
59 static TQCursor handCursor();
60
65 static TQCursor workingCursor();
66
71 static TQCursor arrowCursor();
72
77 static TQCursor upArrowCursor();
78
83 static TQCursor crossCursor();
84
89 static TQCursor waitCursor();
90
95 static TQCursor ibeamCursor();
96
101 static TQCursor sizeVerCursor();
102
107 static TQCursor sizeHorCursor();
108
113 static TQCursor sizeBDiagCursor();
114
119 static TQCursor sizeFDiagCursor();
120
125 static TQCursor sizeAllCursor();
126
130 static TQCursor blankCursor();
131
135 static TQCursor whatsThisCursor();
136
159 static void setAutoHideCursor( TQWidget *w, bool enable );
160
170 static void setAutoHideCursor( TQWidget *w, bool enable,
171 bool customEventFilter );
172
179 static void setHideCursorDelay( int ms );
180
186 static int hideCursorDelay();
187
217 static void autoHideEventFilter( TQObject *, TQEvent * );
218
219private:
220 static TQCursor *s_handCursor;
221};
222
223
224#endif // _KCURSOR_H
KCursor::setAutoHideCursor
static void setAutoHideCursor(TQWidget *w, bool enable)
Sets auto-hiding the cursor for widget w.
Definition kcursor.cpp:218
KCursor::arrowCursor
static TQCursor arrowCursor()
Returns the proper arrow cursor according to the current GUI style (static function).
Definition kcursor.cpp:146
KCursor::sizeHorCursor
static TQCursor sizeHorCursor()
Returns the proper horizontal resize cursor according to the current GUI style (static function).
Definition kcursor.cpp:182
KCursor::KCursor
KCursor()
Constructor.
Definition kcursor.cpp:39
KCursor::sizeAllCursor
static TQCursor sizeAllCursor()
Returns the proper all-directions resize cursor according to the current GUI style (static function).
Definition kcursor.cpp:200
KCursor::crossCursor
static TQCursor crossCursor()
Returns the proper cross-hair cursor according to the current GUI style (static function).
Definition kcursor.cpp:158
KCursor::blankCursor
static TQCursor blankCursor()
Returns a blank or invisible cursor (static function).
Definition kcursor.cpp:206
KCursor::sizeFDiagCursor
static TQCursor sizeFDiagCursor()
Returns the proper diagonal resize () cursor according to the current GUI style (static function).
Definition kcursor.cpp:194
KCursor::upArrowCursor
static TQCursor upArrowCursor()
Returns the proper up arrow cursor according to the current GUI style (static function).
Definition kcursor.cpp:152
KCursor::hideCursorDelay
static int hideCursorDelay()
Definition kcursor.cpp:239
KCursor::waitCursor
static TQCursor waitCursor()
Returns the proper hourglass cursor according to the current GUI style (static function).
Definition kcursor.cpp:164
KCursor::handCursor
static TQCursor handCursor()
Returns the proper hand cursor according to the current GUI style (static function).
Definition kcursor.cpp:43
KCursor::whatsThisCursor
static TQCursor whatsThisCursor()
Returns a WhatsThis cursor (static function).
Definition kcursor.cpp:211
KCursor::workingCursor
static TQCursor workingCursor()
Returns the proper arrow+hourglass cursor according to the current GUI style (static function).
Definition kcursor.cpp:125
KCursor::ibeamCursor
static TQCursor ibeamCursor()
Returns the proper text cursor according to the current GUI style (static function).
Definition kcursor.cpp:170
KCursor::sizeVerCursor
static TQCursor sizeVerCursor()
Returns the proper vertical resize cursor according to the current GUI style (static function).
Definition kcursor.cpp:176
KCursor::autoHideEventFilter
static void autoHideEventFilter(TQObject *, TQEvent *)
KCursor has to install an eventFilter over the widget you want to auto-hide.
Definition kcursor.cpp:229
KCursor::setHideCursorDelay
static void setHideCursorDelay(int ms)
Sets the delay time in milliseconds for auto-hiding.
Definition kcursor.cpp:234
KCursor::sizeBDiagCursor
static TQCursor sizeBDiagCursor()
Returns the proper diagonal resize (/) cursor according to the current GUI style (static function).
Definition kcursor.cpp:188

tdeui

Skip menu "tdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.15.0
This website is maintained by Timothy Pearson.