~ubuntu-branches/ubuntu/precise/python-qt4/precise-proposed

« back to all changes in this revision

Viewing changes to doc/html/phonon-volumeslider.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell, Jonathan Riddell
  • Date: 2010-11-08 16:13:33 UTC
  • mfrom: (1.5.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101108161333-0nec4wu0nz3wpf9r
Tags: 4.8.1-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Build against python-sip-dev 4.11.2
* Remove kubuntu_02_fix-scpk-and-flag-issue.diff merged upstream
* Install __init__.py into /usr/lib/python3.2/dist-packages/PyQt4,
  fixes Python 3 support
* Add QtDeclarative to python-qt4
* Add kubuntu_03_uiparser.diff from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
td.postheader { font-family: sans-serif }
7
7
tr.address { font-family: sans-serif }
8
8
body { background: #ffffff; color: black; }
9
 
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">Phonon.VolumeSlider Class Reference<br /><sup><sup>[<a href="phonon.html">phonon</a> module]</sup></sup></h1><p>The VolumeSlider widget provides a slider that is used to control the volume of an audio output device. <a href="#details">More...</a></p>
10
 
<p>Inherits <a href="qwidget.html">QWidget</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="phonon-volumeslider.html#VolumeSlider">__init__</a></b> (<i>self</i>, QWidget&#160;<i>parent</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#VolumeSlider-2">__init__</a></b> (<i>self</i>, AudioOutput, QWidget&#160;<i>parent</i>&#160;=&#160;None)</li><li><div class="fn" />AudioOutput <b><a href="phonon-volumeslider.html#audioOutput">audioOutput</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="phonon-volumeslider.html#hasTracking">hasTracking</a></b> (<i>self</i>)</li><li><div class="fn" />QSize <b><a href="phonon-volumeslider.html#iconSize">iconSize</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="phonon-volumeslider.html#isMuteVisible">isMuteVisible</a></b> (<i>self</i>)</li><li><div class="fn" />float <b><a href="phonon-volumeslider.html#maximumVolume">maximumVolume</a></b> (<i>self</i>)</li><li><div class="fn" />Qt.Orientation <b><a href="phonon-volumeslider.html#orientation">orientation</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="phonon-volumeslider.html#pageStep">pageStep</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setAudioOutput">setAudioOutput</a></b> (<i>self</i>, AudioOutput)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setIconSize">setIconSize</a></b> (<i>self</i>, QSize)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setMaximumVolume">setMaximumVolume</a></b> (<i>self</i>, float)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setMuteVisible">setMuteVisible</a></b> (<i>self</i>, bool)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setOrientation">setOrientation</a></b> (<i>self</i>, Qt.Orientation)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setPageStep">setPageStep</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setSingleStep">setSingleStep</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setTracking">setTracking</a></b> (<i>self</i>, bool)</li><li><div class="fn" />int <b><a href="phonon-volumeslider.html#singleStep">singleStep</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The VolumeSlider widget provides a slider that is used to control the volume of an audio output device.</p>
11
 
<p>The slider also displays an icon indicating if the volume of the <a href="phonon-audiooutput.html">AudioOutput</a> it is connected to is muted. The icon can be removed with <a href="phonon-volumeslider.html#muteVisible-prop">setMuteVisible</a>().</p>
12
 
<p>It is possible to set the <a href="phonon-volumeslider.html#maximumVolume-prop">maximum</a> value of the slider. By default, the minimum and maximum values of the slider are 0.0 (no sound) to 1.0 (the maximum volume the audio output can produce).</p>
 
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">Phonon.VolumeSlider Class Reference<br /><sup><sup>[<a href="phonon.html">phonon</a> module]</sup></sup></h1><p>The VolumeSlider widget provides a slider that is used to
 
10
control the volume of an audio output device. <a href="#details">More...</a></p>
 
11
 
 
12
<p>Inherits <a href="qwidget.html">QWidget</a>.</p><h3>Methods</h3><ul><li><div class="fn" /><b><a href="phonon-volumeslider.html#VolumeSlider">__init__</a></b> (<i>self</i>, QWidget&#160;<i>parent</i>&#160;=&#160;None)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#VolumeSlider-2">__init__</a></b> (<i>self</i>, AudioOutput, QWidget&#160;<i>parent</i>&#160;=&#160;None)</li><li><div class="fn" />AudioOutput <b><a href="phonon-volumeslider.html#audioOutput">audioOutput</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="phonon-volumeslider.html#hasTracking">hasTracking</a></b> (<i>self</i>)</li><li><div class="fn" />QSize <b><a href="phonon-volumeslider.html#iconSize">iconSize</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="phonon-volumeslider.html#isMuteVisible">isMuteVisible</a></b> (<i>self</i>)</li><li><div class="fn" />float <b><a href="phonon-volumeslider.html#maximumVolume">maximumVolume</a></b> (<i>self</i>)</li><li><div class="fn" />Qt.Orientation <b><a href="phonon-volumeslider.html#orientation">orientation</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="phonon-volumeslider.html#pageStep">pageStep</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setAudioOutput">setAudioOutput</a></b> (<i>self</i>, AudioOutput)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setIconSize">setIconSize</a></b> (<i>self</i>, QSize)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setMaximumVolume">setMaximumVolume</a></b> (<i>self</i>, float)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setMuteVisible">setMuteVisible</a></b> (<i>self</i>, bool)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setOrientation">setOrientation</a></b> (<i>self</i>, Qt.Orientation)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setPageStep">setPageStep</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setSingleStep">setSingleStep</a></b> (<i>self</i>, int)</li><li><div class="fn" /><b><a href="phonon-volumeslider.html#setTracking">setTracking</a></b> (<i>self</i>, bool)</li><li><div class="fn" />int <b><a href="phonon-volumeslider.html#singleStep">singleStep</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The VolumeSlider widget provides a slider that is used to
 
13
control the volume of an audio output device.</p>
 
14
<p>The slider also displays an icon indicating if the volume of the
 
15
<a href="phonon-audiooutput.html">AudioOutput</a> it is connected
 
16
to is muted. The icon can be removed with <a href="phonon-volumeslider.html#muteVisible-prop">setMuteVisible</a>().</p>
 
17
<p>It is possible to set the <a href="phonon-volumeslider.html#maximumVolume-prop">maximum</a> value of
 
18
the slider. By default, the minimum and maximum values of the
 
19
slider are 0.0 (no sound) to 1.0 (the maximum volume the audio
 
20
output can produce).</p>
13
21
<p>Here follows a code example:</p>
14
 
<pre>     Phonon.AudioOutput *audioOutput = new Phonon.AudioOutput(Phonon.MusicCategory);
 
22
<pre class="highlightedCode brush: cpp">
 
23
     Phonon.AudioOutput *audioOutput = new Phonon.AudioOutput(Phonon.MusicCategory);
15
24
     Phonon.createPath(mediaObject, audioOutput);
16
25
 
17
26
     Phonon.VolumeSlider *volumeSlider = new Phonon.VolumeSlider;
18
 
     volumeSlider-&gt;setAudioOutput(audioOutput);</pre>
19
 
<p>See also <a href="phonon-module.html">Phonon Module</a>.</p>
20
 
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="VolumeSlider" />VolumeSlider.__init__ (<i>self</i>, <a href="qwidget.html">QWidget</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a new volume slider with the given <i>parent</i>.</p>
21
 
<h3 class="fn"><a name="VolumeSlider-2" />VolumeSlider.__init__ (<i>self</i>, <a href="phonon-audiooutput.html">AudioOutput</a>, <a href="qwidget.html">QWidget</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a new volume slider with the given <i>output</i> object and <i>parent</i>.</p>
22
 
<a name="//apple_ref/cpp/instm/Phonon::VolumeSlider/~VolumeSlider" />
23
 
<h3 class="fn"><a name="audioOutput" /><a href="phonon-audiooutput.html">AudioOutput</a> VolumeSlider.audioOutput (<i>self</i>)</h3><p>See also <a href="phonon-volumeslider.html#setAudioOutput">setAudioOutput</a>().</p>
24
 
<a name="//apple_ref/cpp/instm/Phonon::VolumeSlider/setAudioOutput" />
25
 
<h3 class="fn"><a name="hasTracking" />bool VolumeSlider.hasTracking (<i>self</i>)</h3><h3 class="fn"><a name="iconSize" /><a href="qsize.html">QSize</a> VolumeSlider.iconSize (<i>self</i>)</h3><h3 class="fn"><a name="isMuteVisible" />bool VolumeSlider.isMuteVisible (<i>self</i>)</h3><h3 class="fn"><a name="maximumVolume" />float VolumeSlider.maximumVolume (<i>self</i>)</h3><h3 class="fn"><a name="orientation" /><a href="qt.html#Orientation-enum">Qt.Orientation</a> VolumeSlider.orientation (<i>self</i>)</h3><h3 class="fn"><a name="pageStep" />int VolumeSlider.pageStep (<i>self</i>)</h3><h3 class="fn"><a name="setAudioOutput" />VolumeSlider.setAudioOutput (<i>self</i>, <a href="phonon-audiooutput.html">AudioOutput</a>)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setAudioOutput(Phonon::AudioOutput *)</tt>.</p><p>Sets the audio output object to be controlled by this slider to the specified <i>output</i> object.</p>
26
 
<p>See also <a href="phonon-volumeslider.html#audioOutput">audioOutput</a>().</p>
27
 
<p /><h3 class="fn"><a name="setIconSize" />VolumeSlider.setIconSize (<i>self</i>, <a href="qsize.html">QSize</a>)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setIconSize(const QSize&amp;)</tt>.</p><h3 class="fn"><a name="setMaximumVolume" />VolumeSlider.setMaximumVolume (<i>self</i>, float)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setMaximumVolume(qreal)</tt>.</p><h3 class="fn"><a name="setMuteVisible" />VolumeSlider.setMuteVisible (<i>self</i>, bool)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setMuteVisible(bool)</tt>.</p><h3 class="fn"><a name="setOrientation" />VolumeSlider.setOrientation (<i>self</i>, <a href="qt.html#Orientation-enum">Qt.Orientation</a>)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setOrientation(Qt::Orientation)</tt>.</p><h3 class="fn"><a name="setPageStep" />VolumeSlider.setPageStep (<i>self</i>, int)</h3><h3 class="fn"><a name="setSingleStep" />VolumeSlider.setSingleStep (<i>self</i>, int)</h3><h3 class="fn"><a name="setTracking" />VolumeSlider.setTracking (<i>self</i>, bool)</h3><h3 class="fn"><a name="singleStep" />int VolumeSlider.singleStep (<i>self</i>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.7.7 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.6.3</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'
 
27
     volumeSlider-&gt;setAudioOutput(audioOutput);
 
28
</pre><hr /><h2>Method Documentation</h2><h3 class="fn"><a name="VolumeSlider" />VolumeSlider.__init__ (<i>self</i>, <a href="qwidget.html">QWidget</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a new volume slider with the given <i>parent</i>.</p>
 
29
 
 
30
 
 
31
<h3 class="fn"><a name="VolumeSlider-2" />VolumeSlider.__init__ (<i>self</i>, <a href="phonon-audiooutput.html">AudioOutput</a>, <a href="qwidget.html">QWidget</a>&#160;<i>parent</i>&#160;=&#160;None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><p>Constructs a new volume slider with the given <i>output</i>
 
32
object and <i>parent</i>.</p>
 
33
 
 
34
 
 
35
<h3 class="fn"><a name="audioOutput" /><a href="phonon-audiooutput.html">AudioOutput</a> VolumeSlider.audioOutput (<i>self</i>)</h3><h3 class="fn"><a name="hasTracking" />bool VolumeSlider.hasTracking (<i>self</i>)</h3><h3 class="fn"><a name="iconSize" /><a href="qsize.html">QSize</a> VolumeSlider.iconSize (<i>self</i>)</h3><h3 class="fn"><a name="isMuteVisible" />bool VolumeSlider.isMuteVisible (<i>self</i>)</h3><h3 class="fn"><a name="maximumVolume" />float VolumeSlider.maximumVolume (<i>self</i>)</h3><h3 class="fn"><a name="orientation" /><a href="qt.html#Orientation-enum">Qt.Orientation</a> VolumeSlider.orientation (<i>self</i>)</h3><h3 class="fn"><a name="pageStep" />int VolumeSlider.pageStep (<i>self</i>)</h3><h3 class="fn"><a name="setAudioOutput" />VolumeSlider.setAudioOutput (<i>self</i>, <a href="phonon-audiooutput.html">AudioOutput</a>)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setAudioOutput(Phonon::AudioOutput *)</tt>.</p><p>Sets the audio output object to be controlled by this slider to
 
36
the specified <i>output</i> object.</p>
 
37
<p>See also <a href="phonon-volumeslider.html#audioOutputx">audioOutput</a>().</p>
 
38
<h3 class="fn"><a name="setIconSize" />VolumeSlider.setIconSize (<i>self</i>, <a href="qsize.html">QSize</a>)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setIconSize(const QSize&amp;)</tt>.</p><h3 class="fn"><a name="setMaximumVolume" />VolumeSlider.setMaximumVolume (<i>self</i>, float)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setMaximumVolume(qreal)</tt>.</p><h3 class="fn"><a name="setMuteVisible" />VolumeSlider.setMuteVisible (<i>self</i>, bool)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setMuteVisible(bool)</tt>.</p><h3 class="fn"><a name="setOrientation" />VolumeSlider.setOrientation (<i>self</i>, <a href="qt.html#Orientation-enum">Qt.Orientation</a>)</h3><p>This method is also a Qt slot with the C++ signature <tt>void setOrientation(Qt::Orientation)</tt>.</p><h3 class="fn"><a name="setPageStep" />VolumeSlider.setPageStep (<i>self</i>, int)</h3><h3 class="fn"><a name="setSingleStep" />VolumeSlider.setSingleStep (<i>self</i>, int)</h3><h3 class="fn"><a name="setTracking" />VolumeSlider.setTracking (<i>self</i>, bool)</h3><h3 class="fn"><a name="singleStep" />int VolumeSlider.singleStep (<i>self</i>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.8.1 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.7.0</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'