3
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/gui/widgets/qtextedit.cpp -->
7
<title>Qt 4.5: ExtraSelection Class Reference</title>
7
<title>Qt 4.6: ExtraSelection Class Reference</title>
8
8
<link href="classic.css" rel="stylesheet" type="text/css" />
11
<a name="//apple_ref/cpp/cl/QTextEdit/ExtraSelection" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
13
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="namespaces.html"><font color="#004faf">All Namespaces</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">ExtraSelection Class Reference<br /><span class="small-subtitle">(QTextEdit::ExtraSelection)<br />[<a href="qtgui.html">QtGui</a> module]</span>
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
15
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
16
</tr></table><h1 class="title">ExtraSelection Class Reference<br /><span class="small-subtitle">(QTextEdit::ExtraSelection)<br />[<a href="qtgui.html">QtGui</a> module]</span>
17
18
<p>The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document <a href="#details">More...</a></p>
18
19
<pre> #include <<a href="qtextedit.html">QTextEdit</a>></pre><p>This class was introduced in Qt 4.2.</p>
20
21
<li><a href="qtextedit-extraselection-members.html">List of all members, including inherited members</a></li>
22
24
<a name="public-variables"></a>
23
<h3>Public Variables</h3>
25
<li><div class="fn"></div>QTextCursor <b><a href="qtextedit-extraselection.html#cursor-var">cursor</a></b></li>
26
<li><div class="fn"></div>QTextCharFormat <b><a href="qtextedit-extraselection.html#format-var">format</a></b></li>
25
<h2>Public Variables</h2>
26
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
27
<tr><td class="memItemLeft" align="right" valign="top">QTextCursor </td><td class="memItemRight" valign="bottom"><b><a href="qtextedit-extraselection.html#cursor-var">cursor</a></b></td></tr>
28
<tr><td class="memItemLeft" align="right" valign="top">QTextCharFormat </td><td class="memItemRight" valign="bottom"><b><a href="qtextedit-extraselection.html#format-var">format</a></b></td></tr>
28
30
<a name="details"></a>
30
32
<h2>Detailed Description</h2>
31
33
<p>The QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document</p>
33
35
<h2>Member Variable Documentation</h2>
36
<a name="//apple_ref/cpp/data/QTextEdit::ExtraSelection/cursor" />
34
37
<h3 class="fn"><a name="cursor-var"></a><a href="qtextcursor.html">QTextCursor</a> ExtraSelection::cursor</h3>
35
38
<p>A cursor that contains a selection in a <a href="qtextdocument.html">QTextDocument</a></p>
39
<a name="//apple_ref/cpp/data/QTextEdit::ExtraSelection/format" />
36
40
<h3 class="fn"><a name="format-var"></a><a href="qtextcharformat.html">QTextCharFormat</a> ExtraSelection::format</h3>
37
41
<p>A format that is used to specify a foreground or background brush/color for the selection.</p>
38
42
<p /><address><hr /><div align="center">
39
43
<table width="100%" cellspacing="0" border="0"><tr class="address">
40
<td width="30%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
41
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
42
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
43
</tr></table></div></address></body>
44
<td width="40%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
45
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
46
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
47
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>