Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 4272c97b1af3db3f39a3b697bcba7e48 > files > 496

albumshaper-2.1-7mdv2010.1.x86_64.rpm

<!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"/>
<title>AlbumShaper: ConfigurationWidget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>ConfigurationWidget Class Reference</h1><!-- doxytag: class="ConfigurationWidget" --><!-- doxytag: inherits="QDialog" -->
<p>Configuration/Settings Interface.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ConfigurationWidget:</div>
<div class="dynsection">
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ConfigurationWidget:</div>
<div class="dynsection">
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classConfigurationWidget-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a8c12990f6deb441d7149665bbdcc0e14">closed</a> ()</td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a22e96eca6f8d02346bb2352c226a434e">ConfigurationWidget</a> (<a class="el" href="classConfiguration.html">Configuration</a> *<a class="el" href="classConfigurationWidget.html#a4951f675385c07d50319b6ac3a1a1006">config</a>, <a class="el" href="classQWidget.html">QWidget</a> *parent=0, const char *name=0)</td></tr>
<tr><td colspan="2"><h2>Private Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#ac4b9c1e691cac88117a6308cf6cabfb9">updateDialogue</a> (<a class="el" href="classQIconViewItem.html">QIconViewItem</a> *selection)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">updates shown settings dialogue based on newly selected group  <a href="#ac4b9c1e691cac88117a6308cf6cabfb9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a84905f741c60c11c08b9b796a7d50f76">repaintGroup</a> (<a class="el" href="classQIconViewItem.html">QIconViewItem</a> *pseudoSelection)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">repaints a group icon if move is moved over it  <a href="#a84905f741c60c11c08b9b796a7d50f76"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a2362ebc5177bafc9f19b4cbf58ea3bb9">clearPseudoSelection</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clears any pseudo selections  <a href="#a2362ebc5177bafc9f19b4cbf58ea3bb9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a2a379c54f2dad1fd00b2aa1b76c80fc2">saveSettings</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a21f0bf797bf4d1835ed6bc185373cce2">reject</a> ()</td></tr>
<tr><td colspan="2"><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a1ee83fcc463f70cb5fae68ba6f0b4638">closeEvent</a> (QCloseEvent *e)</td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classConfiguration.html">Configuration</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a4951f675385c07d50319b6ac3a1a1006">config</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Backend config object pointer.  <a href="#a4951f675385c07d50319b6ac3a1a1006"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QGridLayout *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e">grid</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Grid widgets place in.  <a href="#a2c94cce2076488af4b1bad1aba290f1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGroupsWidget.html">GroupsWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c">groups</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">list of subalbums  <a href="#ae9cca06f071c6d9a8c33d17bbae8e35c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLoadingSavingWidget.html">LoadingSavingWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252">loadingSavingWidget</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">settings widgets  <a href="#a4a92da0a6e1d43373d13019d84ff9252"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLayoutSettingsWidget.html">LayoutSettingsWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAlertsWidget.html">AlertsWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQWidget.html">QWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#af24bc3c85ef858f5ef16b2bec48bc1ad">currentSettingsWidget</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGroupIcon.html">GroupIcon</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGroupIcon.html">GroupIcon</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a6e0f27ed0cc091339649dc3801b8dd58">alertsIcon</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">settings icons  <a href="#a6e0f27ed0cc091339649dc3801b8dd58"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGroupIcon.html">GroupIcon</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#abca959eaa916526308d25726202581ea">layoutIcon</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGroupIcon.html">GroupIcon</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a15e641ef244b4d314dbc57761b033bac">loadingSavingIcon</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQFrame.html">QFrame</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a4a99f6dd97ed2ac25bf321309fb0364d">buttonsFrame</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QPushButton *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#aad6a971ed7af6b0a724ebc8028607322">okButton</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QPushButton *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#abec91cc73265e103eb8a364b50ba50b8">cancelButton</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QGridLayout *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classConfigurationWidget.html#a9271d21f1ddc14daac5abc44fb3a6c89">buttonsGrid</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Configuration/Settings Interface. </p>

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00035">35</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a22e96eca6f8d02346bb2352c226a434e"></a><!-- doxytag: member="ConfigurationWidget::ConfigurationWidget" ref="a22e96eca6f8d02346bb2352c226a434e" args="(Configuration *config, QWidget *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ConfigurationWidget::ConfigurationWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classConfiguration.html">Configuration</a> *&nbsp;</td>
          <td class="paramname"> <em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classQWidget.html">QWidget</a> *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8cpp_source.html#l00030">30</a> of file <a class="el" href="configurationWidget_8cpp_source.html">configurationWidget.cpp</a>.</p>

<p>References <a class="el" href="configurationWidget_8h_source.html#l00083">alertsIcon</a>, <a class="el" href="configurationWidget_8h_source.html#l00076">alertsWidget</a>, <a class="el" href="configurationWidget_8h_source.html#l00086">buttonsFrame</a>, <a class="el" href="configurationWidget_8h_source.html#l00088">buttonsGrid</a>, <a class="el" href="configurationWidget_8h_source.html#l00087">cancelButton</a>, <a class="el" href="configurationWidget_8cpp_source.html#l00209">clearPseudoSelection()</a>, <a class="el" href="configurationWidget_8h_source.html#l00080">currentPseudoSelection</a>, <a class="el" href="configurationWidget_8h_source.html#l00077">currentSettingsWidget</a>, <a class="el" href="configurationWidget_8h_source.html#l00068">grid</a>, <a class="el" href="configurationWidget_8h_source.html#l00071">groups</a>, <a class="el" href="config_8cpp_source.html#l00018">IMAGE_PATH</a>, <a class="el" href="configurationWidget_8h_source.html#l00083">layoutIcon</a>, <a class="el" href="configurationWidget_8h_source.html#l00075">layoutWidget</a>, <a class="el" href="configurationWidget_8h_source.html#l00083">loadingSavingIcon</a>, <a class="el" href="configurationWidget_8h_source.html#l00074">loadingSavingWidget</a>, <a class="el" href="alertsWidget_8cpp_source.html#l00063">AlertsWidget::loadSettings()</a>, <a class="el" href="loadingSavingWidget_8cpp_source.html#l00159">LoadingSavingWidget::loadSettings()</a>, <a class="el" href="layoutSettingsWidget_8cpp_source.html#l00148">LayoutSettingsWidget::loadSettings()</a>, <a class="el" href="configurationWidget_8h_source.html#l00087">okButton</a>, <a class="el" href="configurationWidget_8cpp_source.html#l00234">reject()</a>, <a class="el" href="configurationWidget_8cpp_source.html#l00198">repaintGroup()</a>, <a class="el" href="configurationWidget_8cpp_source.html#l00220">saveSettings()</a>, <a class="el" href="groupsWidget_8cpp_source.html#l00065">GroupsWidget::setTextWidth()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00188">updateDialogue()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00033"></a>00033                                                                                        :
<a name="l00034"></a>00034                                                                     <a class="code" href="classQDialog.html">QDialog</a>(parent,name)
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036   <span class="comment">//store config pointer</span>
<a name="l00037"></a>00037   this-&gt;config = config;
<a name="l00038"></a>00038   <span class="comment">//--</span>
<a name="l00039"></a>00039   <span class="comment">//set window title</span>
<a name="l00040"></a>00040   setCaption( tr(<span class="stringliteral">&quot;Settings&quot;</span>));
<a name="l00041"></a>00041   <span class="comment">//--</span>
<a name="l00042"></a>00042   <span class="comment">//no icon currently hovered over</span>
<a name="l00043"></a>00043   <a class="code" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a> = NULL;
<a name="l00044"></a>00044   <span class="comment">//----------------------------------------------</span>
<a name="l00045"></a>00045   <span class="comment">//create settings widget</span>
<a name="l00046"></a>00046   <a class="code" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a> = <span class="keyword">new</span> <a class="code" href="classLayoutSettingsWidget.html" title="Layout Settings.">LayoutSettingsWidget</a>(config, <span class="keyword">this</span>);
<a name="l00047"></a>00047   <a class="code" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a> = <span class="keyword">new</span> <a class="code" href="classLoadingSavingWidget.html" title="Loading/Saving Settings.">LoadingSavingWidget</a>(config, <span class="keyword">this</span>);
<a name="l00048"></a>00048   <a class="code" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a> = <span class="keyword">new</span> <a class="code" href="classAlertsWidget.html" title="Alerts Settings.">AlertsWidget</a>( config, <span class="keyword">this</span> );
<a name="l00049"></a>00049   <span class="comment">//----------------------------------------------</span>
<a name="l00050"></a>00050   <span class="comment">//create iconview and icons for groups</span>
<a name="l00051"></a>00051   <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a> = <span class="keyword">new</span> <a class="code" href="classGroupsWidget.html" title="Displays group icon and text, also contains pointer to widget for setting group settings...">GroupsWidget</a>( <span class="keyword">this</span> );
<a name="l00052"></a>00052   <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>-&gt;setItemTextPos( QIconView::Right );
<a name="l00053"></a>00053 <span class="comment">//  groups-&gt;setMaxItemWidth(20);</span>
<a name="l00054"></a>00054   <span class="comment">//----</span>
<a name="l00055"></a>00055   <span class="comment">//construct group labels</span>
<a name="l00056"></a>00056   QString labels[3];
<a name="l00057"></a>00057   labels[0] = tr(<span class="stringliteral">&quot;Appearance&quot;</span>);
<a name="l00058"></a>00058   labels[1] = tr(<span class="stringliteral">&quot;Load/Save&quot;</span>);
<a name="l00059"></a>00059   labels[2] = tr(<span class="stringliteral">&quot;Alerts&quot;</span>);
<a name="l00060"></a>00060   <span class="comment">//----</span>
<a name="l00061"></a>00061   <span class="comment">//find max text width</span>
<a name="l00062"></a>00062   <span class="keywordtype">int</span> maxLabelWidth = 0;
<a name="l00063"></a>00063   <span class="keywordtype">int</span> i;
<a name="l00064"></a>00064   QFontMetrics fm( qApp-&gt;font() ); 
<a name="l00065"></a>00065   <span class="keywordflow">for</span>(i=0; i&lt;3; i++)
<a name="l00066"></a>00066   {
<a name="l00067"></a>00067     <span class="keywordflow">if</span>( fm.width( labels[i] ) &gt; maxLabelWidth )
<a name="l00068"></a>00068       maxLabelWidth = fm.width( labels[i] );
<a name="l00069"></a>00069   }
<a name="l00070"></a>00070   <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>-&gt;<a class="code" href="classGroupsWidget.html#ad769b1460640d784ce3abb9b73689294">setTextWidth</a>( maxLabelWidth );
<a name="l00071"></a>00071   <span class="comment">//----</span>
<a name="l00072"></a>00072   <span class="comment">//construct actual group icons</span>
<a name="l00073"></a>00073   <a class="code" href="classConfigurationWidget.html#abca959eaa916526308d25726202581ea">layoutIcon</a> = <span class="keyword">new</span> <a class="code" href="classGroupIcon.html" title="Displays group icon and text, also contains pointer to widget for setting group settings...">GroupIcon</a>(  <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>, QPixmap(QString(<a class="code" href="config_8cpp.html#a59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">&quot;settingsIcons/layout.png&quot;</span> ), 
<a name="l00074"></a>00074                                labels[0], <a class="code" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a> );
<a name="l00075"></a>00075   <a class="code" href="classConfigurationWidget.html#abca959eaa916526308d25726202581ea">layoutIcon</a>-&gt;setDragEnabled(<span class="keyword">false</span>);
<a name="l00076"></a>00076   <span class="comment">//----</span>
<a name="l00077"></a>00077   <a class="code" href="classConfigurationWidget.html#a15e641ef244b4d314dbc57761b033bac">loadingSavingIcon</a> = <span class="keyword">new</span> <a class="code" href="classGroupIcon.html" title="Displays group icon and text, also contains pointer to widget for setting group settings...">GroupIcon</a>( <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>, QPixmap(QString(<a class="code" href="config_8cpp.html#a59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">&quot;settingsIcons/loadsave.png&quot;</span> ),
<a name="l00078"></a>00078                                      labels[1], <a class="code" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a> );
<a name="l00079"></a>00079   <a class="code" href="classConfigurationWidget.html#a15e641ef244b4d314dbc57761b033bac">loadingSavingIcon</a>-&gt;setDragEnabled(<span class="keyword">false</span>);
<a name="l00080"></a>00080   <span class="comment">//----</span>
<a name="l00081"></a>00081   <a class="code" href="classConfigurationWidget.html#a6e0f27ed0cc091339649dc3801b8dd58" title="settings icons">alertsIcon</a> = <span class="keyword">new</span> <a class="code" href="classGroupIcon.html" title="Displays group icon and text, also contains pointer to widget for setting group settings...">GroupIcon</a>( <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>, QPixmap(QString(<a class="code" href="config_8cpp.html#a59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">&quot;settingsIcons/alerts.png&quot;</span> ),
<a name="l00082"></a>00082                               labels[2], <a class="code" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a> );
<a name="l00083"></a>00083   <a class="code" href="classConfigurationWidget.html#a6e0f27ed0cc091339649dc3801b8dd58" title="settings icons">alertsIcon</a>-&gt;setDragEnabled(<span class="keyword">false</span>);
<a name="l00084"></a>00084   <span class="comment">//-------------------------</span>
<a name="l00085"></a>00085   <span class="comment">//set default selection</span>
<a name="l00086"></a>00086   <a class="code" href="classConfigurationWidget.html#af24bc3c85ef858f5ef16b2bec48bc1ad">currentSettingsWidget</a> = <a class="code" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a>;
<a name="l00087"></a>00087   <a class="code" href="classConfigurationWidget.html#abca959eaa916526308d25726202581ea">layoutIcon</a>-&gt;setSelected(<span class="keyword">true</span>);
<a name="l00088"></a>00088   <a class="code" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a>-&gt;hide();
<a name="l00089"></a>00089   <a class="code" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a>-&gt;hide();
<a name="l00090"></a>00090   <span class="comment">//-------------------------</span>
<a name="l00091"></a>00091   <span class="comment">//connect selectionChanged signal to update which settings dialog is displayed</span>
<a name="l00092"></a>00092   connect( <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>, SIGNAL(selectionChanged(<a class="code" href="classQIconViewItem.html">QIconViewItem</a>*)),
<a name="l00093"></a>00093            SLOT(<a class="code" href="classConfigurationWidget.html#ac4b9c1e691cac88117a6308cf6cabfb9" title="updates shown settings dialogue based on newly selected group">updateDialogue</a>(<a class="code" href="classQIconViewItem.html">QIconViewItem</a>*)) );
<a name="l00094"></a>00094 
<a name="l00095"></a>00095   <span class="comment">//connect mouse over events to paint pseudo selection in ligher blue</span>
<a name="l00096"></a>00096   connect( <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>, SIGNAL(onItem(<a class="code" href="classQIconViewItem.html">QIconViewItem</a>*)),
<a name="l00097"></a>00097            SLOT(<a class="code" href="classConfigurationWidget.html#a84905f741c60c11c08b9b796a7d50f76" title="repaints a group icon if move is moved over it">repaintGroup</a>(<a class="code" href="classQIconViewItem.html">QIconViewItem</a>*)) );
<a name="l00098"></a>00098 
<a name="l00099"></a>00099   <span class="comment">//clear any pseudo selection when mouse moves off icons</span>
<a name="l00100"></a>00100   connect( <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>, SIGNAL(onViewport()),
<a name="l00101"></a>00101            SLOT(<a class="code" href="classConfigurationWidget.html#a2362ebc5177bafc9f19b4cbf58ea3bb9" title="clears any pseudo selections">clearPseudoSelection</a>()) );
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 
<a name="l00104"></a>00104   <span class="comment">//create buttons frame and widgets</span>
<a name="l00105"></a>00105   <a class="code" href="classConfigurationWidget.html#a4a99f6dd97ed2ac25bf321309fb0364d">buttonsFrame</a> = <span class="keyword">new</span> <a class="code" href="classQFrame.html">QFrame</a>( <span class="keyword">this</span> );
<a name="l00106"></a>00106   <a class="code" href="classConfigurationWidget.html#aad6a971ed7af6b0a724ebc8028607322">okButton</a> = <span class="keyword">new</span> QPushButton( tr(<span class="stringliteral">&quot;Apply&quot;</span>), <a class="code" href="classConfigurationWidget.html#a4a99f6dd97ed2ac25bf321309fb0364d">buttonsFrame</a> );
<a name="l00107"></a>00107   <a class="code" href="classConfigurationWidget.html#aad6a971ed7af6b0a724ebc8028607322">okButton</a>-&gt;setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
<a name="l00108"></a>00108   <a class="code" href="classConfigurationWidget.html#aad6a971ed7af6b0a724ebc8028607322">okButton</a>-&gt;setDefault(<span class="keyword">true</span>);
<a name="l00109"></a>00109   connect( <a class="code" href="classConfigurationWidget.html#aad6a971ed7af6b0a724ebc8028607322">okButton</a>, SIGNAL(clicked()), SLOT(<a class="code" href="classConfigurationWidget.html#a2a379c54f2dad1fd00b2aa1b76c80fc2">saveSettings</a>()) );
<a name="l00110"></a>00110   <a class="code" href="classConfigurationWidget.html#abec91cc73265e103eb8a364b50ba50b8">cancelButton</a> = <span class="keyword">new</span> QPushButton( tr(<span class="stringliteral">&quot;Cancel&quot;</span>), <a class="code" href="classConfigurationWidget.html#a4a99f6dd97ed2ac25bf321309fb0364d">buttonsFrame</a> );
<a name="l00111"></a>00111   <a class="code" href="classConfigurationWidget.html#abec91cc73265e103eb8a364b50ba50b8">cancelButton</a>-&gt;setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed );
<a name="l00112"></a>00112   connect( <a class="code" href="classConfigurationWidget.html#abec91cc73265e103eb8a364b50ba50b8">cancelButton</a>, SIGNAL(clicked()), SLOT(<a class="code" href="classConfigurationWidget.html#a21f0bf797bf4d1835ed6bc185373cce2">reject</a>()) );
<a name="l00113"></a>00113   <a class="code" href="classConfigurationWidget.html#a9271d21f1ddc14daac5abc44fb3a6c89">buttonsGrid</a> = <span class="keyword">new</span> QGridLayout( <a class="code" href="classConfigurationWidget.html#a4a99f6dd97ed2ac25bf321309fb0364d">buttonsFrame</a>, 1, 5, 0 );
<a name="l00114"></a>00114   <a class="code" href="classConfigurationWidget.html#a9271d21f1ddc14daac5abc44fb3a6c89">buttonsGrid</a>-&gt;setColStretch( 0, 1 );
<a name="l00115"></a>00115   <a class="code" href="classConfigurationWidget.html#a9271d21f1ddc14daac5abc44fb3a6c89">buttonsGrid</a>-&gt;addWidget( <a class="code" href="classConfigurationWidget.html#aad6a971ed7af6b0a724ebc8028607322">okButton</a>, 0, 1 );
<a name="l00116"></a>00116   <a class="code" href="classConfigurationWidget.html#a9271d21f1ddc14daac5abc44fb3a6c89">buttonsGrid</a>-&gt;addColSpacing( 2, 10 );
<a name="l00117"></a>00117   <a class="code" href="classConfigurationWidget.html#a9271d21f1ddc14daac5abc44fb3a6c89">buttonsGrid</a>-&gt;addWidget( <a class="code" href="classConfigurationWidget.html#abec91cc73265e103eb8a364b50ba50b8">cancelButton</a>, 0, 3 );
<a name="l00118"></a>00118   <a class="code" href="classConfigurationWidget.html#a9271d21f1ddc14daac5abc44fb3a6c89">buttonsGrid</a>-&gt;setColStretch( 4, 1 );
<a name="l00119"></a>00119   <span class="comment">//----------------------------------------------</span>
<a name="l00120"></a>00120   <span class="comment">//place all widgets in a grid</span>
<a name="l00121"></a>00121   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a> = <span class="keyword">new</span> QGridLayout( <span class="keyword">this</span>, 5, 5, 0 );
<a name="l00122"></a>00122 
<a name="l00123"></a>00123   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;setRowSpacing(0,8);
<a name="l00124"></a>00124 
<a name="l00125"></a>00125   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;addWidget( <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>, 1, 1);
<a name="l00126"></a>00126   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;addWidget( <a class="code" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a>, 1, 3);
<a name="l00127"></a>00127   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;addWidget( <a class="code" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a>, 1, 3);
<a name="l00128"></a>00128   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;addWidget( <a class="code" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a>, 1, 3);
<a name="l00129"></a>00129   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;setRowStretch( 1, 1 );
<a name="l00130"></a>00130   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;setColStretch( 3, 1 );
<a name="l00131"></a>00131 
<a name="l00132"></a>00132   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;setRowSpacing(2,8);
<a name="l00133"></a>00133 
<a name="l00134"></a>00134   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;addMultiCellWidget( <a class="code" href="classConfigurationWidget.html#a4a99f6dd97ed2ac25bf321309fb0364d">buttonsFrame</a>, 3, 3, 0, 4);
<a name="l00135"></a>00135 
<a name="l00136"></a>00136   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;setRowSpacing(4,8);
<a name="l00137"></a>00137 
<a name="l00138"></a>00138   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;setColSpacing(0,8);
<a name="l00139"></a>00139   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;setColSpacing(2,8);
<a name="l00140"></a>00140   <a class="code" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>-&gt;setColSpacing(4,8);
<a name="l00141"></a>00141 
<a name="l00142"></a>00142   <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>-&gt;setGridX(1);
<a name="l00143"></a>00143   <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>-&gt;arrangeItemsInGrid();
<a name="l00144"></a>00144 
<a name="l00145"></a>00145   <span class="keywordtype">int</span> maxWidth = 0;
<a name="l00146"></a>00146   <span class="keywordtype">int</span> maxHeight = 0;
<a name="l00147"></a>00147 
<a name="l00148"></a>00148   <a class="code" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a>-&gt;constPolish();
<a name="l00149"></a>00149   <a class="code" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a>-&gt;constPolish();
<a name="l00150"></a>00150   <a class="code" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a>-&gt;constPolish();
<a name="l00151"></a>00151   <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>-&gt;constPolish();
<a name="l00152"></a>00152 
<a name="l00153"></a>00153   QSize s = <a class="code" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a>-&gt;minimumSizeHint();
<a name="l00154"></a>00154   <span class="keywordflow">if</span>(maxWidth &lt; s.width()) maxWidth = s.width();
<a name="l00155"></a>00155   <span class="keywordflow">if</span>(maxHeight &lt; s.height()) maxHeight = s.height();
<a name="l00156"></a>00156 
<a name="l00157"></a>00157   s = <a class="code" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a>-&gt;minimumSizeHint();
<a name="l00158"></a>00158   <span class="keywordflow">if</span>(maxWidth &lt; s.width()) maxWidth = s.width();
<a name="l00159"></a>00159   <span class="keywordflow">if</span>(maxHeight &lt; s.height()) maxHeight = s.height();
<a name="l00160"></a>00160 
<a name="l00161"></a>00161   s = <a class="code" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a>-&gt;minimumSizeHint();
<a name="l00162"></a>00162   <span class="keywordflow">if</span>(maxWidth &lt; s.width()) maxWidth = s.width();
<a name="l00163"></a>00163   <span class="keywordflow">if</span>(maxHeight &lt; s.height()) maxHeight = s.height();
<a name="l00164"></a>00164 
<a name="l00165"></a>00165   s = <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>-&gt;minimumSizeHint();
<a name="l00166"></a>00166   <span class="keywordflow">if</span>(maxHeight &lt; s.height()) maxHeight = s.height();
<a name="l00167"></a>00167 
<a name="l00168"></a>00168   maxWidth = maxWidth + s.width();
<a name="l00169"></a>00169   maxHeight += <a class="code" href="classConfigurationWidget.html#aad6a971ed7af6b0a724ebc8028607322">okButton</a>-&gt;minimumSizeHint().height();
<a name="l00170"></a>00170   <span class="comment">//add padding</span>
<a name="l00171"></a>00171   maxWidth += 3*8;
<a name="l00172"></a>00172   maxHeight += 3*8;
<a name="l00173"></a>00173 
<a name="l00174"></a>00174   <span class="comment">//add a little extra for when text entries need more space</span>
<a name="l00175"></a>00175   maxWidth += 100;
<a name="l00176"></a>00176 
<a name="l00177"></a>00177   resize( maxWidth, maxHeight );
<a name="l00178"></a>00178 
<a name="l00179"></a>00179   show();
<a name="l00180"></a>00180   setFixedSize(size());
<a name="l00181"></a>00181   <span class="comment">//----------------------------------------------</span>
<a name="l00182"></a>00182   <span class="comment">//load setting values</span>
<a name="l00183"></a>00183   <a class="code" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a>-&gt;<a class="code" href="classLayoutSettingsWidget.html#a28dfa4fdbf9b2c9d2760dcfe97be7a25">loadSettings</a>();
<a name="l00184"></a>00184   <a class="code" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a>-&gt;<a class="code" href="classLoadingSavingWidget.html#a13c734fed532ec6291c2b6efab8f27bd">loadSettings</a>();
<a name="l00185"></a>00185   <a class="code" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a>-&gt;<a class="code" href="classAlertsWidget.html#a47acfcb914513177b6ee32f72bff8be2">loadSettings</a>();
<a name="l00186"></a>00186   <span class="comment">//----------------------------------------------</span>
}
</pre></div></p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2362ebc5177bafc9f19b4cbf58ea3bb9"></a><!-- doxytag: member="ConfigurationWidget::clearPseudoSelection" ref="a2362ebc5177bafc9f19b4cbf58ea3bb9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigurationWidget::clearPseudoSelection </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>clears any pseudo selections </p>

<p>Definition at line <a class="el" href="configurationWidget_8cpp_source.html#l00209">209</a> of file <a class="el" href="configurationWidget_8cpp_source.html">configurationWidget.cpp</a>.</p>

<p>References <a class="el" href="configurationWidget_8h_source.html#l00080">currentPseudoSelection</a>, <a class="el" href="configurationWidget_8h_source.html#l00071">groups</a>, and <a class="el" href="groupIcon_8cpp_source.html#l00072">GroupIcon::setMousedOver()</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00198">repaintGroup()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00210"></a>00210 {
<a name="l00211"></a>00211   <span class="comment">//if old pseudo selection unselect it</span>
<a name="l00212"></a>00212   <span class="keywordflow">if</span>(<a class="code" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a> != NULL)
<a name="l00213"></a>00213   {
<a name="l00214"></a>00214     <a class="code" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a>-&gt;<a class="code" href="classGroupIcon.html#a24fc604d6371cacd345e34ddb126d4b3">setMousedOver</a>(<span class="keyword">false</span>);
<a name="l00215"></a>00215     <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>-&gt;repaintItem(<a class="code" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a>);
<a name="l00216"></a>00216     <a class="code" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a> = NULL;
<a name="l00217"></a>00217   }
<a name="l00218"></a>00218 }
</pre></div></p>

</div>
</div>
<a class="anchor" id="a8c12990f6deb441d7149665bbdcc0e14"></a><!-- doxytag: member="ConfigurationWidget::closed" ref="a8c12990f6deb441d7149665bbdcc0e14" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigurationWidget::closed </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00228">closeEvent()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00234">reject()</a>.</p>

</div>
</div>
<a class="anchor" id="a1ee83fcc463f70cb5fae68ba6f0b4638"></a><!-- doxytag: member="ConfigurationWidget::closeEvent" ref="a1ee83fcc463f70cb5fae68ba6f0b4638" args="(QCloseEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigurationWidget::closeEvent </td>
          <td>(</td>
          <td class="paramtype">QCloseEvent *&nbsp;</td>
          <td class="paramname"> <em>e</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8cpp_source.html#l00228">228</a> of file <a class="el" href="configurationWidget_8cpp_source.html">configurationWidget.cpp</a>.</p>

<p>References <a class="el" href="classConfigurationWidget.html#a8c12990f6deb441d7149665bbdcc0e14">closed()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00229"></a>00229 {
<a name="l00230"></a>00230   <a class="code" href="classConfigurationWidget.html#a1ee83fcc463f70cb5fae68ba6f0b4638">QWidget::closeEvent</a>( e );
<a name="l00231"></a>00231   emit <a class="code" href="classConfigurationWidget.html#a8c12990f6deb441d7149665bbdcc0e14">closed</a>();
<a name="l00232"></a>00232 }
</pre></div></p>

</div>
</div>
<a class="anchor" id="a21f0bf797bf4d1835ed6bc185373cce2"></a><!-- doxytag: member="ConfigurationWidget::reject" ref="a21f0bf797bf4d1835ed6bc185373cce2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigurationWidget::reject </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8cpp_source.html#l00234">234</a> of file <a class="el" href="configurationWidget_8cpp_source.html">configurationWidget.cpp</a>.</p>

<p>References <a class="el" href="classConfigurationWidget.html#a8c12990f6deb441d7149665bbdcc0e14">closed()</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00235"></a>00235 {
<a name="l00236"></a>00236   <a class="code" href="classConfigurationWidget.html#a21f0bf797bf4d1835ed6bc185373cce2">QDialog::reject</a>();
<a name="l00237"></a>00237   emit <a class="code" href="classConfigurationWidget.html#a8c12990f6deb441d7149665bbdcc0e14">closed</a>();
<a name="l00238"></a>00238 }
</pre></div></p>

</div>
</div>
<a class="anchor" id="a84905f741c60c11c08b9b796a7d50f76"></a><!-- doxytag: member="ConfigurationWidget::repaintGroup" ref="a84905f741c60c11c08b9b796a7d50f76" args="(QIconViewItem *pseudoSelection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigurationWidget::repaintGroup </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classQIconViewItem.html">QIconViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>pseudoSelection</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>repaints a group icon if move is moved over it </p>

<p>Definition at line <a class="el" href="configurationWidget_8cpp_source.html#l00198">198</a> of file <a class="el" href="configurationWidget_8cpp_source.html">configurationWidget.cpp</a>.</p>

<p>References <a class="el" href="configurationWidget_8cpp_source.html#l00209">clearPseudoSelection()</a>, <a class="el" href="configurationWidget_8h_source.html#l00080">currentPseudoSelection</a>, <a class="el" href="configurationWidget_8h_source.html#l00071">groups</a>, and <a class="el" href="groupIcon_8cpp_source.html#l00072">GroupIcon::setMousedOver()</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00199"></a>00199 {
<a name="l00200"></a>00200   <span class="comment">//if old pseudo selection unselect it</span>
<a name="l00201"></a>00201   <a class="code" href="classConfigurationWidget.html#a2362ebc5177bafc9f19b4cbf58ea3bb9" title="clears any pseudo selections">clearPseudoSelection</a>();
<a name="l00202"></a>00202 
<a name="l00203"></a>00203   <span class="comment">//paint new selection</span>
<a name="l00204"></a>00204   <a class="code" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a> = (<a class="code" href="classGroupIcon.html" title="Displays group icon and text, also contains pointer to widget for setting group settings...">GroupIcon</a>*)pseudoSelection;
<a name="l00205"></a>00205   <a class="code" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a>-&gt;<a class="code" href="classGroupIcon.html#a24fc604d6371cacd345e34ddb126d4b3">setMousedOver</a>(<span class="keyword">true</span>);
<a name="l00206"></a>00206   <a class="code" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>-&gt;repaintItem(<a class="code" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a>);
<a name="l00207"></a>00207 }
</pre></div></p>

</div>
</div>
<a class="anchor" id="a2a379c54f2dad1fd00b2aa1b76c80fc2"></a><!-- doxytag: member="ConfigurationWidget::saveSettings" ref="a2a379c54f2dad1fd00b2aa1b76c80fc2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigurationWidget::saveSettings </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8cpp_source.html#l00220">220</a> of file <a class="el" href="configurationWidget_8cpp_source.html">configurationWidget.cpp</a>.</p>

<p>References <a class="el" href="configurationWidget_8h_source.html#l00076">alertsWidget</a>, <a class="el" href="configurationWidget_8h_source.html#l00075">layoutWidget</a>, <a class="el" href="configurationWidget_8h_source.html#l00074">loadingSavingWidget</a>, <a class="el" href="alertsWidget_8cpp_source.html#l00069">AlertsWidget::saveSettings()</a>, <a class="el" href="loadingSavingWidget_8cpp_source.html#l00182">LoadingSavingWidget::saveSettings()</a>, and <a class="el" href="layoutSettingsWidget_8cpp_source.html#l00157">LayoutSettingsWidget::saveSettings()</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00221"></a>00221 {
<a name="l00222"></a>00222   <a class="code" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">layoutWidget</a>-&gt;<a class="code" href="classLayoutSettingsWidget.html#a00855b33fa79399753bd0e78e727d68b">saveSettings</a>();
<a name="l00223"></a>00223   <a class="code" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a>-&gt;<a class="code" href="classLoadingSavingWidget.html#a9b4ecf1e74d294798ca8b5ddbbff4b6a">saveSettings</a>();
<a name="l00224"></a>00224   <a class="code" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a>-&gt;<a class="code" href="classAlertsWidget.html#a45776947bd80b290342ae1796b8da4ae">saveSettings</a>();
<a name="l00225"></a>00225   close();
<a name="l00226"></a>00226 }
</pre></div></p>

</div>
</div>
<a class="anchor" id="ac4b9c1e691cac88117a6308cf6cabfb9"></a><!-- doxytag: member="ConfigurationWidget::updateDialogue" ref="ac4b9c1e691cac88117a6308cf6cabfb9" args="(QIconViewItem *selection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigurationWidget::updateDialogue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classQIconViewItem.html">QIconViewItem</a> *&nbsp;</td>
          <td class="paramname"> <em>selection</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>updates shown settings dialogue based on newly selected group </p>

<p>Definition at line <a class="el" href="configurationWidget_8cpp_source.html#l00188">188</a> of file <a class="el" href="configurationWidget_8cpp_source.html">configurationWidget.cpp</a>.</p>

<p>References <a class="el" href="configurationWidget_8h_source.html#l00077">currentSettingsWidget</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00189"></a>00189 {
<a name="l00190"></a>00190   <span class="comment">//hide current selection</span>
<a name="l00191"></a>00191   <a class="code" href="classConfigurationWidget.html#af24bc3c85ef858f5ef16b2bec48bc1ad">currentSettingsWidget</a>-&gt;hide();
<a name="l00192"></a>00192 
<a name="l00193"></a>00193   <span class="comment">//set current and show</span>
<a name="l00194"></a>00194   <a class="code" href="classConfigurationWidget.html#af24bc3c85ef858f5ef16b2bec48bc1ad">currentSettingsWidget</a> = ((<a class="code" href="classGroupIcon.html" title="Displays group icon and text, also contains pointer to widget for setting group settings...">GroupIcon</a>*)selection)-&gt;getSettingsWidget();
<a name="l00195"></a>00195   <a class="code" href="classConfigurationWidget.html#af24bc3c85ef858f5ef16b2bec48bc1ad">currentSettingsWidget</a>-&gt;show();
<a name="l00196"></a>00196 }
</pre></div></p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a6e0f27ed0cc091339649dc3801b8dd58"></a><!-- doxytag: member="ConfigurationWidget::alertsIcon" ref="a6e0f27ed0cc091339649dc3801b8dd58" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGroupIcon.html">GroupIcon</a>* <a class="el" href="classConfigurationWidget.html#a6e0f27ed0cc091339649dc3801b8dd58">ConfigurationWidget::alertsIcon</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>settings icons </p>

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00083">83</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

</div>
</div>
<a class="anchor" id="ab4aae9cd5f1317e33c20d7396b9ec6d2"></a><!-- doxytag: member="ConfigurationWidget::alertsWidget" ref="ab4aae9cd5f1317e33c20d7396b9ec6d2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAlertsWidget.html">AlertsWidget</a>* <a class="el" href="classConfigurationWidget.html#ab4aae9cd5f1317e33c20d7396b9ec6d2">ConfigurationWidget::alertsWidget</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00076">76</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00220">saveSettings()</a>.</p>

</div>
</div>
<a class="anchor" id="a4a99f6dd97ed2ac25bf321309fb0364d"></a><!-- doxytag: member="ConfigurationWidget::buttonsFrame" ref="a4a99f6dd97ed2ac25bf321309fb0364d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQFrame.html">QFrame</a>* <a class="el" href="classConfigurationWidget.html#a4a99f6dd97ed2ac25bf321309fb0364d">ConfigurationWidget::buttonsFrame</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00086">86</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

</div>
</div>
<a class="anchor" id="a9271d21f1ddc14daac5abc44fb3a6c89"></a><!-- doxytag: member="ConfigurationWidget::buttonsGrid" ref="a9271d21f1ddc14daac5abc44fb3a6c89" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QGridLayout* <a class="el" href="classConfigurationWidget.html#a9271d21f1ddc14daac5abc44fb3a6c89">ConfigurationWidget::buttonsGrid</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00088">88</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

</div>
</div>
<a class="anchor" id="abec91cc73265e103eb8a364b50ba50b8"></a><!-- doxytag: member="ConfigurationWidget::cancelButton" ref="abec91cc73265e103eb8a364b50ba50b8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPushButton * <a class="el" href="classConfigurationWidget.html#abec91cc73265e103eb8a364b50ba50b8">ConfigurationWidget::cancelButton</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00087">87</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

</div>
</div>
<a class="anchor" id="a4951f675385c07d50319b6ac3a1a1006"></a><!-- doxytag: member="ConfigurationWidget::config" ref="a4951f675385c07d50319b6ac3a1a1006" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classConfiguration.html">Configuration</a>* <a class="el" href="classConfigurationWidget.html#a4951f675385c07d50319b6ac3a1a1006">ConfigurationWidget::config</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Backend config object pointer. </p>

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00065">65</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

</div>
</div>
<a class="anchor" id="a22db8b0bfab6285f5cf237c372f9dc5e"></a><!-- doxytag: member="ConfigurationWidget::currentPseudoSelection" ref="a22db8b0bfab6285f5cf237c372f9dc5e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGroupIcon.html">GroupIcon</a>* <a class="el" href="classConfigurationWidget.html#a22db8b0bfab6285f5cf237c372f9dc5e">ConfigurationWidget::currentPseudoSelection</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00080">80</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00209">clearPseudoSelection()</a>, <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00198">repaintGroup()</a>.</p>

</div>
</div>
<a class="anchor" id="af24bc3c85ef858f5ef16b2bec48bc1ad"></a><!-- doxytag: member="ConfigurationWidget::currentSettingsWidget" ref="af24bc3c85ef858f5ef16b2bec48bc1ad" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQWidget.html">QWidget</a>* <a class="el" href="classConfigurationWidget.html#af24bc3c85ef858f5ef16b2bec48bc1ad">ConfigurationWidget::currentSettingsWidget</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00077">77</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00188">updateDialogue()</a>.</p>

</div>
</div>
<a class="anchor" id="a2c94cce2076488af4b1bad1aba290f1e"></a><!-- doxytag: member="ConfigurationWidget::grid" ref="a2c94cce2076488af4b1bad1aba290f1e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QGridLayout* <a class="el" href="classConfigurationWidget.html#a2c94cce2076488af4b1bad1aba290f1e">ConfigurationWidget::grid</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Grid widgets place in. </p>

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00068">68</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

</div>
</div>
<a class="anchor" id="ae9cca06f071c6d9a8c33d17bbae8e35c"></a><!-- doxytag: member="ConfigurationWidget::groups" ref="ae9cca06f071c6d9a8c33d17bbae8e35c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGroupsWidget.html">GroupsWidget</a>* <a class="el" href="classConfigurationWidget.html#ae9cca06f071c6d9a8c33d17bbae8e35c">ConfigurationWidget::groups</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>list of subalbums </p>

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00071">71</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00209">clearPseudoSelection()</a>, <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00198">repaintGroup()</a>.</p>

</div>
</div>
<a class="anchor" id="abca959eaa916526308d25726202581ea"></a><!-- doxytag: member="ConfigurationWidget::layoutIcon" ref="abca959eaa916526308d25726202581ea" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGroupIcon.html">GroupIcon</a> * <a class="el" href="classConfigurationWidget.html#abca959eaa916526308d25726202581ea">ConfigurationWidget::layoutIcon</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00083">83</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

</div>
</div>
<a class="anchor" id="afa10d0855148a2302419d3224769f039"></a><!-- doxytag: member="ConfigurationWidget::layoutWidget" ref="afa10d0855148a2302419d3224769f039" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classLayoutSettingsWidget.html">LayoutSettingsWidget</a>* <a class="el" href="classConfigurationWidget.html#afa10d0855148a2302419d3224769f039">ConfigurationWidget::layoutWidget</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00075">75</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00220">saveSettings()</a>.</p>

</div>
</div>
<a class="anchor" id="a15e641ef244b4d314dbc57761b033bac"></a><!-- doxytag: member="ConfigurationWidget::loadingSavingIcon" ref="a15e641ef244b4d314dbc57761b033bac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGroupIcon.html">GroupIcon</a> * <a class="el" href="classConfigurationWidget.html#a15e641ef244b4d314dbc57761b033bac">ConfigurationWidget::loadingSavingIcon</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00083">83</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

</div>
</div>
<a class="anchor" id="a4a92da0a6e1d43373d13019d84ff9252"></a><!-- doxytag: member="ConfigurationWidget::loadingSavingWidget" ref="a4a92da0a6e1d43373d13019d84ff9252" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classLoadingSavingWidget.html">LoadingSavingWidget</a>* <a class="el" href="classConfigurationWidget.html#a4a92da0a6e1d43373d13019d84ff9252">ConfigurationWidget::loadingSavingWidget</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>settings widgets </p>

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00074">74</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>, and <a class="el" href="configurationWidget_8cpp_source.html#l00220">saveSettings()</a>.</p>

</div>
</div>
<a class="anchor" id="aad6a971ed7af6b0a724ebc8028607322"></a><!-- doxytag: member="ConfigurationWidget::okButton" ref="aad6a971ed7af6b0a724ebc8028607322" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPushButton* <a class="el" href="classConfigurationWidget.html#aad6a971ed7af6b0a724ebc8028607322">ConfigurationWidget::okButton</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="configurationWidget_8h_source.html#l00087">87</a> of file <a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a>.</p>

<p>Referenced by <a class="el" href="configurationWidget_8cpp_source.html#l00030">ConfigurationWidget()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="configurationWidget_8h_source.html">configurationWidget.h</a></li>
<li><a class="el" href="configurationWidget_8cpp_source.html">configurationWidget.cpp</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>