You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
137 lines
7.7 KiB
137 lines
7.7 KiB
13 years ago
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
4 months ago
|
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/widgets/tqlistbox.cpp:634 -->
|
||
13 years ago
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||
|
<title>TQListBoxPixmap Class</title>
|
||
|
<style type="text/css"><!--
|
||
|
fn { margin-left: 1cm; text-indent: -1cm; }
|
||
|
a:link { color: #004faf; text-decoration: none }
|
||
|
a:visited { color: #672967; text-decoration: none }
|
||
|
body { background: #ffffff; color: black; }
|
||
|
--></style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||
|
<tr bgcolor="#E5E5E5">
|
||
|
<td valign=center>
|
||
|
<a href="index.html">
|
||
|
<font color="#004faf">Home</font></a>
|
||
|
| <a href="classes.html">
|
||
|
<font color="#004faf">All Classes</font></a>
|
||
|
| <a href="mainclasses.html">
|
||
|
<font color="#004faf">Main Classes</font></a>
|
||
|
| <a href="annotated.html">
|
||
|
<font color="#004faf">Annotated</font></a>
|
||
|
| <a href="groups.html">
|
||
|
<font color="#004faf">Grouped Classes</font></a>
|
||
|
| <a href="functions.html">
|
||
|
<font color="#004faf">Functions</font></a>
|
||
|
</td>
|
||
|
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQListBoxPixmap Class Reference</h1>
|
||
|
|
||
|
<p>The TQListBoxPixmap class provides list box items with a
|
||
|
pixmap and optional text.
|
||
|
<a href="#details">More...</a>
|
||
4 months ago
|
<p><tt>#include <<a href="tqlistbox-h.html">tqlistbox.h</a>></tt>
|
||
|
<p>Inherits <a href="tqlistboxitem.html">TQListBoxItem</a>.
|
||
|
<p><a href="tqlistboxpixmap-members.html">List of all member functions.</a>
|
||
13 years ago
|
<h2>Public Members</h2>
|
||
|
<ul>
|
||
|
<li class=fn><a href="#TQListBoxPixmap"><b>TQListBoxPixmap</b></a> ( TQListBox * listbox, const TQPixmap & pixmap )</li>
|
||
|
<li class=fn><a href="#TQListBoxPixmap-2"><b>TQListBoxPixmap</b></a> ( const TQPixmap & pixmap )</li>
|
||
|
<li class=fn><a href="#TQListBoxPixmap-3"><b>TQListBoxPixmap</b></a> ( TQListBox * listbox, const TQPixmap & pixmap, TQListBoxItem * after )</li>
|
||
|
<li class=fn><a href="#TQListBoxPixmap-4"><b>TQListBoxPixmap</b></a> ( TQListBox * listbox, const TQPixmap & pix, const TQString & text )</li>
|
||
|
<li class=fn><a href="#TQListBoxPixmap-5"><b>TQListBoxPixmap</b></a> ( const TQPixmap & pix, const TQString & text )</li>
|
||
|
<li class=fn><a href="#TQListBoxPixmap-6"><b>TQListBoxPixmap</b></a> ( TQListBox * listbox, const TQPixmap & pix, const TQString & text, TQListBoxItem * after )</li>
|
||
|
<li class=fn><a href="#~TQListBoxPixmap"><b>~TQListBoxPixmap</b></a> ()</li>
|
||
|
<li class=fn>virtual const TQPixmap * <a href="#pixmap"><b>pixmap</b></a> () const</li>
|
||
|
<li class=fn>virtual int <a href="#height"><b>height</b></a> ( const TQListBox * lb ) const</li>
|
||
|
<li class=fn>virtual int <a href="#width"><b>width</b></a> ( const TQListBox * lb ) const</li>
|
||
|
</ul>
|
||
|
<h2>Protected Members</h2>
|
||
|
<ul>
|
||
|
<li class=fn>virtual void <a href="#paint"><b>paint</b></a> ( TQPainter * painter )</li>
|
||
|
</ul>
|
||
|
<hr><a name="details"></a><h2>Detailed Description</h2>
|
||
|
|
||
|
|
||
|
The TQListBoxPixmap class provides list box items with a
|
||
|
pixmap and optional text.
|
||
|
<p>
|
||
|
<p> Items of this class are drawn with the pixmap on the left with the
|
||
|
optional text to the right of the pixmap.
|
||
4 months ago
|
<p> <p>See also <a href="tqlistbox.html">TQListBox</a>, <a href="tqlistboxitem.html">TQListBoxItem</a>, and <a href="advanced.html">Advanced Widgets</a>.
|
||
13 years ago
|
|
||
|
<hr><h2>Member Function Documentation</h2>
|
||
4 months ago
|
<h3 class=fn><a name="TQListBoxPixmap"></a>TQListBoxPixmap::TQListBoxPixmap ( <a href="tqlistbox.html">TQListBox</a> * listbox, const <a href="tqpixmap.html">TQPixmap</a> & pixmap )
|
||
13 years ago
|
</h3>
|
||
|
Constructs a new list box item in list box <em>listbox</em> showing the
|
||
|
pixmap <em>pixmap</em>.
|
||
|
|
||
4 months ago
|
<h3 class=fn><a name="TQListBoxPixmap-2"></a>TQListBoxPixmap::TQListBoxPixmap ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap )
|
||
13 years ago
|
</h3>
|
||
|
Constructs a new list box item showing the pixmap <em>pixmap</em>.
|
||
|
|
||
4 months ago
|
<h3 class=fn><a name="TQListBoxPixmap-3"></a>TQListBoxPixmap::TQListBoxPixmap ( <a href="tqlistbox.html">TQListBox</a> * listbox, const <a href="tqpixmap.html">TQPixmap</a> & pixmap, <a href="tqlistboxitem.html">TQListBoxItem</a> * after )
|
||
13 years ago
|
</h3>
|
||
|
Constructs a new list box item in list box <em>listbox</em> showing the
|
||
|
pixmap <em>pixmap</em>. The item gets inserted after the item <em>after</em>,
|
||
|
or at the beginning if <em>after</em> is 0.
|
||
|
|
||
4 months ago
|
<h3 class=fn><a name="TQListBoxPixmap-4"></a>TQListBoxPixmap::TQListBoxPixmap ( <a href="tqlistbox.html">TQListBox</a> * listbox, const <a href="tqpixmap.html">TQPixmap</a> & pix, const <a href="tqstring.html">TQString</a> & text )
|
||
13 years ago
|
</h3>
|
||
|
Constructs a new list box item in list box <em>listbox</em> showing the
|
||
|
pixmap <em>pix</em> and the text <em>text</em>.
|
||
|
|
||
4 months ago
|
<h3 class=fn><a name="TQListBoxPixmap-5"></a>TQListBoxPixmap::TQListBoxPixmap ( const <a href="tqpixmap.html">TQPixmap</a> & pix, const <a href="tqstring.html">TQString</a> & text )
|
||
13 years ago
|
</h3>
|
||
|
Constructs a new list box item showing the pixmap <em>pix</em> and the
|
||
|
text to <em>text</em>.
|
||
|
|
||
4 months ago
|
<h3 class=fn><a name="TQListBoxPixmap-6"></a>TQListBoxPixmap::TQListBoxPixmap ( <a href="tqlistbox.html">TQListBox</a> * listbox, const <a href="tqpixmap.html">TQPixmap</a> & pix, const <a href="tqstring.html">TQString</a> & text, <a href="tqlistboxitem.html">TQListBoxItem</a> * after )
|
||
13 years ago
|
</h3>
|
||
|
Constructs a new list box item in list box <em>listbox</em> showing the
|
||
|
pixmap <em>pix</em> and the string <em>text</em>. The item gets inserted after
|
||
|
the item <em>after</em>, or at the beginning if <em>after</em> is 0.
|
||
|
|
||
|
<h3 class=fn><a name="~TQListBoxPixmap"></a>TQListBoxPixmap::~TQListBoxPixmap ()
|
||
|
</h3>
|
||
|
Destroys the item.
|
||
|
|
||
4 months ago
|
<h3 class=fn>int <a name="height"></a>TQListBoxPixmap::height ( const <a href="tqlistbox.html">TQListBox</a> * lb ) const<tt> [virtual]</tt>
|
||
13 years ago
|
</h3>
|
||
|
Returns the height of the pixmap in list box <em>lb</em>.
|
||
|
<p> <p>See also <a href="#paint">paint</a>() and <a href="#width">width</a>().
|
||
|
|
||
4 months ago
|
<p>Reimplemented from <a href="tqlistboxitem.html#height">TQListBoxItem</a>.
|
||
4 months ago
|
<h3 class=fn>void <a name="paint"></a>TQListBoxPixmap::paint ( <a href="tqpainter.html">TQPainter</a> * painter )<tt> [virtual protected]</tt>
|
||
13 years ago
|
</h3>
|
||
|
Draws the pixmap using <em>painter</em>.
|
||
|
|
||
4 months ago
|
<p>Reimplemented from <a href="tqlistboxitem.html#paint">TQListBoxItem</a>.
|
||
4 months ago
|
<h3 class=fn>const <a href="tqpixmap.html">TQPixmap</a> * <a name="pixmap"></a>TQListBoxPixmap::pixmap () const<tt> [virtual]</tt>
|
||
13 years ago
|
</h3>
|
||
|
|
||
|
<p> Returns the pixmap associated with the item.
|
||
|
|
||
4 months ago
|
<p>Reimplemented from <a href="tqlistboxitem.html#pixmap">TQListBoxItem</a>.
|
||
|
<h3 class=fn>int <a name="width"></a>TQListBoxPixmap::width ( const <a href="tqlistbox.html">TQListBox</a> * lb ) const<tt> [virtual]</tt>
|
||
13 years ago
|
</h3>
|
||
|
Returns the width of the pixmap plus some margin in list box <em>lb</em>.
|
||
|
<p> <p>See also <a href="#paint">paint</a>() and <a href="#height">height</a>().
|
||
|
|
||
4 months ago
|
<p>Reimplemented from <a href="tqlistboxitem.html#width">TQListBoxItem</a>.
|
||
13 years ago
|
<!-- eof -->
|
||
|
<hr><p>
|
||
|
This file is part of the <a href="index.html">TQt toolkit</a>.
|
||
|
Copyright © 1995-2007
|
||
|
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
|
||
|
<table width=100% cellspacing=0 border=0><tr>
|
||
|
<td>Copyright © 2007
|
||
|
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
||
|
<td align=right><div align=right>TQt 3.3.8</div>
|
||
|
</table></div></address></body>
|
||
|
</html>
|