513 lines
29 KiB
HTML
513 lines
29 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>Qwt User's Guide: QwtIntervalSymbol Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Qwt User's Guide
|
|
 <span id="projectnumber">6.1.3</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('class_qwt_interval_symbol.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="class_qwt_interval_symbol-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">QwtIntervalSymbol Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>A drawing primitive for displaying an interval like an error bar.
|
|
<a href="class_qwt_interval_symbol.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="qwt__interval__symbol_8h_source.html">qwt_interval_symbol.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:a8fe960fd50b3ad08765ef8bb632ad77e"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a> { <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019">NoSymbol</a> = -1,
|
|
<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea1e4120af73e888e2edf05798d906e934">Bar</a>,
|
|
<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77eaf4f31197926c38dcc0377bb75ed5e6e1">Box</a>,
|
|
<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea40c2cb30f61f7ad63ff20482efd0e7b0">UserSymbol</a> = 1000
|
|
}<tr class="memdesc:a8fe960fd50b3ad08765ef8bb632ad77e"><td class="mdescLeft"> </td><td class="mdescRight">Symbol style. <a href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">More...</a><br /></td></tr>
|
|
</td></tr>
|
|
<tr class="separator:a8fe960fd50b3ad08765ef8bb632ad77e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a40c03c5b54dc3c4a69cf1dc88bf25893"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a40c03c5b54dc3c4a69cf1dc88bf25893">QwtIntervalSymbol</a> (<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a>=<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019">NoSymbol</a>)</td></tr>
|
|
<tr class="separator:a40c03c5b54dc3c4a69cf1dc88bf25893"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7a4ddf7e61445833f39105614ebd77c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a4ddf7e61445833f39105614ebd77c1"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a7a4ddf7e61445833f39105614ebd77c1">QwtIntervalSymbol</a> (const <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &)</td></tr>
|
|
<tr class="memdesc:a7a4ddf7e61445833f39105614ebd77c1"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br /></td></tr>
|
|
<tr class="separator:a7a4ddf7e61445833f39105614ebd77c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac983feda2d6417a24e430aa0cd0548b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac983feda2d6417a24e430aa0cd0548b9"></a>
|
|
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#ac983feda2d6417a24e430aa0cd0548b9">~QwtIntervalSymbol</a> ()</td></tr>
|
|
<tr class="memdesc:ac983feda2d6417a24e430aa0cd0548b9"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
|
|
<tr class="separator:ac983feda2d6417a24e430aa0cd0548b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a49558f59372b7e69143f1ff49c5bfad8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a49558f59372b7e69143f1ff49c5bfad8"></a>
|
|
<a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a49558f59372b7e69143f1ff49c5bfad8">operator=</a> (const <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &)</td></tr>
|
|
<tr class="memdesc:a49558f59372b7e69143f1ff49c5bfad8"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <br /></td></tr>
|
|
<tr class="separator:a49558f59372b7e69143f1ff49c5bfad8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1fa66bf16cecbcc6a2a95d8484dbc0d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1fa66bf16cecbcc6a2a95d8484dbc0d3"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a1fa66bf16cecbcc6a2a95d8484dbc0d3">operator==</a> (const <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &) const </td></tr>
|
|
<tr class="memdesc:a1fa66bf16cecbcc6a2a95d8484dbc0d3"><td class="mdescLeft"> </td><td class="mdescRight">Compare two symbols. <br /></td></tr>
|
|
<tr class="separator:a1fa66bf16cecbcc6a2a95d8484dbc0d3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a89737a98021a7ebf3eddd79469257411"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89737a98021a7ebf3eddd79469257411"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a89737a98021a7ebf3eddd79469257411">operator!=</a> (const <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &) const </td></tr>
|
|
<tr class="memdesc:a89737a98021a7ebf3eddd79469257411"><td class="mdescLeft"> </td><td class="mdescRight">Compare two symbols. <br /></td></tr>
|
|
<tr class="separator:a89737a98021a7ebf3eddd79469257411"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adfacdeb67c9e6d194df4d3d627de23eb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#adfacdeb67c9e6d194df4d3d627de23eb">setWidth</a> (int)</td></tr>
|
|
<tr class="separator:adfacdeb67c9e6d194df4d3d627de23eb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7f0bb9488778d9054932a5c072daecdc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a7f0bb9488778d9054932a5c072daecdc">width</a> () const </td></tr>
|
|
<tr class="separator:a7f0bb9488778d9054932a5c072daecdc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2bf63ba6d8051ad890787b4762ae8b9a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a2bf63ba6d8051ad890787b4762ae8b9a">setBrush</a> (const QBrush &b)</td></tr>
|
|
<tr class="memdesc:a2bf63ba6d8051ad890787b4762ae8b9a"><td class="mdescLeft"> </td><td class="mdescRight">Assign a brush. <a href="#a2bf63ba6d8051ad890787b4762ae8b9a">More...</a><br /></td></tr>
|
|
<tr class="separator:a2bf63ba6d8051ad890787b4762ae8b9a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a925cdf560cbeb857ad4c2176b552aacc"><td class="memItemLeft" align="right" valign="top">const QBrush & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a925cdf560cbeb857ad4c2176b552aacc">brush</a> () const </td></tr>
|
|
<tr class="separator:a925cdf560cbeb857ad4c2176b552aacc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9c3bbee5ea764f246e66bd7bc9382b79"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">setPen</a> (const QColor &, qreal <a class="el" href="class_qwt_interval_symbol.html#a7f0bb9488778d9054932a5c072daecdc">width</a>=0.0, Qt::PenStyle=Qt::SolidLine)</td></tr>
|
|
<tr class="separator:a9c3bbee5ea764f246e66bd7bc9382b79"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af40ddcffa51daf70c9f44f18b33a9ee2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#af40ddcffa51daf70c9f44f18b33a9ee2">setPen</a> (const QPen &)</td></tr>
|
|
<tr class="separator:af40ddcffa51daf70c9f44f18b33a9ee2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5945eb2b656f12451d02721b9068441d"><td class="memItemLeft" align="right" valign="top">const QPen & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a5945eb2b656f12451d02721b9068441d">pen</a> () const </td></tr>
|
|
<tr class="separator:a5945eb2b656f12451d02721b9068441d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a24d64169355cc200a49af15c08fe93fc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle</a> (<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a>)</td></tr>
|
|
<tr class="separator:a24d64169355cc200a49af15c08fe93fc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a301b219e05ee54fd49dafd969bc4ddd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a301b219e05ee54fd49dafd969bc4ddd7">style</a> () const </td></tr>
|
|
<tr class="separator:a301b219e05ee54fd49dafd969bc4ddd7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa13043e1d35361d8d259717a6579dadc"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#aa13043e1d35361d8d259717a6579dadc">draw</a> (QPainter *, Qt::Orientation, const QPointF &from, const QPointF &to) const </td></tr>
|
|
<tr class="separator:aa13043e1d35361d8d259717a6579dadc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>A drawing primitive for displaying an interval like an error bar. </p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_interval_curve.html" title="QwtPlotIntervalCurve represents a series of samples, where each value is associated with an interval ...">QwtPlotIntervalCurve</a> </dd></dl>
|
|
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
|
|
<a class="anchor" id="a8fe960fd50b3ad08765ef8bb632ad77e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">QwtIntervalSymbol::Style</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Symbol style. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019"></a>NoSymbol </td><td class="fielddoc">
|
|
<p>No Style. The symbol cannot be drawn. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a8fe960fd50b3ad08765ef8bb632ad77ea1e4120af73e888e2edf05798d906e934"></a>Bar </td><td class="fielddoc">
|
|
<p>The symbol displays a line with caps at the beginning/end. The size of the caps depends on the symbol <a class="el" href="class_qwt_interval_symbol.html#a7f0bb9488778d9054932a5c072daecdc">width()</a>. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a8fe960fd50b3ad08765ef8bb632ad77eaf4f31197926c38dcc0377bb75ed5e6e1"></a>Box </td><td class="fielddoc">
|
|
<p>The symbol displays a plain rectangle using <a class="el" href="class_qwt_interval_symbol.html#a5945eb2b656f12451d02721b9068441d">pen()</a> and <a class="el" href="class_qwt_interval_symbol.html#a925cdf560cbeb857ad4c2176b552aacc">brush()</a>. The size of the rectangle depends on the translated interval and the <a class="el" href="class_qwt_interval_symbol.html#a7f0bb9488778d9054932a5c072daecdc">width()</a>, </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a class="anchor" id="a8fe960fd50b3ad08765ef8bb632ad77ea40c2cb30f61f7ad63ff20482efd0e7b0"></a>UserSymbol </td><td class="fielddoc">
|
|
<p>Styles >= UserSymbol are reserved for derived classes of <a class="el" href="class_qwt_interval_symbol.html" title="A drawing primitive for displaying an interval like an error bar. ">QwtIntervalSymbol</a> that overload <a class="el" href="class_qwt_interval_symbol.html#aa13043e1d35361d8d259717a6579dadc">draw()</a> with additional application specific symbol types. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a40c03c5b54dc3c4a69cf1dc88bf25893"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QwtIntervalSymbol::QwtIntervalSymbol </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a> </td>
|
|
<td class="paramname"><em>style</em> = <code><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019">NoSymbol</a></code></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Constructor</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">style</td><td>Style of the symbol </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a>, <a class="el" href="class_qwt_interval_symbol.html#a301b219e05ee54fd49dafd969bc4ddd7">style()</a>, <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e" title="Symbol style. ">Style</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a925cdf560cbeb857ad4c2176b552aacc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const QBrush & QwtIntervalSymbol::brush </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>Brush </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a2bf63ba6d8051ad890787b4762ae8b9a" title="Assign a brush. ">setBrush()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa13043e1d35361d8d259717a6579dadc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtIntervalSymbol::draw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QPainter * </td>
|
|
<td class="paramname"><em>painter</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Qt::Orientation </td>
|
|
<td class="paramname"><em>orientation</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QPointF & </td>
|
|
<td class="paramname"><em>from</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const QPointF & </td>
|
|
<td class="paramname"><em>to</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Draw a symbol depending on its style</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">painter</td><td>Painter </td></tr>
|
|
<tr><td class="paramname">orientation</td><td>Orientation </td></tr>
|
|
<tr><td class="paramname">from</td><td>Start point of the interval in target device coordinates </td></tr>
|
|
<tr><td class="paramname">to</td><td>End point of the interval in target device coordinates</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5945eb2b656f12451d02721b9068441d"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const QPen & QwtIntervalSymbol::pen </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>Pen </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">setPen()</a>, <a class="el" href="class_qwt_interval_symbol.html#a925cdf560cbeb857ad4c2176b552aacc">brush()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2bf63ba6d8051ad890787b4762ae8b9a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtIntervalSymbol::setBrush </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QBrush & </td>
|
|
<td class="paramname"><em>brush</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Assign a brush. </p>
|
|
<p>The brush is used for the Box style.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">brush</td><td>Brush </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a925cdf560cbeb857ad4c2176b552aacc">brush()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9c3bbee5ea764f246e66bd7bc9382b79"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtIntervalSymbol::setPen </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QColor & </td>
|
|
<td class="paramname"><em>color</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">qreal </td>
|
|
<td class="paramname"><em>width</em> = <code>0.0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Qt::PenStyle </td>
|
|
<td class="paramname"><em>style</em> = <code>Qt::SolidLine</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Build and assign a pen</p>
|
|
<p>In Qt5 the default pen width is 1.0 ( 0.0 in Qt4 ) what makes it non cosmetic ( see QPen::isCosmetic() ). This method has been introduced to hide this incompatibility.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">color</td><td>Pen color </td></tr>
|
|
<tr><td class="paramname">width</td><td>Pen width </td></tr>
|
|
<tr><td class="paramname">style</td><td>Pen style</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a5945eb2b656f12451d02721b9068441d">pen()</a>, <a class="el" href="class_qwt_interval_symbol.html#a925cdf560cbeb857ad4c2176b552aacc">brush()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af40ddcffa51daf70c9f44f18b33a9ee2"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtIntervalSymbol::setPen </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const QPen & </td>
|
|
<td class="paramname"><em>pen</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Assign a pen</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">pen</td><td>Pen </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a5945eb2b656f12451d02721b9068441d">pen()</a>, <a class="el" href="class_qwt_interval_symbol.html#a2bf63ba6d8051ad890787b4762ae8b9a" title="Assign a brush. ">setBrush()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a24d64169355cc200a49af15c08fe93fc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtIntervalSymbol::setStyle </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a> </td>
|
|
<td class="paramname"><em>style</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Specify the symbol style</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">style</td><td>Style </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a301b219e05ee54fd49dafd969bc4ddd7">style()</a>, <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e" title="Symbol style. ">Style</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="adfacdeb67c9e6d194df4d3d627de23eb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QwtIntervalSymbol::setWidth </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>width</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Specify the width of the symbol It is used depending on the style.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">width</td><td>Width </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a7f0bb9488778d9054932a5c072daecdc">width()</a>, <a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a301b219e05ee54fd49dafd969bc4ddd7"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">QwtIntervalSymbol::Style</a> QwtIntervalSymbol::style </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>Current symbol style </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7f0bb9488778d9054932a5c072daecdc"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int QwtIntervalSymbol::width </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>Width of the symbol. </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#adfacdeb67c9e6d194df4d3d627de23eb">setWidth()</a>, <a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a></li>
|
|
<li class="footer">Generated by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|