Sophie

Sophie

distrib > CentOS > 5 > i386 > by-pkgid > d5f6a048a2b223e97fccd86095a60071 > files > 3531

qt4-doc-4.2.1-1.el5_7.1.i386.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /tmp/qt-4.2.1-harald-1161357942206/qt-x11-opensource-src-4.2.1/src/qt3support/itemviews/q3listbox.cpp -->
<head>
  <title>Qt 4.2: Q3ListBoxPixmap Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">Q3ListBoxPixmap Class Reference<br /><sup><sup>[<a href="qt3support.html">Qt3Support</a> module]</sup></sup></h1>
<p>The Q3ListBoxPixmap class provides list box items with a pixmap and optional text. <a href="#details">More...</a></p>
<pre> #include &lt;Q3ListBoxPixmap&gt;</pre><p><b>This class is part of the Qt 3 support library.</b> It is provided to keep old source code working. We strongly advise against using it in new code. See <a href="porting4.html">Porting to Qt 4</a> for more information.</p>
<p>Inherits <a href="q3listboxitem.html">Q3ListBoxItem</a>.</p>
<ul>
<li><a href="q3listboxpixmap-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"/><b><a href="q3listboxpixmap.html#Q3ListBoxPixmap">Q3ListBoxPixmap</a></b> ( Q3ListBox * <i>listbox</i>, const QPixmap &amp; <i>pixmap</i> )</li>
<li><div class="fn"/><b><a href="q3listboxpixmap.html#Q3ListBoxPixmap-2">Q3ListBoxPixmap</a></b> ( const QPixmap &amp; <i>pixmap</i> )</li>
<li><div class="fn"/><b><a href="q3listboxpixmap.html#Q3ListBoxPixmap-3">Q3ListBoxPixmap</a></b> ( Q3ListBox * <i>listbox</i>, const QPixmap &amp; <i>pixmap</i>, Q3ListBoxItem * <i>after</i> )</li>
<li><div class="fn"/><b><a href="q3listboxpixmap.html#Q3ListBoxPixmap-4">Q3ListBoxPixmap</a></b> ( Q3ListBox * <i>listbox</i>, const QPixmap &amp; <i>pix</i>, const QString &amp; <i>text</i> )</li>
<li><div class="fn"/><b><a href="q3listboxpixmap.html#Q3ListBoxPixmap-5">Q3ListBoxPixmap</a></b> ( const QPixmap &amp; <i>pix</i>, const QString &amp; <i>text</i> )</li>
<li><div class="fn"/><b><a href="q3listboxpixmap.html#Q3ListBoxPixmap-6">Q3ListBoxPixmap</a></b> ( Q3ListBox * <i>listbox</i>, const QPixmap &amp; <i>pix</i>, const QString &amp; <i>text</i>, Q3ListBoxItem * <i>after</i> )</li>
<li><div class="fn"/><b><a href="q3listboxpixmap.html#dtor.Q3ListBoxPixmap">~Q3ListBoxPixmap</a></b> ()</li>
<li><div class="fn"/>virtual int <b><a href="q3listboxpixmap.html#height">height</a></b> ( const Q3ListBox * <i>lb</i> ) const</li>
<li><div class="fn"/>virtual const QPixmap * <b><a href="q3listboxpixmap.html#pixmap">pixmap</a></b> () const</li>
<li><div class="fn"/>virtual int <b><a href="q3listboxpixmap.html#width">width</a></b> ( const Q3ListBox * <i>lb</i> ) const</li>
</ul>
<ul>
<li><div class="fn"/>14 public functions inherited from <a href="q3listboxitem.html#public-functions">Q3ListBoxItem</a></li>
</ul>
<a name="protected-functions"></a>
<h3>Protected Functions</h3>
<ul>
<li><div class="fn"/>virtual void <b><a href="q3listboxpixmap.html#paint">paint</a></b> ( QPainter * <i>painter</i> )</li>
</ul>
<ul>
<li><div class="fn"/>3 protected functions inherited from <a href="q3listboxitem.html#protected-functions">Q3ListBoxItem</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The Q3ListBoxPixmap 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.</p>
<p>See also <a href="q3listbox.html">Q3ListBox</a> and <a href="q3listboxitem.html">Q3ListBoxItem</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="Q3ListBoxPixmap"></a>Q3ListBoxPixmap::Q3ListBoxPixmap ( <a href="q3listbox.html">Q3ListBox</a> * <i>listbox</i>, const <a href="qpixmap.html">QPixmap</a> &amp; <i>pixmap</i> )</h3>
<p>Constructs a new list box item in list box <i>listbox</i> showing the pixmap <i>pixmap</i>.</p>
<h3 class="fn"><a name="Q3ListBoxPixmap-2"></a>Q3ListBoxPixmap::Q3ListBoxPixmap ( const <a href="qpixmap.html">QPixmap</a> &amp; <i>pixmap</i> )</h3>
<p>Constructs a new list box item showing the pixmap <i>pixmap</i>.</p>
<h3 class="fn"><a name="Q3ListBoxPixmap-3"></a>Q3ListBoxPixmap::Q3ListBoxPixmap ( <a href="q3listbox.html">Q3ListBox</a> * <i>listbox</i>, const <a href="qpixmap.html">QPixmap</a> &amp; <i>pixmap</i>, <a href="q3listboxitem.html">Q3ListBoxItem</a> * <i>after</i> )</h3>
<p>Constructs a new list box item in list box <i>listbox</i> showing the pixmap <i>pixmap</i>. The item gets inserted after the item <i>after</i>, or at the beginning if <i>after</i> is 0.</p>
<h3 class="fn"><a name="Q3ListBoxPixmap-4"></a>Q3ListBoxPixmap::Q3ListBoxPixmap ( <a href="q3listbox.html">Q3ListBox</a> * <i>listbox</i>, const <a href="qpixmap.html">QPixmap</a> &amp; <i>pix</i>, const <a href="qstring.html">QString</a> &amp; <i>text</i> )</h3>
<p>Constructs a new list box item in list box <i>listbox</i> showing the pixmap <i>pix</i> and the text <i>text</i>.</p>
<h3 class="fn"><a name="Q3ListBoxPixmap-5"></a>Q3ListBoxPixmap::Q3ListBoxPixmap ( const <a href="qpixmap.html">QPixmap</a> &amp; <i>pix</i>, const <a href="qstring.html">QString</a> &amp; <i>text</i> )</h3>
<p>Constructs a new list box item showing the pixmap <i>pix</i> and the text to <i>text</i>.</p>
<h3 class="fn"><a name="Q3ListBoxPixmap-6"></a>Q3ListBoxPixmap::Q3ListBoxPixmap ( <a href="q3listbox.html">Q3ListBox</a> * <i>listbox</i>, const <a href="qpixmap.html">QPixmap</a> &amp; <i>pix</i>, const <a href="qstring.html">QString</a> &amp; <i>text</i>, <a href="q3listboxitem.html">Q3ListBoxItem</a> * <i>after</i> )</h3>
<p>Constructs a new list box item in list box <i>listbox</i> showing the pixmap <i>pix</i> and the string <i>text</i>. The item gets inserted after the item <i>after</i>, or at the beginning if <i>after</i> is 0.</p>
<h3 class="fn"><a name="dtor.Q3ListBoxPixmap"></a>Q3ListBoxPixmap::~Q3ListBoxPixmap ()</h3>
<p>Destroys the item.</p>
<h3 class="fn"><a name="height"></a>int Q3ListBoxPixmap::height ( const <a href="q3listbox.html">Q3ListBox</a> * <i>lb</i> ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns the height of the pixmap in list box <i>lb</i>.</p>
<p>Reimplemented from <a href="q3listboxitem.html#height">Q3ListBoxItem</a>.</p>
<p>See also <a href="q3listboxpixmap.html#paint">paint</a>() and <a href="q3listboxpixmap.html#width">width</a>().</p>
<h3 class="fn"><a name="paint"></a>void Q3ListBoxPixmap::paint ( <a href="qpainter.html">QPainter</a> * <i>painter</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>Draws the pixmap using <i>painter</i>.</p>
<p>Reimplemented from <a href="q3listboxitem.html#paint">Q3ListBoxItem</a>.</p>
<h3 class="fn"><a name="pixmap"></a>const <a href="qpixmap.html">QPixmap</a> * Q3ListBoxPixmap::pixmap () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns the pixmap associated with the item.</p>
<p>Reimplemented from <a href="q3listboxitem.html#pixmap">Q3ListBoxItem</a>.</p>
<h3 class="fn"><a name="width"></a>int Q3ListBoxPixmap::width ( const <a href="q3listbox.html">Q3ListBox</a> * <i>lb</i> ) const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Returns the width of the pixmap plus some margin in list box <i>lb</i>.</p>
<p>Reimplemented from <a href="q3listboxitem.html#width">Q3ListBoxItem</a>.</p>
<p>See also <a href="q3listboxpixmap.html#paint">paint</a>() and <a href="q3listboxpixmap.html#height">height</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2006 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.2.1</div></td>
</tr></table></div></address></body>
</html>