Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 4442dd9bdde98a1d9ca2177557e87d7d > files > 525

libqxt-devel-0.6.1-3.fc15.i686.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">
<!-- /builddir/build/BUILD/libqxt/src/gui/qxtletterboxwidget.cpp -->
<head>
  <title>QxtLetterBoxWidget Class Reference</title>
  <link href="stylesheet.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://libqxt.org"><img src="images/qxt-logo.png" width="50" height="40" align="left" 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="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">Classes</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">Namespaces</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QxtLetterBoxWidget Class Reference<br /><span class="small-subtitle">[<a href="qxtgui.html">QxtGui</a> module]</span>
</h1>
<p>The QxtLetterBoxWidget widget is a letter box widget. <a href="#details">More...</a></p>
<pre>    #include &lt;QxtLetterBoxWidget&gt;</pre><p>Inherits <a href="http://doc.qtsoftware.com/4.5/qframe.html">QFrame</a>.</p>
<ul>
<li><a href="qxtletterboxwidget-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"></div><b><a href="qxtletterboxwidget.html#QxtLetterBoxWidget">QxtLetterBoxWidget</a></b> ( QWidget * <i>parent</i> = 0 )</li>
<li><div class="fn"></div><b><a href="qxtletterboxwidget.html#dtor.QxtLetterBoxWidget">~QxtLetterBoxWidget</a></b> ()</li>
<li><div class="fn"></div>QColor <b><a href="qxtletterboxwidget.html#backgroundColor">backgroundColor</a></b> () const</li>
<li><div class="fn"></div>void <b><a href="qxtletterboxwidget.html#clearBackgroundColor">clearBackgroundColor</a></b> ()</li>
<li><div class="fn"></div>int <b><a href="qxtletterboxwidget.html#margin">margin</a></b> () const</li>
<li><div class="fn"></div>uint <b><a href="qxtletterboxwidget.html#resizeDelay">resizeDelay</a></b> () const</li>
<li><div class="fn"></div>void <b><a href="qxtletterboxwidget.html#setBackgroundColor">setBackgroundColor</a></b> ( const QColor &amp; <i>color</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtletterboxwidget.html#setMargin">setMargin</a></b> ( int <i>margin</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtletterboxwidget.html#setResizeDelay">setResizeDelay</a></b> ( uint <i>delay</i> )</li>
<li><div class="fn"></div>void <b><a href="qxtletterboxwidget.html#setWidget">setWidget</a></b> ( QWidget * <i>widget</i> )</li>
<li><div class="fn"></div>QWidget * <b><a href="qxtletterboxwidget.html#widget">widget</a></b> () const</li>
</ul>
<ul>
<li><div class="fn"></div>13 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qframe.html#public-functions">QFrame</a></li>
<li><div class="fn"></div>207 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#public-functions">QWidget</a></li>
<li><div class="fn"></div>12 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qpaintdevice.html#public-functions">QPaintDevice</a></li>
<li><div class="fn"></div>29 public functions inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="public-slots"></a>
<h3>Public Slots</h3>
<ul>
<li><div class="fn"></div>void <b><a href="qxtletterboxwidget.html#resizeWidget">resizeWidget</a></b> ()</li>
</ul>
<ul>
<li><div class="fn"></div>19 public slots inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#public-slots">QWidget</a></li>
<li><div class="fn"></div>1 public slot inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-slots">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>6 properties inherited from <a href="http://doc.qtsoftware.com/4.5/qframe.html#properties">QFrame</a></li>
<li><div class="fn"></div>57 properties inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#properties">QWidget</a></li>
<li><div class="fn"></div>1 property inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#properties">QObject</a></li>
<li><div class="fn"></div>1 signal inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#signals">QWidget</a></li>
<li><div class="fn"></div>1 signal inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#signals">QObject</a></li>
<li><div class="fn"></div>1 public type inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#public-variables">QObject</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#static-public-members">QWidget</a></li>
<li><div class="fn"></div>1 static public member inherited from <a href="http://doc.qtsoftware.com/4.5/qpaintdevice.html#static-public-members">QPaintDevice</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>37 protected functions inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#protected-functions">QWidget</a></li>
<li><div class="fn"></div>1 protected function inherited from <a href="http://doc.qtsoftware.com/4.5/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li><div class="fn"></div>7 protected functions inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#protected-functions">QObject</a></li>
<li><div class="fn"></div>1 protected slot inherited from <a href="http://doc.qtsoftware.com/4.5/qwidget.html#protected-slots">QWidget</a></li>
<li><div class="fn"></div>1 protected type inherited from <a href="http://doc.qtsoftware.com/4.5/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
<li><div class="fn"></div>2 protected variables inherited from <a href="http://doc.qtsoftware.com/4.5/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QxtLetterBoxWidget widget is a letter box widget.</p>
<p>QxtLetterBoxWidget preserves the aspect ratio of its content widget.</p>
<p>Use <a href="http://doc.qtsoftware.com/4.5/qwidget.html#sizeIncrement-prop">QWidget::sizeIncrement</a> to define the aspect ratio:</p>
<pre>    QxtLetterBoxWidget letterBox;
    widget-&gt;setSizeIncrement(16, 9);
    letterBox.setWidget(widget);
    letterBox.show();</pre>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QxtLetterBoxWidget"></a>QxtLetterBoxWidget::QxtLetterBoxWidget ( <a href="http://doc.qtsoftware.com/4.5/qwidget.html">QWidget</a> * <i>parent</i> = 0 )</h3>
<p>Constructs a new <a href="qxtletterboxwidget.html">QxtLetterBoxWidget</a> with <i>parent</i>.</p>
<h3 class="fn"><a name="dtor.QxtLetterBoxWidget"></a>QxtLetterBoxWidget::~QxtLetterBoxWidget ()</h3>
<p>Destructs the group box.</p>
<h3 class="fn"><a name="backgroundColor"></a><a href="http://doc.qtsoftware.com/4.5/qcolor.html">QColor</a> QxtLetterBoxWidget::backgroundColor () const</h3>
<p>See also <a href="qxtletterboxwidget.html#setBackgroundColor">setBackgroundColor</a>().</p>
<h3 class="fn"><a name="clearBackgroundColor"></a>void QxtLetterBoxWidget::clearBackgroundColor ()</h3>
<h3 class="fn"><a name="margin"></a>int QxtLetterBoxWidget::margin () const</h3>
<p>See also <a href="qxtletterboxwidget.html#setMargin">setMargin</a>().</p>
<h3 class="fn"><a name="resizeDelay"></a><a href="http://doc.qtsoftware.com/4.5/qtglobal.html#uint-typedef">uint</a> QxtLetterBoxWidget::resizeDelay () const</h3>
<p>See also <a href="qxtletterboxwidget.html#setResizeDelay">setResizeDelay</a>().</p>
<h3 class="fn"><a name="resizeWidget"></a>void QxtLetterBoxWidget::resizeWidget ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Resizes the content widget.</p>
<h3 class="fn"><a name="setBackgroundColor"></a>void QxtLetterBoxWidget::setBackgroundColor ( const <a href="http://doc.qtsoftware.com/4.5/qcolor.html">QColor</a> &amp; <i>color</i> )</h3>
<p>See also <a href="qxtletterboxwidget.html#backgroundColor">backgroundColor</a>().</p>
<h3 class="fn"><a name="setMargin"></a>void QxtLetterBoxWidget::setMargin ( int <i>margin</i> )</h3>
<p>See also <a href="qxtletterboxwidget.html#margin">margin</a>().</p>
<h3 class="fn"><a name="setResizeDelay"></a>void QxtLetterBoxWidget::setResizeDelay ( <a href="http://doc.qtsoftware.com/4.5/qtglobal.html#uint-typedef">uint</a> <i>delay</i> )</h3>
<p>See also <a href="qxtletterboxwidget.html#resizeDelay">resizeDelay</a>().</p>
<h3 class="fn"><a name="setWidget"></a>void QxtLetterBoxWidget::setWidget ( <a href="http://doc.qtsoftware.com/4.5/qwidget.html">QWidget</a> * <i>widget</i> )</h3>
<p>Sets the given <i>widget</i> to be the letter box's widget.</p>
<p><b>Note:</b> QxtLetterBox takes ownership of the widget pointer and deletes it at the appropriate time.</p>
<p>See also <a href="qxtletterboxwidget.html#widget">widget</a>().</p>
<h3 class="fn"><a name="widget"></a><a href="http://doc.qtsoftware.com/4.5/qwidget.html">QWidget</a> * QxtLetterBoxWidget::widget () const</h3>
<p>Returns the widget for the letter box. This function returns zero if the widget has not been set.</p>
<p>See also <a href="qxtletterboxwidget.html#setWidget">setWidget</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2007-2010
<a href="mailto:foundation@libqxt.org">Qxt Foundation</a></td>
<td align="right"><div align="right">
<a href="http://libqxt.org">Qxt</a> 0.6.1</div></td>
</tr></table></div></address></body>
</html>