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

« back to all changes in this revision

Viewing changes to doc/help/api/toResultViewCheck.html

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2009-04-07 13:16:05 UTC
  • mfrom: (1.2.7 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090407131605-u422yigfv7jgg0l0
Tags: 2.0.0-3
* Cleaned up packaging a little bit.
* Added homepage information to control file.
* Bumped Standards-Version to 3.8.1.
* Released to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<HTML>
2
 
<HEAD>
3
 
<TITLE>class toResultViewCheck</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 toResultViewCheck</h1>
14
 
                </TD>
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>
16
 
        </TABLE>
17
 
        <HR>
18
 
        <TABLE BORDER="0">
19
 
                <TR><TH>Definition</TH><TD><code>#include &lt;<A HREF="toresultview_h.html">toresultview.h</A>&gt;</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>
23
 
        </TABLE>
24
 
        </TD>
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>&nbsp;<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) 
32
 
</LI>
33
 
<LI>&nbsp;<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) 
34
 
</LI>
35
 
<LI>&nbsp;<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) 
36
 
</LI>
37
 
<LI>&nbsp;<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) 
38
 
</LI>
39
 
<LI>virtual  &nbsp;<b><A HREF="#ref10">~toResultViewCheck</A></b> () 
40
 
</LI>
41
 
<LI>virtual  void &nbsp;<b><A HREF="#ref11">setText</A></b> (int col,const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &txt) 
42
 
</LI>
43
 
<LI>virtual  void &nbsp;<b><A HREF="#ref12">setText</A></b> (int col,const <A HREF="toQValue.html">toQValue</A> &val) 
44
 
</LI>
45
 
<LI>virtual  void &nbsp;<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) 
46
 
</LI>
47
 
<LI>virtual  <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref14">text</A></b> (int col)  const
48
 
</LI>
49
 
<LI>virtual  <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref15">key</A></b> (int col,bool asc)  const
50
 
</LI>
51
 
<LI>virtual  int &nbsp;<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
52
 
</LI>
53
 
<LI>virtual  <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref17">allText</A></b> (int col)  const
54
 
</LI>
55
 
<LI>virtual  <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref18">tooltip</A></b> (int col)  const
56
 
</LI>
57
 
</ul><h4>Protected Methods</h4><ul><LI>virtual  int &nbsp;<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
58
 
</LI>
59
 
<LI><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &nbsp;<b><A HREF="#ref5">firstText</A></b> (int col)  const
60
 
</LI>
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.
64
 
 </p>
65
 
<A NAME="realWidth"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<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> &nbsp;<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>&nbsp;<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.
69
 
</p>
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.
72
 
</TD></TR>
73
 
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">Text of first column.
74
 
</TD></TR>
75
 
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of check on this item.
76
 
   </TD></TR>
77
 
</TABLE></P>
78
 
<A NAME="toResultViewCheck"></A><A NAME="ref7"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<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.
80
 
</p>
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.
83
 
</TD></TR>
84
 
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">Text of first column.
85
 
</TD></TR>
86
 
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of check on this item.
87
 
   </TD></TR>
88
 
</TABLE></P>
89
 
<A NAME="toResultViewCheck"></A><A NAME="ref8"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<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.
91
 
</p>
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.
94
 
</TD></TR>
95
 
<TR><TD align="left" valign="top"><i>after</i></TD><TD align="left" valign="top">After last item.
96
 
</TD></TR>
97
 
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">Text of first column.
98
 
</TD></TR>
99
 
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of check on this item.
100
 
   </TD></TR>
101
 
</TABLE></P>
102
 
<A NAME="toResultViewCheck"></A><A NAME="ref9"></A><table width="100%"><tr bgcolor="#eeeeee"><td>&nbsp;<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.
104
 
</p>
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.
107
 
</TD></TR>
108
 
<TR><TD align="left" valign="top"><i>after</i></TD><TD align="left" valign="top">After last item.
109
 
</TD></TR>
110
 
<TR><TD align="left" valign="top"><i>text</i></TD><TD align="left" valign="top">Text of first column.
111
 
</TD></TR>
112
 
<TR><TD align="left" valign="top"><i>type</i></TD><TD align="left" valign="top">Type of check on this item.
113
 
   </TD></TR>
114
 
</TABLE></P>
115
 
<A NAME="~toResultViewCheck"></A><A NAME="ref10"></A><table width="100%"><tr bgcolor="#eeeeee"><td> &nbsp;<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.
117
 
   </p>
118
 
<A NAME="setText"></A><A NAME="ref11"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<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.
120
 
   </p>
121
 
<A NAME="setText"></A><A NAME="ref12"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<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.
123
 
   </p>
124
 
<A NAME="paintCell"></A><A NAME="ref13"></A><table width="100%"><tr bgcolor="#eeeeee"><td> void &nbsp;<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.
126
 
   </p>
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> &nbsp;<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.
130
 
   </p>
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> &nbsp;<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
133
 
 and not as strings.
134
 
</p>
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
137
 
</TD></TR>
138
 
<TR><TD align="left" valign="top"><i>asc</i></TD><TD align="left" valign="top">Wether to sort ascending or not.
139
 
   </TD></TR>
140
 
</TABLE></P>
141
 
<A NAME="width"></A><A NAME="ref16"></A><table width="100%"><tr bgcolor="#eeeeee"><td> int &nbsp;<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.
143
 
   </p>
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> &nbsp;<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.
146
 
</p>
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.
149
 
</TD></TR>
150
 
</TABLE></P>
151
 
<p><b>Returns</b>: All of the text.
152
 
   </p>
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> &nbsp;<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.
155
 
</p>
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.
158
 
</TD></TR>
159
 
</TABLE></P>
160
 
<p><b>Returns</b>: The text to display as tooltip.
161
 
   </p>
162
 
<HR>
163
 
        <table>
164
 
        <tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>
165
 
        </table>
166
 
</BODY>
167
 
</HTML>