~ubuntu-branches/ubuntu/wily/tora/wily-proposed

« back to all changes in this revision

Viewing changes to help/api/toResultLine.html

  • Committer: Bazaar Package Importer
  • Author(s): Albin Tonnerre
  • Date: 2007-05-29 13:13:36 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529131336-85ygaddivvmkd3xc
Tags: 1.3.21pre22-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules: call dh_iconcache
  - Remove g++ build dependency
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<HTML>
2
 
<HEAD>
3
 
<TITLE>class toResultLine</TITLE>
4
 
 
5
 
<META NAME="Generator" CONTENT="KDOC ">
6
 
</HEAD>
7
 
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
8
 
<TABLE WIDTH="100%" BORDER="0">
9
 
<TR>
10
 
<TD>
11
 
        <TABLE BORDER="0">
12
 
                <TR><TD valign="top" align="left" cellspacing="10">
13
 
                <h1>class toResultLine</h1>
14
 
                </TD>
15
 
                <TD valign="top" align="right" colspan="1"> Display the result of a query in a piechart. <small><A HREF="#longdesc">More...</A></small></TD></TR>
16
 
        </TABLE>
17
 
        <HR>
18
 
        <TABLE BORDER="0">
19
 
                <TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="toresultline_h.html">toresultline.h</A>&gt;</code></TD></TR>
20
 
<TR><TH>Inherits</TH><TD><A HREF="toLineChart.html">toLineChart</A> <small>[public ]</small>, <i><A HREF="toResult.html">toResult</A></i> <small>[public ]</small></TD></TR>
21
 
<TR><TH><A HREF="full-list-toResultLine.html">List of all Methods</A></TH></TR>
22
 
        </TABLE>
23
 
        </TD>
24
 
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
25
 
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
26
 
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
27
 
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
28
 
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
29
 
</TABLE></TD></TR></TABLE>
30
 
<h4>Public Methods</h4><ul><LI>&nbsp;<b><A HREF="#ref10">toResultLine</A></b> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent,const char *name=NULL) 
31
 
</LI>
32
 
<LI>&nbsp;<b><A HREF="#ref11">~toResultLine</A></b> () 
33
 
</LI>
34
 
<LI>void &nbsp;<b><A HREF="#ref12">stop</A></b> () 
35
 
</LI>
36
 
<LI>void &nbsp;<b><A HREF="#ref13">start</A></b> () 
37
 
</LI>
38
 
<LI>void &nbsp;<b><A HREF="#ref14">setFlow</A></b> (bool on) 
39
 
</LI>
40
 
<LI>bool &nbsp;<b><A HREF="#ref15">flow</A></b> (void) 
41
 
</LI>
42
 
<LI>virtual  void &nbsp;<b><A HREF="#ref16">query</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql,const <A HREF="#toQList">toQList</A> &param) 
43
 
</LI>
44
 
<LI>virtual  void &nbsp;<b><A HREF="#ref17">clear</A></b> (void) 
45
 
</LI>
46
 
<LI>virtual  std::list<double> &nbsp;<b><A HREF="#ref18">transform</A></b> (std::list<double> &input) 
47
 
</LI>
48
 
<LI>virtual  bool &nbsp;<b><A HREF="#ref19">canHandle</A></b> (<A HREF="toConnection.html">toConnection</A> &) 
49
 
</LI>
50
 
<LI>void &nbsp;<b><A HREF="#ref20">setSQL</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql) 
51
 
</LI>
52
 
<LI>void &nbsp;<b><A HREF="#ref21">setSQL</A></b> (const <A HREF="toSQL.html">toSQL</A> &sql) 
53
 
</LI>
54
 
<LI>void &nbsp;<b><A HREF="#ref22">query</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql) 
55
 
</LI>
56
 
<LI>void &nbsp;<b><A HREF="#ref23">query</A></b> (const <A HREF="toSQL.html">toSQL</A> &sql) 
57
 
</LI>
58
 
<LI>void &nbsp;<b><A HREF="#ref24">query</A></b> (const <A HREF="toSQL.html">toSQL</A> &sql,<A HREF="#toQList">toQList</A> &par) 
59
 
</LI>
60
 
</ul><h4>Public Slots</h4><ul><LI>virtual  void &nbsp;<b><A HREF="#ref25">refresh</A></b> (void) 
61
 
</LI>
62
 
<LI>virtual  void &nbsp;<b><A HREF="#ref26">changeParams</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param1) 
63
 
</LI>
64
 
<LI>virtual  void &nbsp;<b><A HREF="#ref27">changeParams</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param1,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param2) 
65
 
</LI>
66
 
<LI>virtual  void &nbsp;<b><A HREF="#ref28">changeParams</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param1,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param2,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param3) 
67
 
</LI>
68
 
</ul><h4>Protected Slots</h4><ul><LI>virtual  void &nbsp;<b><A HREF="#ref29">connectionChanged</A></b> (void) 
69
 
</LI>
70
 
<LI>virtual  void &nbsp;<b><A HREF="#ref30">addMenues</A></b> (<A HREF="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</A> *) 
71
 
</LI>
72
 
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Display the result of a query in a piechart. The first column of the query should
73
 
 contain the x value and the rest of the columns should be values of the diagram. The
74
 
 legend is the column name. Connects to the tool timer for updates automatically.
75
 
 </p>
76
 
<A NAME="toResultLine"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>toResultLine</strong> (<A HREF="/usr/lib/qt3/doc/html/qwidget.html">QWidget</A> *parent,const char *name=NULL)
77
 
<br></td><td align="right"><h3><strong>toResultLine</strong></h3></td></tr></table><p></p><p> Create widget.
78
 
</p>
79
 
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
80
 
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent of list.
81
 
</TD></TR>
82
 
<TR><TD align="left" valign="top"><i>name</i></TD><TD align="left" valign="top">Name of widget.
83
 
   </TD></TR>
84
 
</TABLE></P>
85
 
<A NAME="~toResultLine"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<strong>~toResultLine</strong> ()
86
 
<br></td><td align="right"><h3><strong>~toResultLine</strong></h3></td></tr></table><p></p><p> Destroy chart
87
 
   </p>
88
 
<A NAME="stop"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>stop</strong> ()
89
 
<br></td><td align="right"><h3><strong>stop</strong></h3></td></tr></table><p></p><p> Stop automatic updating from tool timer.
90
 
   </p>
91
 
<A NAME="start"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>start</strong> ()
92
 
<br></td><td align="right"><h3><strong>start</strong></h3></td></tr></table><p></p><p> Start automatic updating from tool timer.
93
 
   </p>
94
 
<A NAME="setFlow"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setFlow</strong> (bool on)
95
 
<br></td><td align="right"><h3><strong>setFlow</strong></h3></td></tr></table><p></p><p> Display actual values or flow/s.
96
 
</p>
97
 
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
98
 
<TR><TD align="left" valign="top"><i>on</i></TD><TD align="left" valign="top">Display flow or absolute values.
99
 
   </TD></TR>
100
 
</TABLE></P>
101
 
<A NAME="flow"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td>bool &nbsp;<strong>flow</strong> (void)
102
 
<br></td><td align="right"><h3><strong>flow</strong></h3></td></tr></table><p></p><p> Return if flow is displayed.
103
 
</p>
104
 
<p><b>Returns</b>: If flow is used.
105
 
   </p>
106
 
<A NAME="query"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>query</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql,const <A HREF="#toQList">toQList</A> &param)
107
 
<br></td><td align="right"><h3><strong>query</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Reimplemented for internal reasons.
108
 
   </p>
109
 
<p>Reimplemented from <A HREF="toResult.html#query">toResult</A>.</p>
110
 
<A NAME="clear"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>clear</strong> (void)
111
 
<br></td><td align="right"><h3><strong>clear</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Reimplemented for internal reasons.
112
 
   </p>
113
 
<p>Reimplemented from <A HREF="toLineChart.html#clear">toLineChart</A>.</p>
114
 
<A NAME="transform"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td> std::list<double> &nbsp;<strong>transform</strong> (std::list<double> &input)
115
 
<br></td><td align="right"><h3><strong>transform</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Transform valueset. Make it possible to perform more complex transformation.
116
 
 called directly before adding the valueset to the chart. After flow transformation.
117
 
 Default is passthrough.
118
 
</p>
119
 
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
120
 
<TR><TD align="left" valign="top"><i>input</i></TD><TD align="left" valign="top">The untransformed valueset.
121
 
</TD></TR>
122
 
</TABLE></P>
123
 
<p><b>Returns</b>: The valueset actually added to the chart.
124
 
   </p>
125
 
<A NAME="canHandle"></A><A NAME="ref19"></A><table width="100%"><tr bgcolor="#eeeeee"><td> bool &nbsp;<strong>canHandle</strong> (<A HREF="toConnection.html">toConnection</A> &)
126
 
<br></td><td align="right"><h3><strong>canHandle</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Handle any connection
127
 
   </p>
128
 
<p>Reimplemented from <A HREF="toResult.html#canHandle">toResult</A>.</p>
129
 
<A NAME="setSQL"></A><A NAME="ref20"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setSQL</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql)
130
 
<br></td><td align="right"><h3><strong>setSQL</strong></h3></td></tr></table><p></p><p> Set the SQL statement of this list
131
 
</p>
132
 
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
133
 
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">String containing statement.
134
 
   </TD></TR>
135
 
</TABLE></P>
136
 
<p>Reimplemented from <A HREF="toResult.html#setSQL">toResult</A>.</p>
137
 
<A NAME="setSQL"></A><A NAME="ref21"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>setSQL</strong> (const <A HREF="toSQL.html">toSQL</A> &sql)
138
 
<br></td><td align="right"><h3><strong>setSQL</strong></h3></td></tr></table><p></p><p> Set the SQL statement of this list. This will also affect Name.
139
 
</p>
140
 
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
141
 
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">SQL containing statement.
142
 
   </TD></TR>
143
 
</TABLE></P>
144
 
<p>Reimplemented from <A HREF="toResult.html#setSQL">toResult</A>.</p>
145
 
<A NAME="query"></A><A NAME="ref22"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>query</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &sql)
146
 
<br></td><td align="right"><h3><strong>query</strong></h3></td></tr></table><p></p><p> Set new SQL and run query.
147
 
</p>
148
 
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
149
 
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">New sql.
150
 
</TD></TR>
151
 
</TABLE></P>
152
 
<p><b>See also</b>: setSQL</p>
153
 
<p>Reimplemented from <A HREF="toResult.html#query">toResult</A>.</p>
154
 
<A NAME="query"></A><A NAME="ref23"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>query</strong> (const <A HREF="toSQL.html">toSQL</A> &sql)
155
 
<br></td><td align="right"><h3><strong>query</strong></h3></td></tr></table><p></p><p> Set new SQL and run query.
156
 
</p>
157
 
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
158
 
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">New sql.
159
 
</TD></TR>
160
 
</TABLE></P>
161
 
<p><b>See also</b>: setSQL</p>
162
 
<p>Reimplemented from <A HREF="toResult.html#query">toResult</A>.</p>
163
 
<A NAME="query"></A><A NAME="ref24"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void &nbsp;<strong>query</strong> (const <A HREF="toSQL.html">toSQL</A> &sql,<A HREF="#toQList">toQList</A> &par)
164
 
<br></td><td align="right"><h3><strong>query</strong></h3></td></tr></table><p></p><p> Set new SQL and run query.
165
 
</p>
166
 
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
167
 
<TR><TD align="left" valign="top"><i>sql</i></TD><TD align="left" valign="top">New sql.
168
 
</TD></TR>
169
 
</TABLE></P>
170
 
<p><b>See also</b>: setSQL</p>
171
 
<p>Reimplemented from <A HREF="toResult.html#query">toResult</A>.</p>
172
 
<A NAME="refresh"></A><A NAME="ref25"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>refresh</strong> (void)
173
 
<br></td><td align="right"><h3><strong>refresh</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Reimplemented for internal reasons.
174
 
   </p>
175
 
<p>Reimplemented from <A HREF="toResult.html#refresh">toResult</A>.</p>
176
 
<A NAME="changeParams"></A><A NAME="ref26"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>changeParams</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param1)
177
 
<br></td><td align="right"><h3><strong>changeParams</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Reimplemented for internal reasons.
178
 
   </p>
179
 
<p>Reimplemented from <A HREF="toResult.html#changeParams">toResult</A>.</p>
180
 
<A NAME="changeParams"></A><A NAME="ref27"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>changeParams</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param1,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param2)
181
 
<br></td><td align="right"><h3><strong>changeParams</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Reimplemented For internal reasons.
182
 
   </p>
183
 
<p>Reimplemented from <A HREF="toResult.html#changeParams">toResult</A>.</p>
184
 
<A NAME="changeParams"></A><A NAME="ref28"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>changeParams</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param1,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param2,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &Param3)
185
 
<br></td><td align="right"><h3><strong>changeParams</strong></h3></td></tr></table><p> <small>[virtual slot]</small></p><p> Reimplemented for internal reasons.
186
 
   </p>
187
 
<p>Reimplemented from <A HREF="toResult.html#changeParams">toResult</A>.</p>
188
 
<A NAME="connectionChanged"></A><A NAME="ref29"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>connectionChanged</strong> (void)
189
 
<br></td><td align="right"><h3><strong>connectionChanged</strong></h3></td></tr></table><p> <small>[protected slots virtual slot]</small></p><p> Reimplemented for internal reasons.
190
 
   </p>
191
 
<p>Reimplemented from <A HREF="toResult.html#connectionChanged">toResult</A>.</p>
192
 
<A NAME="addMenues"></A><A NAME="ref30"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<strong>addMenues</strong> (<A HREF="/usr/lib/qt3/doc/html/qpopupmenu.html">QPopupMenu</A> *)
193
 
<br></td><td align="right"><h3><strong>addMenues</strong></h3></td></tr></table><p> <small>[protected slots virtual slot]</small></p><p> Reimplemented for internal reasons.
194
 
   </p>
195
 
<p>Reimplemented from <A HREF="toLineChart.html#addMenues">toLineChart</A>.</p>
196
 
<HR>
197
 
        <table>
198
 
        <tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>
199
 
        </table>
200
 
</BODY>
201
 
</HTML>