GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
QwtDialNeedle(3) Qwt User's Guide QwtDialNeedle(3)

QwtDialNeedle -

#include <qwt_dial_needle.h>
Inherited by QwtCompassMagnetNeedle, QwtCompassWindArrow, and QwtDialSimpleNeedle.


QwtDialNeedle ()
 
virtual ~QwtDialNeedle ()
 
virtual void draw (QPainter *painter, const QPoint &center, int length, double direction, QPalette::ColorGroup cg=QPalette::Active) const =0
 
const QPalette & palette () const
 
virtual void setPalette (const QPalette &)
 


static void drawKnob (QPainter *, const QPoint &pos, int width, const QBrush &, bool sunken)
 

Base class for needles that can be used in a QwtDial.
QwtDialNeedle is a pointer that indicates a value by pointing to a specific direction.
Qwt is missing a set of good looking needles. Contributions are very welcome.
See also:
QwtDial, QwtCompass

Draw the needle
Parameters:
painter Painter
 
center Center of the dial, start position for the needle
 
length Length of the needle
 
direction Direction of the needle, in degrees counter clockwise
 
cg Color group, used for painting
Implemented in QwtCompassWindArrow, QwtCompassMagnetNeedle, and QwtDialSimpleNeedle.

Returns:
the palette of the needle.

Sets the palette for the needle.
Parameters:
palette New Palette

Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 Version 5.2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.