Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 85599f4756e4acc40f2344e3828bae2e > files > 281

libyui-qt-devel-2.49.11-2.mga7.armv7hl.rpm

<!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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libyui-qt: QY2Styler 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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</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">libyui-qt
   &#160;<span id="projectnumber">2.49.11</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classQY2Styler.html','');});
/* @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="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classQY2Styler-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QY2Styler Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for QY2Styler:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler__inherit__graph.png" border="0" usemap="#QY2Styler_inherit__map" alt="Inheritance graph"/></div>
<map name="QY2Styler_inherit__map" id="QY2Styler_inherit__map">
<area shape="rect"  title=" " alt="" coords="5,80,88,107"/>
<area shape="rect"  title=" " alt="" coords="11,5,82,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for QY2Styler:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler__coll__graph.png" border="0" usemap="#QY2Styler_coll__map" alt="Collaboration graph"/></div>
<map name="QY2Styler_coll__map" id="QY2Styler_coll__map">
<area shape="rect"  title=" " alt="" coords="5,80,88,107"/>
<area shape="rect"  title=" " alt="" coords="11,5,82,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></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:a6dded9895875ac45a314c67d3b7a146c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a6dded9895875ac45a314c67d3b7a146c">styleSheetExists</a> (const QString &amp;file)</td></tr>
<tr class="memdesc:a6dded9895875ac45a314c67d3b7a146c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if an style sheet exists.  <a href="#a6dded9895875ac45a314c67d3b7a146c">More...</a><br /></td></tr>
<tr class="separator:a6dded9895875ac45a314c67d3b7a146c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5044a82bff2307d2ecee90935ea188e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#af5044a82bff2307d2ecee90935ea188e">loadStyleSheet</a> (const QString &amp;file)</td></tr>
<tr class="memdesc:af5044a82bff2307d2ecee90935ea188e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads and apply a style sheet from a file.  <a href="#af5044a82bff2307d2ecee90935ea188e">More...</a><br /></td></tr>
<tr class="separator:af5044a82bff2307d2ecee90935ea188e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6a176ac2e6268f93dfe7e687f8b3d5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#ae6a176ac2e6268f93dfe7e687f8b3d5e">setStyleSheet</a> (const QString &amp;text)</td></tr>
<tr class="memdesc:ae6a176ac2e6268f93dfe7e687f8b3d5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a style sheet from a string.  <a href="#ae6a176ac2e6268f93dfe7e687f8b3d5e">More...</a><br /></td></tr>
<tr class="separator:ae6a176ac2e6268f93dfe7e687f8b3d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac19118e7a9dfb126ac39a6eec23c5076"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#ac19118e7a9dfb126ac39a6eec23c5076">loadDefaultStyleSheet</a> ()</td></tr>
<tr class="memdesc:ac19118e7a9dfb126ac39a6eec23c5076"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the default stylesheet.  <a href="#ac19118e7a9dfb126ac39a6eec23c5076">More...</a><br /></td></tr>
<tr class="separator:ac19118e7a9dfb126ac39a6eec23c5076"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13c79a276958b673415228a5901e84bd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a13c79a276958b673415228a5901e84bd">loadAlternateStyleSheet</a> ()</td></tr>
<tr class="memdesc:a13c79a276958b673415228a5901e84bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the alternate stylesheet.  <a href="#a13c79a276958b673415228a5901e84bd">More...</a><br /></td></tr>
<tr class="separator:a13c79a276958b673415228a5901e84bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab886e38e769e2646dc7d7d9d85c2c8a"><td class="memItemLeft" align="right" valign="top"><a id="aab886e38e769e2646dc7d7d9d85c2c8a"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a">themeDir</a> () const</td></tr>
<tr class="memdesc:aab886e38e769e2646dc7d7d9d85c2c8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the path to the style sheets directory. <br /></td></tr>
<tr class="separator:aab886e38e769e2646dc7d7d9d85c2c8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8feb57d85a49ef6e89a10c6c7b6c6e0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a8feb57d85a49ef6e89a10c6c7b6c6e0d">registerWidget</a> (QWidget *widget)</td></tr>
<tr class="memdesc:a8feb57d85a49ef6e89a10c6c7b6c6e0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a widget and applies the style sheet.  <a href="#a8feb57d85a49ef6e89a10c6c7b6c6e0d">More...</a><br /></td></tr>
<tr class="separator:a8feb57d85a49ef6e89a10c6c7b6c6e0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a813d28af678b8b0a1ccdec205c744e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a9a813d28af678b8b0a1ccdec205c744e">unregisterWidget</a> (QWidget *widget)</td></tr>
<tr class="memdesc:a9a813d28af678b8b0a1ccdec205c744e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregisters a widget.  <a href="#a9a813d28af678b8b0a1ccdec205c744e">More...</a><br /></td></tr>
<tr class="separator:a9a813d28af678b8b0a1ccdec205c744e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af767fa08bce5e23091cffaff673b6404"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#af767fa08bce5e23091cffaff673b6404">registerChildWidget</a> (QWidget *parent, QWidget *widget)</td></tr>
<tr class="memdesc:af767fa08bce5e23091cffaff673b6404"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a child widget.  <a href="#af767fa08bce5e23091cffaff673b6404">More...</a><br /></td></tr>
<tr class="separator:af767fa08bce5e23091cffaff673b6404"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcd4ca936480cc92189020dcedd76aab"><td class="memItemLeft" align="right" valign="top"><a id="afcd4ca936480cc92189020dcedd76aab"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>textStyle</b> () const</td></tr>
<tr class="separator:afcd4ca936480cc92189020dcedd76aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ef83f5b73d7f6f217e67967f65e80f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a9ef83f5b73d7f6f217e67967f65e80f6">setDefaultStyleSheet</a> (const QString &amp;styleSheet)</td></tr>
<tr class="memdesc:a9ef83f5b73d7f6f217e67967f65e80f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set style sheet for the default theme.  <a href="#a9ef83f5b73d7f6f217e67967f65e80f6">More...</a><br /></td></tr>
<tr class="separator:a9ef83f5b73d7f6f217e67967f65e80f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77ce3f9e1ca22f97d0e68fe178c124db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a77ce3f9e1ca22f97d0e68fe178c124db">setAlternateStyleSheet</a> (const QString &amp;styleSheet)</td></tr>
<tr class="memdesc:a77ce3f9e1ca22f97d0e68fe178c124db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set style sheet for the alternate theme.  <a href="#a77ce3f9e1ca22f97d0e68fe178c124db">More...</a><br /></td></tr>
<tr class="separator:a77ce3f9e1ca22f97d0e68fe178c124db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fef44f1bfdb087fc63ddc366b77c352"><td class="memItemLeft" align="right" valign="top"><a id="a9fef44f1bfdb087fc63ddc366b77c352"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a9fef44f1bfdb087fc63ddc366b77c352">toggleAlternateStyleSheet</a> ()</td></tr>
<tr class="memdesc:a9fef44f1bfdb087fc63ddc366b77c352"><td class="mdescLeft">&#160;</td><td class="mdescRight">Toggle between default/alternate style sheets. <br /></td></tr>
<tr class="separator:a9fef44f1bfdb087fc63ddc366b77c352"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc1862241042886e24a427cd7643de4e"><td class="memItemLeft" align="right" valign="top"><a id="abc1862241042886e24a427cd7643de4e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#abc1862241042886e24a427cd7643de4e">usingAlternateStyleSheet</a> ()</td></tr>
<tr class="memdesc:abc1862241042886e24a427cd7643de4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the alternate style is being used. <br /></td></tr>
<tr class="separator:abc1862241042886e24a427cd7643de4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a839a66fd4f0f2d3283e24ee7da9264e3"><td class="memItemLeft" align="right" valign="top"><a id="a839a66fd4f0f2d3283e24ee7da9264e3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>updateRendering</b> (QWidget *wid)</td></tr>
<tr class="separator:a839a66fd4f0f2d3283e24ee7da9264e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:af33ef8a6c6ab887dd7cf82b66034955b"><td class="memItemLeft" align="right" valign="top"><a id="af33ef8a6c6ab887dd7cf82b66034955b"></a>
static <a class="el" href="classQY2Styler.html">QY2Styler</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>styler</b> ()</td></tr>
<tr class="separator:af33ef8a6c6ab887dd7cf82b66034955b"><td class="memSeparator" colspan="2">&#160;</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:a67c59412e2bca3d1ce605898829e1b57"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a67c59412e2bca3d1ce605898829e1b57">QY2Styler</a> (QObject *parent, const QString &amp;defaultStyleSheet=&quot;&quot;, const QString &amp;alternateStyleSheet=&quot;&quot;)</td></tr>
<tr class="memdesc:a67c59412e2bca3d1ce605898829e1b57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a67c59412e2bca3d1ce605898829e1b57">More...</a><br /></td></tr>
<tr class="separator:a67c59412e2bca3d1ce605898829e1b57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a339bbeeadeb3491cd783676b29d47eb6"><td class="memItemLeft" align="right" valign="top"><a id="a339bbeeadeb3491cd783676b29d47eb6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>renderParent</b> (QWidget *wid)</td></tr>
<tr class="separator:a339bbeeadeb3491cd783676b29d47eb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a393ea796736cfca07f49385a22473814"><td class="memItemLeft" align="right" valign="top"><a id="a393ea796736cfca07f49385a22473814"></a>
QImage&#160;</td><td class="memItemRight" valign="bottom"><b>getScaled</b> (const QString name, const QSize &amp;size)</td></tr>
<tr class="separator:a393ea796736cfca07f49385a22473814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e603c0f64dd4760f5b5ad92fb465626"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a1e603c0f64dd4760f5b5ad92fb465626">processUrls</a> (QString &amp;text)</td></tr>
<tr class="memdesc:a1e603c0f64dd4760f5b5ad92fb465626"><td class="mdescLeft">&#160;</td><td class="mdescRight">Search and replace some self-defined macros in the style sheet.  <a href="#a1e603c0f64dd4760f5b5ad92fb465626">More...</a><br /></td></tr>
<tr class="separator:a1e603c0f64dd4760f5b5ad92fb465626"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab255e405cd1f29db320f4a9897ff8de4"><td class="memItemLeft" align="right" valign="top"><a id="ab255e405cd1f29db320f4a9897ff8de4"></a>
const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#ab255e405cd1f29db320f4a9897ff8de4">buildStyleSheet</a> (QString content)</td></tr>
<tr class="memdesc:ab255e405cd1f29db320f4a9897ff8de4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a stylesheet from a string. <br /></td></tr>
<tr class="separator:ab255e405cd1f29db320f4a9897ff8de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d70b331746a6abc6081e9596baa21e8"><td class="memItemLeft" align="right" valign="top">const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a2d70b331746a6abc6081e9596baa21e8">buildStyleSheet</a> (QString content, QStringList &amp;alreadyImportedFilenames)</td></tr>
<tr class="memdesc:a2d70b331746a6abc6081e9596baa21e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a stylesheet from a string.  <a href="#a2d70b331746a6abc6081e9596baa21e8">More...</a><br /></td></tr>
<tr class="separator:a2d70b331746a6abc6081e9596baa21e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a004e045e23d26144914a3f42bbb9b9a9"><td class="memItemLeft" align="right" valign="top">const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQY2Styler.html#a004e045e23d26144914a3f42bbb9b9a9">buildStyleSheetFromFile</a> (const QString &amp;filename, QStringList &amp;alreadyImportedFilenames)</td></tr>
<tr class="memdesc:a004e045e23d26144914a3f42bbb9b9a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Build a stylesheet from a file.  <a href="#a004e045e23d26144914a3f42bbb9b9a9">More...</a><br /></td></tr>
<tr class="separator:a004e045e23d26144914a3f42bbb9b9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a53ec5122bbe9c77e6d27f0f3865821"><td class="memItemLeft" align="right" valign="top"><a id="a9a53ec5122bbe9c77e6d27f0f3865821"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>eventFilter</b> (QObject *obj, QEvent *ev)</td></tr>
<tr class="separator:a9a53ec5122bbe9c77e6d27f0f3865821"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a32f76c4591f00a81027ed62af991a219"><td class="memItemLeft" align="right" valign="top"><a id="a32f76c4591f00a81027ed62af991a219"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>_currentStyleSheet</b></td></tr>
<tr class="separator:a32f76c4591f00a81027ed62af991a219"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a393365a216c361fe1d6273ce3af435d1"><td class="memItemLeft" align="right" valign="top"><a id="a393365a216c361fe1d6273ce3af435d1"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>_defaultStyleSheet</b> = DEFAULT_STYLE_SHEET</td></tr>
<tr class="separator:a393365a216c361fe1d6273ce3af435d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba062e337b7a6b725511df1d4f346f5b"><td class="memItemLeft" align="right" valign="top"><a id="aba062e337b7a6b725511df1d4f346f5b"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>_alternateStyleSheet</b> = HIGH_CONTRAST_STYLE_SHEET</td></tr>
<tr class="separator:aba062e337b7a6b725511df1d4f346f5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f4f8b3075997c9bb9cd6eec923c5256"><td class="memItemLeft" align="right" valign="top"><a id="a7f4f8b3075997c9bb9cd6eec923c5256"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>_usingAlternateStyleSheet</b> = false</td></tr>
<tr class="separator:a7f4f8b3075997c9bb9cd6eec923c5256"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="QY2Styler_8h_source.html#l00038">38</a> of file <a class="el" href="QY2Styler_8h_source.html">QY2Styler.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a67c59412e2bca3d1ce605898829e1b57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67c59412e2bca3d1ce605898829e1b57">&#9670;&nbsp;</a></span>QY2Styler()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QY2Styler::QY2Styler </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>defaultStyleSheet</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>alternateStyleSheet</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<p>Use the static styler() function instead to return the singleton for this class. </p>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00055">55</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_a67c59412e2bca3d1ce605898829e1b57_cgraph.png" border="0" usemap="#classQY2Styler_a67c59412e2bca3d1ce605898829e1b57_cgraph" alt=""/></div>
<map name="classQY2Styler_a67c59412e2bca3d1ce605898829e1b57_cgraph" id="classQY2Styler_a67c59412e2bca3d1ce605898829e1b57_cgraph">
<area shape="rect"  title="Constructor." alt="" coords="5,46,156,73"/>
<area shape="rect"  href="classQY2Styler.html#a9ef83f5b73d7f6f217e67967f65e80f6" title="Set style sheet for the default theme." alt="" coords="209,5,389,47"/>
<area shape="rect"  href="classQY2Styler.html#a77ce3f9e1ca22f97d0e68fe178c124db" title="Set style sheet for the alternate theme." alt="" coords="204,71,395,112"/>
<area shape="rect"  href="classQY2Styler.html#a6dded9895875ac45a314c67d3b7a146c" title="Determines if an style sheet exists." alt="" coords="443,46,632,73"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="680,46,823,73"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a2d70b331746a6abc6081e9596baa21e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d70b331746a6abc6081e9596baa21e8">&#9670;&nbsp;</a></span>buildStyleSheet()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const QString QY2Styler::buildStyleSheet </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>content</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QStringList &amp;&#160;</td>
          <td class="paramname"><em>alreadyImportedFilenames</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Build a stylesheet from a string. </p>
<p>Receives a list of already imported files. </p>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00152">152</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_a2d70b331746a6abc6081e9596baa21e8_cgraph.png" border="0" usemap="#classQY2Styler_a2d70b331746a6abc6081e9596baa21e8_cgraph" alt=""/></div>
<map name="classQY2Styler_a2d70b331746a6abc6081e9596baa21e8_cgraph" id="classQY2Styler_a2d70b331746a6abc6081e9596baa21e8_cgraph">
<area shape="rect"  title="Build a stylesheet from a string." alt="" coords="5,35,187,61"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="254,5,397,32"/>
<area shape="rect"  href="classQY2Styler.html#a004e045e23d26144914a3f42bbb9b9a9" title="Build a stylesheet from a file." alt="" coords="235,57,416,98"/>
<area shape="rect"  href="classQY2Styler.html#ab255e405cd1f29db320f4a9897ff8de4" title="Build a stylesheet from a string." alt="" coords="464,64,645,91"/>
</map>
</div>

</div>
</div>
<a id="a004e045e23d26144914a3f42bbb9b9a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a004e045e23d26144914a3f42bbb9b9a9">&#9670;&nbsp;</a></span>buildStyleSheetFromFile()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const QString QY2Styler::buildStyleSheetFromFile </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QStringList &amp;&#160;</td>
          <td class="paramname"><em>alreadyImportedFilenames</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Build a stylesheet from a file. </p>
<p>Receives a list of already imported files. </p>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00165">165</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_a004e045e23d26144914a3f42bbb9b9a9_cgraph.png" border="0" usemap="#classQY2Styler_a004e045e23d26144914a3f42bbb9b9a9_cgraph" alt=""/></div>
<map name="classQY2Styler_a004e045e23d26144914a3f42bbb9b9a9_cgraph" id="classQY2Styler_a004e045e23d26144914a3f42bbb9b9a9_cgraph">
<area shape="rect"  title="Build a stylesheet from a file." alt="" coords="5,5,187,47"/>
<area shape="rect"  href="classQY2Styler.html#ab255e405cd1f29db320f4a9897ff8de4" title="Build a stylesheet from a string." alt="" coords="235,13,416,39"/>
</map>
</div>

</div>
</div>
<a id="a13c79a276958b673415228a5901e84bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13c79a276958b673415228a5901e84bd">&#9670;&nbsp;</a></span>loadAlternateStyleSheet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QY2Styler::loadAlternateStyleSheet </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Loads the alternate stylesheet. </p>
<p>The alternate stylesheet is determined by the environment variable Y2ALTSTYLE. If this variable is not set, the HIGH_COLOR_STYLE_SHEET style sheet will be used.</p>
<dl class="section return"><dt>Returns</dt><dd>true if the stylesheet was loaded; false otherwise. </dd></dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00120">120</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_a13c79a276958b673415228a5901e84bd_cgraph.png" border="0" usemap="#classQY2Styler_a13c79a276958b673415228a5901e84bd_cgraph" alt=""/></div>
<map name="classQY2Styler_a13c79a276958b673415228a5901e84bd_cgraph" id="classQY2Styler_a13c79a276958b673415228a5901e84bd_cgraph">
<area shape="rect"  title="Loads the alternate stylesheet." alt="" coords="5,5,172,47"/>
<area shape="rect"  href="classQY2Styler.html#af5044a82bff2307d2ecee90935ea188e" title="Loads and apply a style sheet from a file." alt="" coords="220,13,399,39"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="896,38,1039,65"/>
<area shape="rect"  href="classQY2Styler.html#ae6a176ac2e6268f93dfe7e687f8b3d5e" title="Applies a style sheet from a string." alt="" coords="447,38,619,65"/>
<area shape="rect"  href="classQY2Styler.html#ab255e405cd1f29db320f4a9897ff8de4" title="Build a stylesheet from a string." alt="" coords="667,38,848,65"/>
<area shape="rect"  href="classQY2Styler.html#a1e603c0f64dd4760f5b5ad92fb465626" title="Search and replace some self&#45;defined macros in the style sheet." alt="" coords="677,89,837,115"/>
</map>
</div>

</div>
</div>
<a id="ac19118e7a9dfb126ac39a6eec23c5076"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac19118e7a9dfb126ac39a6eec23c5076">&#9670;&nbsp;</a></span>loadDefaultStyleSheet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QY2Styler::loadDefaultStyleSheet </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Loads the default stylesheet. </p>
<p>The default stylesheet is determined by the environment variable Y2STYLE. If this variable is not set, the DEFAULT_STYLE_SHEET style sheet will be used.</p>
<dl class="section return"><dt>Returns</dt><dd>true if the stylesheet was loaded; false otherwise. </dd></dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00113">113</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_ac19118e7a9dfb126ac39a6eec23c5076_cgraph.png" border="0" usemap="#classQY2Styler_ac19118e7a9dfb126ac39a6eec23c5076_cgraph" alt=""/></div>
<map name="classQY2Styler_ac19118e7a9dfb126ac39a6eec23c5076_cgraph" id="classQY2Styler_ac19118e7a9dfb126ac39a6eec23c5076_cgraph">
<area shape="rect"  title="Loads the default stylesheet." alt="" coords="5,5,192,47"/>
<area shape="rect"  href="classQY2Styler.html#af5044a82bff2307d2ecee90935ea188e" title="Loads and apply a style sheet from a file." alt="" coords="240,13,419,39"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="916,38,1059,65"/>
<area shape="rect"  href="classQY2Styler.html#ae6a176ac2e6268f93dfe7e687f8b3d5e" title="Applies a style sheet from a string." alt="" coords="467,38,639,65"/>
<area shape="rect"  href="classQY2Styler.html#ab255e405cd1f29db320f4a9897ff8de4" title="Build a stylesheet from a string." alt="" coords="687,38,868,65"/>
<area shape="rect"  href="classQY2Styler.html#a1e603c0f64dd4760f5b5ad92fb465626" title="Search and replace some self&#45;defined macros in the style sheet." alt="" coords="697,89,857,115"/>
</map>
</div>

</div>
</div>
<a id="af5044a82bff2307d2ecee90935ea188e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5044a82bff2307d2ecee90935ea188e">&#9670;&nbsp;</a></span>loadStyleSheet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QY2Styler::loadStyleSheet </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Loads and apply a style sheet from a file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file</td><td>Filename. It should live in the <a class="el" href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory.">themeDir()</a> directory. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the file was found (and applied); false otherwise. </dd></dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00127">127</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_af5044a82bff2307d2ecee90935ea188e_cgraph.png" border="0" usemap="#classQY2Styler_af5044a82bff2307d2ecee90935ea188e_cgraph" alt=""/></div>
<map name="classQY2Styler_af5044a82bff2307d2ecee90935ea188e_cgraph" id="classQY2Styler_af5044a82bff2307d2ecee90935ea188e_cgraph">
<area shape="rect"  title="Loads and apply a style sheet from a file." alt="" coords="5,5,184,32"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="681,31,824,57"/>
<area shape="rect"  href="classQY2Styler.html#ae6a176ac2e6268f93dfe7e687f8b3d5e" title="Applies a style sheet from a string." alt="" coords="232,31,404,57"/>
<area shape="rect"  href="classQY2Styler.html#ab255e405cd1f29db320f4a9897ff8de4" title="Build a stylesheet from a string." alt="" coords="452,31,633,57"/>
<area shape="rect"  href="classQY2Styler.html#a1e603c0f64dd4760f5b5ad92fb465626" title="Search and replace some self&#45;defined macros in the style sheet." alt="" coords="463,81,623,108"/>
</map>
</div>

</div>
</div>
<a id="a1e603c0f64dd4760f5b5ad92fb465626"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e603c0f64dd4760f5b5ad92fb465626">&#9670;&nbsp;</a></span>processUrls()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QY2Styler::processUrls </td>
          <td>(</td>
          <td class="paramtype">QString &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Search and replace some self-defined macros in the style sheet. </p>
<p>Among other things, expands the file name inside url( filename.png ) in the style sheet with the full path. </p>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00201">201</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_a1e603c0f64dd4760f5b5ad92fb465626_cgraph.png" border="0" usemap="#classQY2Styler_a1e603c0f64dd4760f5b5ad92fb465626_cgraph" alt=""/></div>
<map name="classQY2Styler_a1e603c0f64dd4760f5b5ad92fb465626_cgraph" id="classQY2Styler_a1e603c0f64dd4760f5b5ad92fb465626_cgraph">
<area shape="rect"  title="Search and replace some self&#45;defined macros in the style sheet." alt="" coords="5,5,165,32"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="213,5,356,32"/>
</map>
</div>

</div>
</div>
<a id="af767fa08bce5e23091cffaff673b6404"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af767fa08bce5e23091cffaff673b6404">&#9670;&nbsp;</a></span>registerChildWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QY2Styler::registerChildWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>widget</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Registers a child widget. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>Parent widget. </td></tr>
    <tr><td class="paramname">widget</td><td>Widget to register. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00284">284</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>

</div>
</div>
<a id="a8feb57d85a49ef6e89a10c6c7b6c6e0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8feb57d85a49ef6e89a10c6c7b6c6e0d">&#9670;&nbsp;</a></span>registerWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QY2Styler::registerWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Registers a widget and applies the style sheet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>Widget to register. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00268">268</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>

</div>
</div>
<a id="a77ce3f9e1ca22f97d0e68fe178c124db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77ce3f9e1ca22f97d0e68fe178c124db">&#9670;&nbsp;</a></span>setAlternateStyleSheet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QY2Styler::setAlternateStyleSheet </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>styleSheet</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set style sheet for the alternate theme. </p>
<p>If the style sheet does not exists, it won't be changed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">styleSheet</td><td>Style sheet file name </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00105">105</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_a77ce3f9e1ca22f97d0e68fe178c124db_cgraph.png" border="0" usemap="#classQY2Styler_a77ce3f9e1ca22f97d0e68fe178c124db_cgraph" alt=""/></div>
<map name="classQY2Styler_a77ce3f9e1ca22f97d0e68fe178c124db_cgraph" id="classQY2Styler_a77ce3f9e1ca22f97d0e68fe178c124db_cgraph">
<area shape="rect"  title="Set style sheet for the alternate theme." alt="" coords="5,5,196,47"/>
<area shape="rect"  href="classQY2Styler.html#a6dded9895875ac45a314c67d3b7a146c" title="Determines if an style sheet exists." alt="" coords="244,13,433,39"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="481,13,624,39"/>
</map>
</div>

</div>
</div>
<a id="a9ef83f5b73d7f6f217e67967f65e80f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ef83f5b73d7f6f217e67967f65e80f6">&#9670;&nbsp;</a></span>setDefaultStyleSheet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QY2Styler::setDefaultStyleSheet </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>styleSheet</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set style sheet for the default theme. </p>
<p>If the style sheet does not exists, it won't be changed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">styleSheet</td><td>Style sheet file name </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00097">97</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_a9ef83f5b73d7f6f217e67967f65e80f6_cgraph.png" border="0" usemap="#classQY2Styler_a9ef83f5b73d7f6f217e67967f65e80f6_cgraph" alt=""/></div>
<map name="classQY2Styler_a9ef83f5b73d7f6f217e67967f65e80f6_cgraph" id="classQY2Styler_a9ef83f5b73d7f6f217e67967f65e80f6_cgraph">
<area shape="rect"  title="Set style sheet for the default theme." alt="" coords="5,5,185,47"/>
<area shape="rect"  href="classQY2Styler.html#a6dded9895875ac45a314c67d3b7a146c" title="Determines if an style sheet exists." alt="" coords="233,13,423,39"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="471,13,613,39"/>
</map>
</div>

</div>
</div>
<a id="ae6a176ac2e6268f93dfe7e687f8b3d5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6a176ac2e6268f93dfe7e687f8b3d5e">&#9670;&nbsp;</a></span>setStyleSheet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QY2Styler::setStyleSheet </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Applies a style sheet from a string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>Style sheet content. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00177">177</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_ae6a176ac2e6268f93dfe7e687f8b3d5e_cgraph.png" border="0" usemap="#classQY2Styler_ae6a176ac2e6268f93dfe7e687f8b3d5e_cgraph" alt=""/></div>
<map name="classQY2Styler_ae6a176ac2e6268f93dfe7e687f8b3d5e_cgraph" id="classQY2Styler_ae6a176ac2e6268f93dfe7e687f8b3d5e_cgraph">
<area shape="rect"  title="Applies a style sheet from a string." alt="" coords="5,31,177,57"/>
<area shape="rect"  href="classQY2Styler.html#ab255e405cd1f29db320f4a9897ff8de4" title="Build a stylesheet from a string." alt="" coords="225,5,407,32"/>
<area shape="rect"  href="classQY2Styler.html#a1e603c0f64dd4760f5b5ad92fb465626" title="Search and replace some self&#45;defined macros in the style sheet." alt="" coords="236,56,396,83"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="455,56,597,83"/>
</map>
</div>

</div>
</div>
<a id="a6dded9895875ac45a314c67d3b7a146c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6dded9895875ac45a314c67d3b7a146c">&#9670;&nbsp;</a></span>styleSheetExists()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QY2Styler::styleSheetExists </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if an style sheet exists. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">file</td><td>Filename. It should live in the <a class="el" href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory.">themeDir()</a> directory. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the file was found; false otherwise. </dd></dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00091">91</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classQY2Styler_a6dded9895875ac45a314c67d3b7a146c_cgraph.png" border="0" usemap="#classQY2Styler_a6dded9895875ac45a314c67d3b7a146c_cgraph" alt=""/></div>
<map name="classQY2Styler_a6dded9895875ac45a314c67d3b7a146c_cgraph" id="classQY2Styler_a6dded9895875ac45a314c67d3b7a146c_cgraph">
<area shape="rect"  title="Determines if an style sheet exists." alt="" coords="5,5,195,32"/>
<area shape="rect"  href="classQY2Styler.html#aab886e38e769e2646dc7d7d9d85c2c8a" title="Returns the path to the style sheets directory." alt="" coords="243,5,385,32"/>
</map>
</div>

</div>
</div>
<a id="a9a813d28af678b8b0a1ccdec205c744e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a813d28af678b8b0a1ccdec205c744e">&#9670;&nbsp;</a></span>unregisterWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QY2Styler::unregisterWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unregisters a widget. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>Widget to unregister. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="QY2Styler_8cc_source.html#l00277">277</a> of file <a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/iurt/rpmbuild/BUILD/libyui-qt-2.49.11/src/<a class="el" href="QY2Styler_8h_source.html">QY2Styler.h</a></li>
<li>/home/iurt/rpmbuild/BUILD/libyui-qt-2.49.11/src/<a class="el" href="QY2Styler_8cc_source.html">QY2Styler.cc</a></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="classQY2Styler.html">QY2Styler</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.15 </li>
  </ul>
</div>
</body>
</html>