3
<TITLE>class toResultViewCheck</TITLE>
5
<META NAME="Generator" CONTENT="KDOC ">
7
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
8
<TABLE WIDTH="100%" BORDER="0">
12
<TR><TD valign="top" align="left" cellspacing="10">
13
<h1>class toResultViewCheck</h1>
15
<TD valign="top" align="right" colspan="1"> An item to display in a toListView or toResultView. <small><A HREF="#longdesc">More...</A></small></TD></TR>
19
<TR><TH>Definition</TH><TD><code>#include <<A HREF="toresultview_h.html">toresultview.h</A>></code></TD></TR>
20
<TR><TH>Inherits</TH><TD><A HREF="/usr/lib/qt3/doc/html/qchecklistitem.html">QCheckListItem</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
21
<TR><TH>Inherited by</TH><TD><A HREF="toResultViewMLCheck.html">toResultViewMLCheck</A></TD></TR>
22
<TR><TH><A HREF="full-list-toResultViewCheck.html">List of all Methods</A></TH></TR>
25
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
26
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
27
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
28
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
29
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
30
</TABLE></TD></TR></TABLE>
31
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref6">toResultViewCheck</A></b> (<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text,QCheckListItem::Type type=Controller)
33
<LI> <b><A HREF="#ref7">toResultViewCheck</A></b> (<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text,QCheckListItem::Type type=Controller)
35
<LI> <b><A HREF="#ref8">toResultViewCheck</A></b> (<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *parent,<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *after,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text,QCheckListItem::Type type=Controller)
37
<LI> <b><A HREF="#ref9">toResultViewCheck</A></b> (<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *parent,<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *after,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text,QCheckListItem::Type type=Controller)
39
<LI>virtual <b><A HREF="#ref10">~toResultViewCheck</A></b> ()
41
<LI>virtual void <b><A HREF="#ref11">setText</A></b> (int col,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &txt)
43
<LI>virtual void <b><A HREF="#ref12">setText</A></b> (int col,const <A HREF="toQValue.html">toQValue</A> &val)
45
<LI>virtual void <b><A HREF="#ref13">paintCell</A></b> (<A HREF="/usr/lib/qt3/doc/html/qpainter.html">QPainter</A> * p,const <A HREF="/usr/lib/qt3/doc/html/qcolorgroup.html">QColorGroup</A> & cg,int column,int width,int align)
47
<LI>virtual <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref14">text</A></b> (int col) const
49
<LI>virtual <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref15">key</A></b> (int col,bool asc) const
51
<LI>virtual int <b><A HREF="#ref16">width</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qfontmetrics.html">QFontMetrics</A> &, const <A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *, int col) const
53
<LI>virtual <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref17">allText</A></b> (int col) const
55
<LI>virtual <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref18">tooltip</A></b> (int col) const
57
</ul><h4>Protected Methods</h4><ul><LI>virtual int <b><A HREF="#ref4">realWidth</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qfontmetrics.html">QFontMetrics</A> &fm, const <A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *top, int column,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &txt) const
59
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <b><A HREF="#ref5">firstText</A></b> (int col) const
61
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> An item to display in a toListView or toResultView. They differ from normal
62
QListViewItems in that they can have a tooltip and actually contain more text
63
than is displayed in the cell of the listview.
65
<A NAME="realWidth"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int <strong>realWidth</strong> (const <A HREF="/usr/lib/qt3/doc/html/qfontmetrics.html">QFontMetrics</A> &fm, const <A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *top, int column,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &txt)
66
<br></td><td align="right"><h3><strong>realWidth</strong></h3></td></tr></table><p> <small>[protected const virtual]</small></p><A NAME="firstText"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <strong>firstText</strong> (int col)
67
<br></td><td align="right"><h3><strong>firstText</strong></h3></td></tr></table><p> <small>[protected const]</small></p><A NAME="toResultViewCheck"></A><A NAME="ref6"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toResultViewCheck</strong> (<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text,QCheckListItem::Type type=Controller)
68
<br></td><td align="right"><h3><strong>toResultViewCheck</strong></h3></td></tr></table><p></p><p> Create a new item.
70
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
71
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent list view.
73
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">Text of first column.
75
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of check on this item.
78
<A NAME="toResultViewCheck"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toResultViewCheck</strong> (<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *parent,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text,QCheckListItem::Type type=Controller)
79
<br></td><td align="right"><h3><strong>toResultViewCheck</strong></h3></td></tr></table><p></p><p> Create a new item.
81
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
82
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent item.
84
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">Text of first column.
86
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of check on this item.
89
<A NAME="toResultViewCheck"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toResultViewCheck</strong> (<A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *parent,<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *after,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text,QCheckListItem::Type type=Controller)
90
<br></td><td align="right"><h3><strong>toResultViewCheck</strong></h3></td></tr></table><p></p><p> Create a new item.
92
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
93
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent list view.
95
<TR><TD align="left" valign="top"><i>after</i></TD><TD align="left" valign="top">After last item.
97
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">Text of first column.
99
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of check on this item.
102
<A NAME="toResultViewCheck"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>toResultViewCheck</strong> (<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *parent,<A HREF="/usr/lib/qt3/doc/html/qlistviewitem.html">QListViewItem</A> *after,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &text,QCheckListItem::Type type=Controller)
103
<br></td><td align="right"><h3><strong>toResultViewCheck</strong></h3></td></tr></table><p></p><p> Create a new item.
105
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
106
<TR><TD align="left" valign="top"><i>parent</i></TD><TD align="left" valign="top">Parent item.
108
<TR><TD align="left" valign="top"><i>after</i></TD><TD align="left" valign="top">After last item.
110
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">Text of first column.
112
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of check on this item.
115
<A NAME="~toResultViewCheck"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~toResultViewCheck</strong> ()
116
<br></td><td align="right"><h3><strong>~toResultViewCheck</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Reimplemented for internal reasons.
118
<A NAME="setText"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>setText</strong> (int col,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &txt)
119
<br></td><td align="right"><h3><strong>setText</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Reimplemented for internal reasons.
121
<A NAME="setText"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>setText</strong> (int col,const <A HREF="toQValue.html">toQValue</A> &val)
122
<br></td><td align="right"><h3><strong>setText</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Set from database.
124
<A NAME="paintCell"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void <strong>paintCell</strong> (<A HREF="/usr/lib/qt3/doc/html/qpainter.html">QPainter</A> * p,const <A HREF="/usr/lib/qt3/doc/html/qcolorgroup.html">QColorGroup</A> & cg,int column,int width,int align)
125
<br></td><td align="right"><h3><strong>paintCell</strong></h3></td></tr></table><p> <small>[virtual]</small></p><p> Reimplemented for internal reasons.
127
<p>Reimplemented from <A HREF="/usr/lib/qt3/doc/html/qchecklistitem.html#paintCell">QCheckListItem</A>.</p>
128
<A NAME="text"></A><A NAME="ref14"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <strong>text</strong> (int col)
129
<br></td><td align="right"><h3><strong>text</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p> Reimplemented for internal reasons.
131
<A NAME="key"></A><A NAME="ref15"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <strong>key</strong> (int col,bool asc)
132
<br></td><td align="right"><h3><strong>key</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p> String to sort the data on. This is reimplemented so that numbers are sorted as numbers
135
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
136
<TR><TD align="left" valign="top"><i>col</i></TD><TD align="left" valign="top">Column
138
<TR><TD align="left" valign="top"><i>asc</i></TD><TD align="left" valign="top">Wether to sort ascending or not.
141
<A NAME="width"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int <strong>width</strong> (const <A HREF="/usr/lib/qt3/doc/html/qfontmetrics.html">QFontMetrics</A> &, const <A HREF="/usr/lib/qt3/doc/html/qlistview.html">QListView</A> *, int col)
142
<br></td><td align="right"><h3><strong>width</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p> Reimplemented for internal reasons.
144
<A NAME="allText"></A><A NAME="ref17"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <strong>allText</strong> (int col)
145
<br></td><td align="right"><h3><strong>allText</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p> Get all text for this item. This is used for copying, drag & drop and memo editing etc.
147
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
148
<TR><TD align="left" valign="top"><i>col</i></TD><TD align="left" valign="top">Column.
151
<p><b>Returns</b>: All of the text.
153
<A NAME="tooltip"></A><A NAME="ref18"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <strong>tooltip</strong> (int col)
154
<br></td><td align="right"><h3><strong>tooltip</strong></h3></td></tr></table><p> <small>[const virtual]</small></p><p> Get the text to be displayed as tooltip for this item.
156
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
157
<TR><TD align="left" valign="top"><i>col</i></TD><TD align="left" valign="top">Column.
160
<p><b>Returns</b>: The text to display as tooltip.
164
<tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>