~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.2/doc/man/man3/QwtDialSimpleNeedle.3

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-04-12 23:25:58 UTC
  • mfrom: (1.1.4 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090412232558-3bl06x785yr8xm8u
Tags: 5.1.2-1
* New upstream release.
* Bump compat/debhelper to 7.
* Bump Standards-Version to 3.8.1. No changes needed.
* Invert Maintainers and Uploaders field.
* Fix lintian warnings:
  - dh_clean _k deprecated.
  - missing dependency on libc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "QwtDialSimpleNeedle" 3 "22 Mar 2009" "Version 5.1.2" "Qwt User's Guide" \" -*- nroff -*-
 
2
.ad l
 
3
.nh
 
4
.SH NAME
 
5
QwtDialSimpleNeedle \- 
 
6
.SH SYNOPSIS
 
7
.br
 
8
.PP
 
9
Inherits \fBQwtDialNeedle\fP.
 
10
.PP
 
11
.SH "Detailed Description"
 
12
.PP 
 
13
A needle for dial widgets. 
 
14
 
 
15
The following colors are used:
 
16
.IP "\(bu" 2
 
17
QColorGroup::Mid
 
18
.br
 
19
 Pointer
 
20
.IP "\(bu" 2
 
21
QColorGroup::base
 
22
.br
 
23
 Knob
 
24
.PP
 
25
.PP
 
26
\fBSee also:\fP
 
27
.RS 4
 
28
\fBQwtDial\fP, \fBQwtCompass\fP 
 
29
.RE
 
30
.PP
 
31
 
 
32
.PP
 
33
Definition at line 73 of file qwt_dial_needle.h.
 
34
.SS "Public Types"
 
35
 
 
36
.in +1c
 
37
.ti -1c
 
38
.RI "enum \fBStyle\fP { \fBArrow\fP, \fBRay\fP, \fBTriangleStyle\fP, \fBThinStyle\fP, \fBStyle1\fP, \fBStyle2\fP, \fBNoSymbol\fP =  -1, \fBEllipse\fP, \fBRect\fP, \fBDiamond\fP, \fBTriangle\fP, \fBDTriangle\fP, \fBUTriangle\fP, \fBLTriangle\fP, \fBRTriangle\fP, \fBCross\fP, \fBXCross\fP, \fBHLine\fP, \fBVLine\fP, \fBStar1\fP, \fBStar2\fP, \fBHexagon\fP, \fBStyleCnt\fP }"
 
39
.br
 
40
.in -1c
 
41
.SS "Public Member Functions"
 
42
 
 
43
.in +1c
 
44
.ti -1c
 
45
.RI "\fBQwtDialSimpleNeedle\fP (\fBStyle\fP, bool hasKnob=true, const QColor &mid=Qt::gray, const QColor &base=Qt::darkGray)"
 
46
.br
 
47
.ti -1c
 
48
.RI "virtual void \fBdraw\fP (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const"
 
49
.br
 
50
.ti -1c
 
51
.RI "void \fBsetWidth\fP (int width)"
 
52
.br
 
53
.ti -1c
 
54
.RI "int \fBwidth\fP () const"
 
55
.br
 
56
.in -1c
 
57
.SS "Static Public Member Functions"
 
58
 
 
59
.in +1c
 
60
.ti -1c
 
61
.RI "static void \fBdrawArrowNeedle\fP (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, int width, double direction, bool hasKnob)"
 
62
.br
 
63
.ti -1c
 
64
.RI "static void \fBdrawRayNeedle\fP (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, int width, double direction, bool hasKnob)"
 
65
.br
 
66
.in -1c
 
67
.SH "Member Enumeration Documentation"
 
68
.PP 
 
69
.SS "enum \fBQwtDialSimpleNeedle::Style\fP"
 
70
.PP
 
71
Style of the needle. 
 
72
.PP
 
73
Definition at line 77 of file qwt_dial_needle.h.
 
74
.SH "Constructor & Destructor Documentation"
 
75
.PP 
 
76
.SS "QwtDialSimpleNeedle::QwtDialSimpleNeedle (\fBStyle\fP style, bool hasKnob = \fCtrue\fP, const QColor & mid = \fCQt::gray\fP, const QColor & base = \fCQt::darkGray\fP)"
 
77
.PP
 
78
Constructor 
 
79
.PP
 
80
Definition at line 91 of file qwt_dial_needle.cpp.
 
81
.PP
 
82
References QwtDialNeedle::palette(), and QwtDialNeedle::setPalette().
 
83
.SH "Member Function Documentation"
 
84
.PP 
 
85
.SS "void QwtDialSimpleNeedle::draw (QPainter * painter, const QPoint & center, int length, double direction, QPalette::ColorGroup colorGroup = \fCQPalette::Active\fP) const\fC [virtual]\fP"
 
86
.PP
 
87
Draw the needle
 
88
.PP
 
89
\fBParameters:\fP
 
90
.RS 4
 
91
\fIpainter\fP Painter 
 
92
.br
 
93
\fIcenter\fP Center of the dial, start position for the needle 
 
94
.br
 
95
\fIlength\fP Length of the needle 
 
96
.br
 
97
\fIdirection\fP Direction of the needle, in degrees counter clockwise 
 
98
.br
 
99
\fIcolorGroup\fP Color group, used for painting 
 
100
.RE
 
101
.PP
 
102
 
 
103
.PP
 
104
Implements \fBQwtDialNeedle\fP.
 
105
.PP
 
106
Definition at line 132 of file qwt_dial_needle.cpp.
 
107
.PP
 
108
References drawArrowNeedle(), drawRayNeedle(), and QwtDialNeedle::palette().
 
109
.SS "void QwtDialSimpleNeedle::drawArrowNeedle (QPainter * painter, const QPalette & palette, QPalette::ColorGroup colorGroup, const QPoint & center, int length, int width, double direction, bool hasKnob)\fC [static]\fP"
 
110
.PP
 
111
Draw a needle looking like an arrow 
 
112
.PP
 
113
Definition at line 202 of file qwt_dial_needle.cpp.
 
114
.PP
 
115
References QwtDialNeedle::drawKnob().
 
116
.PP
 
117
Referenced by draw().
 
118
.SS "void QwtDialSimpleNeedle::drawRayNeedle (QPainter * painter, const QPalette & palette, QPalette::ColorGroup colorGroup, const QPoint & center, int length, int width, double direction, bool hasKnob)\fC [static]\fP"
 
119
.PP
 
120
Draw a needle looking like a ray 
 
121
.PP
 
122
Definition at line 150 of file qwt_dial_needle.cpp.
 
123
.PP
 
124
References QwtDialNeedle::drawKnob().
 
125
.PP
 
126
Referenced by draw().
 
127
.SS "void QwtDialSimpleNeedle::setWidth (int width)"
 
128
.PP
 
129
Set the width of the needle. 
 
130
.PP
 
131
Definition at line 110 of file qwt_dial_needle.cpp.
 
132
.SS "int QwtDialSimpleNeedle::width () const"
 
133
.PP
 
134
\fBReturns:\fP
 
135
.RS 4
 
136
the width of the needle 
 
137
.RE
 
138
.PP
 
139
 
 
140
.PP
 
141
Definition at line 118 of file qwt_dial_needle.cpp.
 
142
 
 
143
.SH "Author"
 
144
.PP 
 
145
Generated automatically by Doxygen for Qwt User's Guide from the source code.