Sponsored Content
Operating Systems Linux Ubuntu Convertible switcher for Ubuntu required Post 302972999 by Corona688 on Thursday 12th of May 2016 12:54:56 PM
Old 05-12-2016
What precisely do you mean by 'tablet mode'?
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies

2. Shell Programming and Scripting

Getting required fields from a test file in required fromat in unix

My data is something like shown below. date1 date2 aaa bbbb ccccc date3 date4 dddd eeeeeee ffffffffff ggggg hh I want the output like this date1date2 aaa eeeeee I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies

3. Red Hat

Maximizing X window without Window Switcher

Hi everyone! I have a strange situation. I'm running an NX remote Gnome desktop session. On the remote machine, there is a whole load of unsaved data in a window. A problem that I've been having with this NX session is that I can't load Gnome Applets, including the Window Switcher. So.. when I... (0 Replies)
Discussion started by: alexandicity
0 Replies

4. Ubuntu

Ubuntu / Ubuntu File Manager / Config

I am using Ubuntu 9.10 with Gnome 2.28. I use the default Nautilus File Manager to view / manage files. Is there a way to add icons or customize the icons that are above the location bar and below the menus? There is a bar that has icons for "Back" "Forward" "Parent" above the location bar. I... (6 Replies)
Discussion started by: drewk
6 Replies

5. Ubuntu

[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!

Gurus, I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup. * open a shell session to NFS server... (2 Replies)
Discussion started by: alan
2 Replies

6. Ubuntu

Re-install Ubuntu 14.04 from system with Ubuntu on it

I need to re-install ubuntu on a system with ubuntu 14.04 already installed. I have the cd but can not seem to boot from it or find the installer. Is there a way to re-install from the command line or how do I do a fresh re-install? Thank you :) ---------- Post updated at 10:13 AM... (2 Replies)
Discussion started by: cmccabe
2 Replies
QTabletEvent(3qt)														 QTabletEvent(3qt)

NAME
QTabletEvent - Parameters that describe a Tablet event SYNOPSIS
#include <qevent.h> Inherits QEvent. Public Members enum TabletDevice { NoDevice = -1, Puck, Stylus, Eraser } QTabletEvent ( Type t, const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const QPair<int, int> & uId ) QTabletEvent ( const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const QPair<int, int> & uId ) (obsolete) int pressure () const int xTilt () const int yTilt () const const QPoint & pos () const const QPoint & globalPos () const int x () const int y () const int globalX () const int globalY () const TabletDevice device () const int isAccepted () const void accept () void ignore () QPair<int, int> uniqueId () DESCRIPTION
The QTabletEvent class contains parameters that describe a Tablet event. Tablet Events are generated from a Wacom&copy; tablet. Most of the time you will want to deal with events from the tablet as if they were events from a mouse, for example retrieving the position with x(), y(), pos(), globalX(), globalY() and globalPos(). In some situations you may wish to retrieve the extra information provided by the tablet device driver, for example, you might want to adjust color brightness based on pressure. QTabletEvent allows you to get the pressure(), the xTilt() and yTilt(), as well as the type of device being used with device() (see TabletDevice). A tablet event contains a special accept flag that indicates whether the receiver wants the event. You should call QTabletEvent::accept() if you handle the tablet event; otherwise it will be sent to the parent widget. The QWidget::setEnabled() function can be used to enable or disable mouse and keyboard events for a widget. The event handler QWidget::tabletEvent() receives all three types of tablet events. Qt will first send a tabletEvent and then, if it is not accepted, it will send a mouse event. This allows applications that don't utilize tablets to use a tablet like a mouse while also enabling those who want to use both tablets and mouses differently. See also Event Classes. Member Type Documentation QTabletEvent::TabletDevice This enum defines what type of device is generating the event. QTabletEvent::NoDevice - No device, or an unknown device. QTabletEvent::Puck - A Puck (a device that is similar to a flat mouse with a transparent circle with cross-hairs). QTabletEvent::Stylus - A Stylus (the narrow end of the pen). QTabletEvent::Eraser - An Eraser (the broad end of the pen). MEMBER FUNCTION DOCUMENTATION
QTabletEvent::QTabletEvent ( Type t, const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const QPair<int, int> & uId ) Construct a tablet event of type t. The position of when the event occurred is given int pos and globalPos. device contains the device type, pressure contains the pressure exerted on the device, xTilt and yTilt contain device's degree of tilt from the X and Y axis respectively. The uId contains an event id. On Irix, globalPos will contain the high-resolution coordinates received from the tablet device driver, instead of from the windowing system. See also pos(), globalPos(), device(), pressure(), xTilt(), and yTilt(). QTabletEvent::QTabletEvent ( const QPoint & pos, const QPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const QPair<int, int> & uId ) This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. Constructs a tablet event object. The position when the event occurred is is given in pos and globalPos. device contains the device type, pressure contains the pressure exerted on the device, xTilt and yTilt contain the device's degrees of tilt from the X and Y axis respectively. The uId contains an event id. On Irix, globalPos will contain the high-resolution coordinates received from the tablet device driver, instead of from the windowing system. See also pos(), globalPos(), device(), pressure(), xTilt(), and yTilt(). void QTabletEvent::accept () Sets the accept flag of the tablet event object. Setting the accept flag indicates that the receiver of the event wants the tablet event. Unwanted tablet events are sent to the parent widget. The accept flag is set by default. See also ignore(). TabletDevice QTabletEvent::device () const Returns the type of device that generated the event. Useful if you want one end of the pen to do something different than the other. See also TabletDevice. const QPoint &; QTabletEvent::globalPos () const Returns the global position of the device at the time of the event. This is important on asynchronous windows systems like X11; whenever you move your widgets around in response to mouse events, globalPos() can differ significantly from the current position QCursor::pos(). See also globalX() and globalY(). int QTabletEvent::globalX () const Returns the global x-position of the mouse pointer at the time of the event. See also globalY() and globalPos(). int QTabletEvent::globalY () const Returns the global y-position of the mouse pointer at the time of the event. See also globalX() and globalPos(). void QTabletEvent::ignore () Clears the accept flag parameter of the tablet event object. Clearing the accept flag indicates that the event receiver does not want the tablet event. Unwanted tablet events are sent to the parent widget. The accept flag is set by default. See also accept(). int QTabletEvent::isAccepted () const Returns TRUE if the receiver of the event handles the tablet event; otherwise returns FALSE. const QPoint &; QTabletEvent::pos () const Returns the position of the device, relative to the widget that received the event. If you move widgets around in response to mouse events, use globalPos() instead of this function. See also x(), y(), and globalPos(). int QTabletEvent::pressure () const Returns the pressure that is exerted on the device. This number is a value from 0 (no pressure) to 255 (maximum pressure). The pressure is always scaled to be within this range no matter how many pressure levels the underlying hardware supports. QPair<;int, int> QTabletEvent::uniqueId () Returns a unique ID for the current device. It is possible to generate a unique ID for any Wacom&copy; device. This makes it possible to differentiate between multiple devices being used at the same time on the tablet. The first member contains a value for the type, the second member contains a physical ID obtained from the device. Each combination of these values is unique. Note: for different platforms, the first value is different due to different driver implementations. int QTabletEvent::x () const Returns the x-position of the device, relative to the widget that received the event. See also y() and pos(). int QTabletEvent::xTilt () const Returns the difference from the perpendicular in the X Axis. Positive values are towards the tablet's physical right. The angle is in the range -60 to +60 degrees. See also yTilt(). int QTabletEvent::y () const Returns the y-position of the device, relative to the widget that received the event. See also x() and pos(). int QTabletEvent::yTilt () const Returns the difference from the perpendicular in the Y Axis. Positive values are towards the bottom of the tablet. The angle is within the range -60 to +60 degrees. See also xTilt(). SEE ALSO
http://doc.trolltech.com/qtabletevent.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qtabletevent.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QTabletEvent(3qt)
All times are GMT -4. The time now is 01:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy