x-snmp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[X-snmp-devel] widget pixel


From: David Sherwood
Subject: [X-snmp-devel] widget pixel
Date: Sat, 25 Dec 2004 08:57:40 +0400

How can I get a particular pixel value from a widget?
One solution could be to create an image from widget and than pick (x,y)
coordinate, but this is a very slow operation!

QPixmap pix(size());
bitBlt(pix, QPoint(0, 0), this, QRect(0, 0, width(), height()));
QImage img = pix.convertToImage();
QRgb value = img.pixel(x, y);

Some one know a faster way?



Best Regards
http://www.tryask.com/

 


Please read TERMS OF SERVICE


Marketing
Direct Mail
Telemarketing
Web Site Promotion
Mailing Lists
Promotional Items
Business Cards
Entertainment
Television
Books
Concert Tickets
Music
Movies
Gaming


WE currently provides users with access to a rich collection of resources, including, various communications tools, forums, shopping services, search services, personalized content and branded programming through its network of properties (the "Service"). You also understand and agree that the Service may include advertisements and that these advertisements are necessary for WE to provide the Service. You also understand and agree that the service may include certain communications from WE, such as service announcements, administrative messages and the WE Newsletter, and that these communications are considered part of WE membership and you will not be able to opt out of receiving them. Unless explicitly stated otherwise, any new features that augment or enhance the current Service, including the release of new WE properties, shall be subject to the TOS. You understand and agree that the Service is provided "AS-IS" and that WE assumes no responsibility for the timeliness, deletion, mis-delivery or failure to store any user communications or personalization settings. You are responsible for obtaining access to the Service and that access may involve third party fees (such as Internet service provider or airtime charges). You are responsible for those fees, including those fees associated with the display or delivery of advertisements. In addition, you must provide and are responsible for all equipment necessary to access the Service.
Thank you for your attention!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]