📄 class_qwt_plot_spectrogram.html
字号:
<td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Returns:</b></dt><dd>Default contour pen </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_spectrogram.html#fa3dea62acc8e5607e84bff8f50804b8">setDefaultContourPen</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00243">243</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00566">drawContourLines()</a>. </td> </tr></table><a class="anchor" name="b76245f919a08375b1f975d507e2afea"></a><!-- doxytag: member="QwtPlotSpectrogram::draw" ref="b76245f919a08375b1f975d507e2afea" args="(QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &rect) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotSpectrogram::draw </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QPainter * </td> <td class="mdname" nowrap> <em>painter</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="mdname" nowrap> <em>xMap</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="mdname" nowrap> <em>yMap</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const QRect & </td> <td class="mdname" nowrap> <em>canvasRect</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Draw the spectrogram. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr> <tr><td valign="top"></td><td valign="top"><em>xMap</em> </td><td>Maps x-values into pixel coordinates. </td></tr> <tr><td valign="top"></td><td valign="top"><em>yMap</em> </td><td>Maps y-values into pixel coordinates. </td></tr> <tr><td valign="top"></td><td valign="top"><em>canvasRect</em> </td><td>Contents rect of the canvas in painter coordinates</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_spectrogram.html#482a82bcf1b9f2a9a75f527063b394a2">setDisplayMode</a>, <a class="el" href="class_qwt_plot_spectrogram.html#698a7039b51fa259c39bd93a64743eea">renderImage</a>, <a class="el" href="class_qwt_plot_raster_item.html#81b062af415a8df33262f23768fd71ad">QwtPlotRasterItem::draw</a>, <a class="el" href="class_qwt_plot_spectrogram.html#ebd2c5ee80b3131138d4a55096962912">drawContourLines</a> </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_plot_raster_item.html#81b062af415a8df33262f23768fd71ad">QwtPlotRasterItem</a>.<p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00615">615</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>.<p>References <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00364">boundingRect()</a>, <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00529">contourRasterSize()</a>, <a class="el" href="qwt__plot__rasteritem_8cpp-source.html#l00229">QwtPlotRasterItem::draw()</a>, <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00566">drawContourLines()</a>, <a class="el" href="qwt__plot__item_8cpp-source.html#l00526">QwtPlotItem::invTransform()</a>, <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00549">renderContourLines()</a>, and <a class="el" href="qwt__plot__item_8cpp-source.html#l00501">QwtPlotItem::transform()</a>. </td> </tr></table><a class="anchor" name="ebd2c5ee80b3131138d4a55096962912"></a><!-- doxytag: member="QwtPlotSpectrogram::drawContourLines" ref="ebd2c5ee80b3131138d4a55096962912" args="(QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtRasterData::ContourLines &lines) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void QwtPlotSpectrogram::drawContourLines </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QPainter * </td> <td class="mdname" nowrap> <em>painter</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="mdname" nowrap> <em>xMap</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="mdname" nowrap> <em>yMap</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="class_qwt_raster_data.html#dc6679160a229992f0870a2b784985f3">QwtRasterData::ContourLines</a> & </td> <td class="mdname" nowrap> <em>contourLines</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Paint the contour lines<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr> <tr><td valign="top"></td><td valign="top"><em>xMap</em> </td><td>Maps x-values into pixel coordinates. </td></tr> <tr><td valign="top"></td><td valign="top"><em>yMap</em> </td><td>Maps y-values into pixel coordinates. </td></tr> <tr><td valign="top"></td><td valign="top"><em>contourLines</em> </td><td>Contour lines</td></tr> </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_spectrogram.html#bb0a5d6617c834016c3034e7a4e1396f">renderContourLines</a>, <a class="el" href="class_qwt_plot_spectrogram.html#0b5964a44f4c0ed0139681c6873ada73">defaultContourPen</a>, <a class="el" href="class_qwt_plot_spectrogram.html#9c5c16fcda0422739c5393e42be5af37">contourPen</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00566">566</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>.<p>References <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00259">contourPen()</a>, <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00243">defaultContourPen()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00437">QwtPainter::drawLine()</a>, and <a class="el" href="qwt__scale__map_8h-source.html#l00175">QwtScaleMap::transform()</a>.<p>Referenced by <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00615">draw()</a>. </td> </tr></table><a class="anchor" name="4e59ddce72db5df3d0be3986e74ab1f7"></a><!-- doxytag: member="QwtPlotSpectrogram::rasterHint" ref="4e59ddce72db5df3d0be3986e74ab1f7" args="(const QwtDoubleRect &) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">QSize QwtPlotSpectrogram::rasterHint </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QwtDoubleRect & </td> <td class="mdname1" valign="top" nowrap> <em>rect</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Returns the recommended raster for a given rect. <p>F.e the raster hint is used to limit the resolution of the image that is rendered.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Rect for the raster hint </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="class_qwt_plot_spectrogram.html#459af4973da43510b27d57494770fb14">data()</a>.rasterHint(rect) </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_plot_raster_item.html#610342c1ff21beed110f6454b705368c">QwtPlotRasterItem</a>.<p>Definition at line <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00378">378</a> of file <a class="el" href="qwt__plot__spectrogram_8cpp-source.html">qwt_plot_spectrogram.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__spectrogram_8cpp-source.html#l00529">contourRasterSize()</a>. </td> </tr></table><a class="anchor" name="bb0a5d6617c834016c3034e7a4e1396f"></a><!-- doxytag: member="QwtPlotSpectrogram::renderContourLines" ref="bb0a5d6617c834016c3034e7a4e1396f" args="(const QwtDoubleRect &rect, const QSize &raster) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_qwt_raster_data.html#dc6679160a229992f0870a2b784985f3">QwtRasterData::ContourLines</a> QwtPlotSpectrogram::renderContourLines </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QwtDoubleRect & </td> <td class="mdname" nowrap> <em>rect</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const QSize & </td> <td class="mdname" nowrap> <em>raster</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -