292 lines
15 KiB
HTML
292 lines
15 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>GpgFrontend Project: GpgFrontend::UI::FindWidget 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>
|
|
<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>
|
|
<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">GpgFrontend Project
|
|
</div>
|
|
<div id="projectbrief">A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></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">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1FindWidget.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</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-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pri-slots">Private Slots</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classGpgFrontend_1_1UI_1_1FindWidget-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">GpgFrontend::UI::FindWidget Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Class for handling the find widget shown at buttom of a textedit-page.
|
|
<a href="classGpgFrontend_1_1UI_1_1FindWidget.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="FindWidget_8h_source.html">FindWidget.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for GpgFrontend::UI::FindWidget:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1UI_1_1FindWidget__inherit__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1FindWidget_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="GpgFrontend_1_1UI_1_1FindWidget_inherit__map" id="GpgFrontend_1_1UI_1_1FindWidget_inherit__map">
|
|
<area shape="rect" title="Class for handling the find widget shown at buttom of a textedit-page." alt="" coords="5,131,213,311"/>
|
|
<area shape="rect" title=" " alt="" coords="70,5,149,83"/>
|
|
</map>
|
|
</div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for GpgFrontend::UI::FindWidget:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.png" border="0" usemap="#GpgFrontend_1_1UI_1_1FindWidget_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="GpgFrontend_1_1UI_1_1FindWidget_coll__map" id="GpgFrontend_1_1UI_1_1FindWidget_coll__map">
|
|
<area shape="rect" title="Class for handling the find widget shown at buttom of a textedit-page." alt="" coords="5,932,213,1097"/>
|
|
<area shape="rect" title=" " alt="" coords="65,307,143,385"/>
|
|
<area shape="rect" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html" title="Class for handling a single tab of the tabwidget." alt="" coords="125,469,328,869"/>
|
|
<area shape="rect" title="STL class." alt="" coords="175,307,262,385"/>
|
|
<area shape="rect" title="STL class." alt="" coords="149,145,288,237"/>
|
|
<area shape="rect" title=" " alt="" coords="306,300,454,392"/>
|
|
<area shape="rect" title="STL class." alt="" coords="312,153,469,230"/>
|
|
<area shape="rect" title=" " alt="" coords="371,5,410,83"/>
|
|
</map>
|
|
</div>
|
|
<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:a495f281e72e5ddc10c8e944183b96dd9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#a495f281e72e5ddc10c8e944183b96dd9">FindWidget</a> (QWidget *parent, <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">PlainTextEditorPage</a> *edit)</td></tr>
|
|
<tr class="separator:a495f281e72e5ddc10c8e944183b96dd9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a6e2264a989c2bb2db6bc8980b43e65f0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#a6e2264a989c2bb2db6bc8980b43e65f0">keyPressEvent</a> (QKeyEvent *e) override</td></tr>
|
|
<tr class="separator:a6e2264a989c2bb2db6bc8980b43e65f0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
|
|
Private Slots</h2></td></tr>
|
|
<tr class="memitem:a6f28757eafd39ee0b1f8fe977bfee8b1"><td class="memItemLeft" align="right" valign="top"><a id="a6f28757eafd39ee0b1f8fe977bfee8b1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>slot_find_next</b> ()</td></tr>
|
|
<tr class="separator:a6f28757eafd39ee0b1f8fe977bfee8b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a36ac2ccdd4e59cfdb790c73042dce532"><td class="memItemLeft" align="right" valign="top"><a id="a36ac2ccdd4e59cfdb790c73042dce532"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>slot_find_previous</b> ()</td></tr>
|
|
<tr class="separator:a36ac2ccdd4e59cfdb790c73042dce532"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa019bd8b63ad1e79050e4428cfee62cf"><td class="memItemLeft" align="right" valign="top"><a id="aa019bd8b63ad1e79050e4428cfee62cf"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>slot_find</b> ()</td></tr>
|
|
<tr class="separator:aa019bd8b63ad1e79050e4428cfee62cf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8188c030936fbda27ac400a7ab59e61c"><td class="memItemLeft" align="right" valign="top"><a id="a8188c030936fbda27ac400a7ab59e61c"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>slot_close</b> ()</td></tr>
|
|
<tr class="separator:a8188c030936fbda27ac400a7ab59e61c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
|
Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:a0c531f2c673caed29225a323e750205f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#a0c531f2c673caed29225a323e750205f">set_background</a> ()</td></tr>
|
|
<tr class="separator:a0c531f2c673caed29225a323e750205f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a11f9d0f07b704539ad1df15a5c15dca9"><td class="memItemLeft" align="right" valign="top"><a id="a11f9d0f07b704539ad1df15a5c15dca9"></a>
|
|
<a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">PlainTextEditorPage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#a11f9d0f07b704539ad1df15a5c15dca9">m_text_page_</a></td></tr>
|
|
<tr class="memdesc:a11f9d0f07b704539ad1df15a5c15dca9"><td class="mdescLeft"> </td><td class="mdescRight">Textedit associated to the notification. <br /></td></tr>
|
|
<tr class="separator:a11f9d0f07b704539ad1df15a5c15dca9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af420832720942dd1e7cb3f3841c7cbfe"><td class="memItemLeft" align="right" valign="top"><a id="af420832720942dd1e7cb3f3841c7cbfe"></a>
|
|
QLineEdit * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#af420832720942dd1e7cb3f3841c7cbfe">find_edit_</a></td></tr>
|
|
<tr class="memdesc:af420832720942dd1e7cb3f3841c7cbfe"><td class="mdescLeft"> </td><td class="mdescRight">Label holding the text shown in infoBoard. <br /></td></tr>
|
|
<tr class="separator:af420832720942dd1e7cb3f3841c7cbfe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Class for handling the find widget shown at buttom of a textedit-page. </p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a495f281e72e5ddc10c8e944183b96dd9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a495f281e72e5ddc10c8e944183b96dd9">◆ </a></span>FindWidget()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">GpgFrontend::UI::FindWidget::FindWidget </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QWidget * </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html">PlainTextEditorPage</a> * </td>
|
|
<td class="paramname"><em>edit</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">parent</td><td>The parent widget </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#af420832720942dd1e7cb3f3841c7cbfe">find_edit_</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a6e2264a989c2bb2db6bc8980b43e65f0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6e2264a989c2bb2db6bc8980b43e65f0">◆ </a></span>keyPressEvent()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::UI::FindWidget::keyPressEvent </td>
|
|
<td>(</td>
|
|
<td class="paramtype">QKeyEvent * </td>
|
|
<td class="paramname"><em>e</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">e</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0c531f2c673caed29225a323e750205f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0c531f2c673caed29225a323e750205f">◆ </a></span>set_background()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void GpgFrontend::UI::FindWidget::set_background </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Set background of findEdit to red, if no match is found (Documents textcursor position equals -1), otherwise set it to white. </p>
|
|
|
|
<p class="reference">References <a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#af420832720942dd1e7cb3f3841c7cbfe">find_edit_</a>, <a class="el" href="classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a6218e6e12bdba0228e4ab4276f7fed7a">GpgFrontend::UI::PlainTextEditorPage::GetTextPage()</a>, and <a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html#a11f9d0f07b704539ad1df15a5c15dca9">m_text_page_</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>src/ui/widgets/<a class="el" href="FindWidget_8h_source.html">FindWidget.h</a></li>
|
|
<li>src/ui/widgets/FindWidget.cpp</li>
|
|
</ul>
|
|
</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="namespaceGpgFrontend.html">GpgFrontend</a></li><li class="navelem"><a class="el" href="namespaceGpgFrontend_1_1UI.html">UI</a></li><li class="navelem"><a class="el" href="classGpgFrontend_1_1UI_1_1FindWidget.html">FindWidget</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.17 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|