Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 4f45e7bdfd4a5ff17f5f8eaab90d017f > files > 911

albumshaper-2.1-6mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>AlbumShaper: configurationWidget.h Source File</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.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>configurationWidget.h</h1><a href="configurationWidget_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//==============================================</span>
<a name="l00002"></a>00002 <span class="comment">//  copyright            : (C) 2003-2005 by Will Stokes</span>
<a name="l00003"></a>00003 <span class="comment">//==============================================</span>
<a name="l00004"></a>00004 <span class="comment">//  This program is free software; you can redistribute it</span>
<a name="l00005"></a>00005 <span class="comment">//  and/or modify it under the terms of the GNU General</span>
<a name="l00006"></a>00006 <span class="comment">//  Public License as published by the Free Software</span>
<a name="l00007"></a>00007 <span class="comment">//  Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment">//  (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment">//==============================================</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#ifndef CONFIGURATION_CONFIGURATIONWIDGET_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define CONFIGURATION_CONFIGURATIONWIDGET_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 <span class="comment">//forward declarations</span>
<a name="l00015"></a>00015 <span class="keyword">class </span>QGridLayout;
<a name="l00016"></a>00016 <span class="keyword">class </span><a class="code" href="classQIconView.html">QIconView</a>;
<a name="l00017"></a>00017 <span class="keyword">class </span><a class="code" href="classQIconViewItem.html">QIconViewItem</a>;
<a name="l00018"></a>00018 <span class="keyword">class </span>QPushButton;
<a name="l00019"></a>00019 <span class="keyword">class </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 name="l00020"></a>00020 <span class="keyword">class </span><a class="code" href="classQFrame.html">QFrame</a>;
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="keyword">class </span><a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>;
<a name="l00023"></a>00023 <span class="keyword">class </span><a class="code" href="classAlertsWidget.html" title="Alerts Settings.">AlertsWidget</a>;
<a name="l00024"></a>00024 <span class="keyword">class </span><a class="code" href="classLayoutSettingsWidget.html" title="Layout Settings.">LayoutSettingsWidget</a>;
<a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="classLoadingSavingWidget.html" title="Loading/Saving Settings.">LoadingSavingWidget</a>;
<a name="l00026"></a>00026 <span class="keyword">class </span><a class="code" href="classGroupsWidget.html" title="Displays group icon and text, also contains pointer to widget for setting group settings...">GroupsWidget</a>;
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;qdialog.h&gt;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="comment">//=====================================</span>
<a name="l00033"></a>00033 <span class="comment"></span><span class="comment">//=====================================</span>
<a name="l00034"></a>00034 
<a name="l00035"></a><a class="code" href="classConfigurationWidget.html">00035</a> <span class="keyword">class </span><a class="code" href="classConfigurationWidget.html" title="Configuration/Settings Interface.">ConfigurationWidget</a> : <span class="keyword">public</span> <a class="code" href="classQDialog.html">QDialog</a>
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037 Q_OBJECT
<a name="l00038"></a>00038 <span class="keyword">public</span>:
<a name="l00039"></a>00039   <a class="code" href="classConfigurationWidget.html#22e96eca6f8d02346bb2352c226a434e">ConfigurationWidget</a>(<a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>* <a class="code" href="classConfigurationWidget.html#4951f675385c07d50319b6ac3a1a1006" title="Backend config object pointer.">config</a>,
<a name="l00040"></a>00040                                     <a class="code" href="classQWidget.html">QWidget</a> *parent=0,
<a name="l00041"></a>00041                                     <span class="keyword">const</span> <span class="keywordtype">char</span>* name=0);
<a name="l00042"></a>00042 <span class="comment">//----------------------</span>
<a name="l00043"></a>00043 signals:
<a name="l00044"></a>00044 <span class="keywordtype">void</span> <a class="code" href="classConfigurationWidget.html#8c12990f6deb441d7149665bbdcc0e14">closed</a>();
<a name="l00045"></a>00045 <span class="comment">//----------------------</span>
<a name="l00046"></a>00046 <span class="keyword">private</span> slots:
<a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="classConfigurationWidget.html#c4b9c1e691cac88117a6308cf6cabfb9" title="updates shown settings dialogue based on newly selected group">updateDialogue</a>( <a class="code" href="classQIconViewItem.html">QIconViewItem</a>* selection);
<a name="l00049"></a>00049 
<a name="l00051"></a>00051 <span class="keywordtype">void</span> <a class="code" href="classConfigurationWidget.html#84905f741c60c11c08b9b796a7d50f76" title="repaints a group icon if move is moved over it">repaintGroup</a>( <a class="code" href="classQIconViewItem.html">QIconViewItem</a>* pseudoSelection);
<a name="l00052"></a>00052 
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="classConfigurationWidget.html#2362ebc5177bafc9f19b4cbf58ea3bb9" title="clears any pseudo selections">clearPseudoSelection</a>();
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="comment">//save settings</span>
<a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="classConfigurationWidget.html#2a379c54f2dad1fd00b2aa1b76c80fc2">saveSettings</a>();
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="classConfigurationWidget.html#21f0bf797bf4d1835ed6bc185373cce2">reject</a>();
<a name="l00060"></a>00060 <span class="comment">//----------------------</span>
<a name="l00061"></a>00061 <span class="keyword">private</span>:
<a name="l00062"></a>00062   <span class="keywordtype">void</span> <a class="code" href="classConfigurationWidget.html#1ee83fcc463f70cb5fae68ba6f0b4638">closeEvent</a>( QCloseEvent* e);
<a name="l00063"></a>00063 
<a name="l00065"></a><a class="code" href="classConfigurationWidget.html#4951f675385c07d50319b6ac3a1a1006">00065</a>   <a class="code" href="classConfiguration.html" title="Configuration object manages all user-specific application settings.">Configuration</a>* config;
<a name="l00066"></a>00066 
<a name="l00068"></a><a class="code" href="classConfigurationWidget.html#2c94cce2076488af4b1bad1aba290f1e">00068</a>   QGridLayout* <a class="code" href="classConfigurationWidget.html#2c94cce2076488af4b1bad1aba290f1e" title="Grid widgets place in.">grid</a>;
<a name="l00069"></a>00069 
<a name="l00071"></a><a class="code" href="classConfigurationWidget.html#e9cca06f071c6d9a8c33d17bbae8e35c">00071</a>   <a class="code" href="classGroupsWidget.html" title="Displays group icon and text, also contains pointer to widget for setting group settings...">GroupsWidget</a>* <a class="code" href="classConfigurationWidget.html#e9cca06f071c6d9a8c33d17bbae8e35c" title="list of subalbums">groups</a>;
<a name="l00072"></a>00072 
<a name="l00074"></a><a class="code" href="classConfigurationWidget.html#4a92da0a6e1d43373d13019d84ff9252">00074</a>   <a class="code" href="classLoadingSavingWidget.html" title="Loading/Saving Settings.">LoadingSavingWidget</a>* <a class="code" href="classConfigurationWidget.html#4a92da0a6e1d43373d13019d84ff9252" title="settings widgets">loadingSavingWidget</a>;
<a name="l00075"></a><a class="code" href="classConfigurationWidget.html#fa10d0855148a2302419d3224769f039">00075</a>   <a class="code" href="classLayoutSettingsWidget.html" title="Layout Settings.">LayoutSettingsWidget</a>* <a class="code" href="classConfigurationWidget.html#fa10d0855148a2302419d3224769f039">layoutWidget</a>;
<a name="l00076"></a><a class="code" href="classConfigurationWidget.html#b4aae9cd5f1317e33c20d7396b9ec6d2">00076</a>   <a class="code" href="classAlertsWidget.html" title="Alerts Settings.">AlertsWidget</a>* <a class="code" href="classConfigurationWidget.html#b4aae9cd5f1317e33c20d7396b9ec6d2">alertsWidget</a>;
<a name="l00077"></a><a class="code" href="classConfigurationWidget.html#f24bc3c85ef858f5ef16b2bec48bc1ad">00077</a>   <a class="code" href="classQWidget.html">QWidget</a>* <a class="code" href="classConfigurationWidget.html#f24bc3c85ef858f5ef16b2bec48bc1ad">currentSettingsWidget</a>;
<a name="l00078"></a>00078 
<a name="l00079"></a>00079   <span class="comment">//currently hovered over group icon</span>
<a name="l00080"></a><a class="code" href="classConfigurationWidget.html#22db8b0bfab6285f5cf237c372f9dc5e">00080</a>   <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#22db8b0bfab6285f5cf237c372f9dc5e">currentPseudoSelection</a>;
<a name="l00081"></a>00081 
<a name="l00083"></a><a class="code" href="classConfigurationWidget.html#15e641ef244b4d314dbc57761b033bac">00083</a>   <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#6e0f27ed0cc091339649dc3801b8dd58" title="settings icons">alertsIcon</a>, *<a class="code" href="classConfigurationWidget.html#bca959eaa916526308d25726202581ea">layoutIcon</a>, *<a class="code" href="classConfigurationWidget.html#15e641ef244b4d314dbc57761b033bac">loadingSavingIcon</a>;
<a name="l00084"></a>00084 
<a name="l00085"></a>00085   <span class="comment">//ok and cancel buttons, frame, and grid</span>
<a name="l00086"></a><a class="code" href="classConfigurationWidget.html#4a99f6dd97ed2ac25bf321309fb0364d">00086</a>   <a class="code" href="classQFrame.html">QFrame</a>* <a class="code" href="classConfigurationWidget.html#4a99f6dd97ed2ac25bf321309fb0364d">buttonsFrame</a>;
<a name="l00087"></a><a class="code" href="classConfigurationWidget.html#ad6a971ed7af6b0a724ebc8028607322">00087</a>   QPushButton *<a class="code" href="classConfigurationWidget.html#ad6a971ed7af6b0a724ebc8028607322">okButton</a>, *<a class="code" href="classConfigurationWidget.html#bec91cc73265e103eb8a364b50ba50b8">cancelButton</a>;
<a name="l00088"></a><a class="code" href="classConfigurationWidget.html#9271d21f1ddc14daac5abc44fb3a6c89">00088</a>   QGridLayout*  <a class="code" href="classConfigurationWidget.html#9271d21f1ddc14daac5abc44fb3a6c89">buttonsGrid</a>;
<a name="l00089"></a>00089 };
<a name="l00090"></a>00090 <span class="comment">//======================</span>
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 <span class="preprocessor">#endif //CONFIGURATION_CONFIGURATIONWIDGET_H</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 23 02:34:25 2009 for AlbumShaper by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>