Sophie

Sophie

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

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: TitleWidget 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.5.9 -->
<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>TitleWidget Class Reference</h1><!-- doxytag: class="TitleWidget" --><!-- doxytag: inherits="QFrame" -->Widget which displays album name, description, representative image, and album shaper logo.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for TitleWidget:</div>
<div class="dynsection">
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for TitleWidget:</div>
<div class="dynsection">
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classTitleWidget-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#2f17ff26033ffd95b715f1002846204f">albumStatisticsClosed</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Frees album statistics dialog once closed.  <a href="#2f17ff26033ffd95b715f1002846204f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#5ffb513a590490a38fc2871ace9a43b7">aboutClosed</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Frees about dialog once closed.  <a href="#5ffb513a590490a38fc2871ace9a43b7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#7e17c7288a5a96de491ebaae9db6abe9">helpClosed</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Frees <a class="el" href="classHelpWindow.html" title="Help window widget.">HelpWindow</a> once closed.  <a href="#7e17c7288a5a96de491ebaae9db6abe9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#6fb2abfef7bb6bc4d2ad0a76737e294f">quitApplication</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Quit slot.  <a href="#6fb2abfef7bb6bc4d2ad0a76737e294f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#06f77c30ca2b2b4cda079854f2249fad">settingsWindowClosed</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#78a626f9617ca7b537fddf77098d66bc">updateAlbumAnnotations</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates subalbum annotations.  <a href="#78a626f9617ca7b537fddf77098d66bc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#ea0e376756b743f8430cb21d5ba9ead1">refreshCollectionAnnotations</a> (<a class="el" href="classSubalbum.html">Subalbum</a> *collection)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update displayed collection name and cover image.  <a href="#ea0e376756b743f8430cb21d5ba9ead1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#3ec54bf8abbdadd11bb7512b15d15359">setAlbumImage</a> (<a class="el" href="classPhoto.html">Photo</a> *photo)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the album image to the passed in photo.  <a href="#3ec54bf8abbdadd11bb7512b15d15359"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#488de65f41c61f9dc0650018e9c9e38f">setSubalbumImage</a> (<a class="el" href="classPhoto.html">Photo</a> *photo)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the subalbum image to the passed in photo.  <a href="#488de65f41c61f9dc0650018e9c9e38f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#788ec0261eb74b90026c02a50d822407">aboutProgram</a> (int mode=ABOUT)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pops up about dialog.  <a href="#788ec0261eb74b90026c02a50d822407"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#b89ce3c1d7a29c92eb52d6f9ffe1050c">help</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pops up <a class="el" href="classHelpWindow.html" title="Help window widget.">HelpWindow</a>.  <a href="#b89ce3c1d7a29c92eb52d6f9ffe1050c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#0a6f3639ae6754822b109705d13a0b6c">windowStateChanged</a> (bool state)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables/disables "minimize" window menu entry depending on window state.  <a href="#0a6f3639ae6754822b109705d13a0b6c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#857e73e3c89bcb5091bba375255649a9">updateMenus</a> (bool anySelected=false, bool anyRevertable=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">update begin presentation menu entry - disabled when no photos in album  <a href="#857e73e3c89bcb5091bba375255649a9"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#75597980fefdd43ede4655cd21b2d0e8">subalbumNameChanged</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted when user changes subalbum name.  <a href="#75597980fefdd43ede4655cd21b2d0e8"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#17fe6934dc1b302e41c38773bbba95c4">TitleWidget</a> (<a class="el" href="classQWidget.html">QWidget</a> *parent=0, const char *name=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates layout.  <a href="#17fe6934dc1b302e41c38773bbba95c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#795d57d319cfbe2fdd3990df0fdcca10">~TitleWidget</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes stuff!  <a href="#795d57d319cfbe2fdd3990df0fdcca10"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#fe13bee199cee2ae3c952e12d6cb760b">useAnimation</a> (bool val)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Use animation for rep images?  <a href="#fe13bee199cee2ae3c952e12d6cb760b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#be1692e920487299871e055ef9b2223a">setAlbum</a> (<a class="el" href="classAlbum.html">Album</a> *val)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets new pointer to the album object.  <a href="#be1692e920487299871e055ef9b2223a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classAlbum.html">Album</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#13e859247711ac55672705c663d793a4">getAlbum</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the album object.  <a href="#13e859247711ac55672705c663d793a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#d231df5a884787da98e7755a9cf960c3">refresh</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Refreshs data from backend objects.  <a href="#d231df5a884787da98e7755a9cf960c3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#a838a5981f04cfdf6de35c119b6141a8">getBusy</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">is program busy?  <a href="#a838a5981f04cfdf6de35c119b6141a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1">setBusy</a> (bool val)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set program busy state  <a href="#6ef0fc21342a9f356da375d926b1ddc1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classRecentAlbums.html">RecentAlbums</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#2a0da317e4152e366dd459ee9ebf54cb">getRecentAlbums</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns handle to recent albums object  <a href="#2a0da317e4152e366dd459ee9ebf54cb"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#b2db1834a22c1ee7298a5fc724531f5f">dragEnterEvent</a> (QDragEnterEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#04669e9b20ac640b4436822751acde03">dropEvent</a> (QDropEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#0a2de987e3ea2692c960e24c7cc26a84">createTmpDir</a> (QString albumPath=QString::null)</td></tr>

<tr><td colspan="2"><br><h2>Private Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#6b3aaa010d1f04c8c60078fafb0c70d8">storeAnnotations</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Store annotations.  <a href="#6b3aaa010d1f04c8c60078fafb0c70d8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#87d88075b08321a84377f58eff477a7c">setAlbumImage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the <a class="el" href="classAlbum.html" title="An album contains Subalbums.">Album</a> Image.  <a href="#87d88075b08321a84377f58eff477a7c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#1feecf52dce3b33de282fde0e7f35b7b">unsetAlbumImage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unsets the <a class="el" href="classAlbum.html" title="An album contains Subalbums.">Album</a> Image.  <a href="#1feecf52dce3b33de282fde0e7f35b7b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#ac9c9d9fca153ad5a6d3121b2659c29d">setSubalbumImage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the <a class="el" href="classSubalbum.html" title="A subalbum contains photos.">Subalbum</a> Image.  <a href="#ac9c9d9fca153ad5a6d3121b2659c29d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#be6d0ef8fa08daa5a9a79aaeee09c7a2">unsetSubalbumImage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unsets the <a class="el" href="classSubalbum.html" title="A subalbum contains photos.">Subalbum</a> Image.  <a href="#be6d0ef8fa08daa5a9a79aaeee09c7a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#d8989187007b5be864cfd4e797bc5d3c">newAlbum</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resets to empty album.  <a href="#d8989187007b5be864cfd4e797bc5d3c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#cb2fd15266ce847257a83b65a301c4d3">loadAlbum</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads an album specified with file chooser.  <a href="#cb2fd15266ce847257a83b65a301c4d3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#2beba77947ee507975e0840e8592b3d9">loadRecentAlbum</a> (int index)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads a recent album.  <a href="#2beba77947ee507975e0840e8592b3d9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#6e78a120b9fff7474cffb6dd5b535ece">proceedWithLoad</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Helper function for load methods, checks if there are any unsaved changes and if so warns user any such changes will be lost if they proceed.  <a href="#6e78a120b9fff7474cffb6dd5b535ece"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#b6bc3568921e66ab05fe48a9fa442d2d">loadAlbum</a> (QString location)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads a specified album.  <a href="#b6bc3568921e66ab05fe48a9fa442d2d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#c255e615aa8daaed2bc0aaa570d0d9c1">saveAlbum</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves album.  <a href="#c255e615aa8daaed2bc0aaa570d0d9c1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#e0e40e093dd7d228767ad472d3da6ad7">saveAsAlbum</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves album as.  <a href="#e0e40e093dd7d228767ad472d3da6ad7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#207c305b4150cd2c7f4a85067b49c7a7">revertToSaved</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Revert to last saved album.  <a href="#207c305b4150cd2c7f4a85067b49c7a7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#a1c88de574b5bef915fc74f803433823">exportSmallWebGallery</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Export small web gallery (excludes full size images and Album.xml file).  <a href="#a1c88de574b5bef915fc74f803433823"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#6bde1a3e098b1a00a698312b6125c086">exportLargeImages</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Export large images only to a new directory for printing purposes.  <a href="#6bde1a3e098b1a00a698312b6125c086"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#9540a36db873dcf590e8df6d8b5f2fe9">settings</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pops up settings window.  <a href="#9540a36db873dcf590e8df6d8b5f2fe9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#7c482bc35ed104f6b78db8383819306a">removeSelectedPhotoDesc</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Strip descriptions from selected photos.  <a href="#7c482bc35ed104f6b78db8383819306a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#4627b467f0f2cfc3b186848558f2102d">revertPhotos</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Revert selected photos to original form.  <a href="#4627b467f0f2cfc3b186848558f2102d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#175c9b133faee0f622a292ad913ef17c">albumStatistics</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pops up album statistics window.  <a href="#175c9b133faee0f622a292ad913ef17c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#6a08f3b7758a642e8366cfa82be9dd30">clearOpenRecentMenu</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears albums from open recent menu.  <a href="#6a08f3b7758a642e8366cfa82be9dd30"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#c3c8c0379624297bc1d7becc379190ba">populateOpenRecentMenu</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Populates the open recent menu with a default set of 9 items + clear.  <a href="#c3c8c0379624297bc1d7becc379190ba"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#5d2a106930e035792193c52d63b617dc">refreshOpenRecentMenu</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Refreshes open recent menu.  <a href="#5d2a106930e035792193c52d63b617dc"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QMenuBar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713">menu</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Menubar file menu and help menu inserted in.  <a href="#cd5fec8ea2b4c6a1fc5d07d37d79a713"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPopupMenu *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec">file</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">File menu.  <a href="#6f6ee9cbb8b3312ef0bbb6cd9e8440ec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPopupMenu *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94">openRecent</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open recent submenu.  <a href="#32942251aac30299296ff4c6ff0bca94"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">numRecentMenuItems</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classRecentAlbumMenuItem.html">RecentAlbumMenuItem</a> **&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#fcbd8766b7755ef197f2f61c62908e01">customRecentMenuItems</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QPopupMenu *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#8056757c1246b3dece481f5b47c261fc">photoMenu</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Photos menu.  <a href="#8056757c1246b3dece481f5b47c261fc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPopupMenu *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#58aaf5ad3d5d32069da03686e3af0fe6">tools</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tools menu.  <a href="#58aaf5ad3d5d32069da03686e3af0fe6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPopupMenu *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#af5ecd0bdb2e217de18309c007c68050">helpMenu</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classWindow.html" title="Top level widget, encapsulates the title widget, the layout widget, and the toolbar...">Window</a> menu, only used in OSX.  <a href="#af5ecd0bdb2e217de18309c007c68050"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QGridLayout *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#9374bc17732932e84431b110edac8382">mainGrid</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Main grid.  <a href="#9374bc17732932e84431b110edac8382"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQFrame.html">QFrame</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#4a12a8756feba3a0d890f4c9b084c0c2">mainFrame</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QGridLayout *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c">albumAnnotationGrid</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAlbum.html" title="An album contains Subalbums.">Album</a> annotation grid.  <a href="#c9129ef685713a76946d72e30db09b4c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQFrame.html">QFrame</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classALabel.html">ALabel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQLabel.html">QLabel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#a47d0bfd934ade0043fd6d91772a1ce5">albumName</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QLineEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQLabel.html">QLabel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#5ffa7cd7792215b062f40bb9c21149f1">albumDescription</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QLineEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQLabel.html">QLabel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#d17384839fe7c4d06f6b42d9eab7c741">albumAuthor</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QLineEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QGridLayout *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35">subalbumAnnotationGrid</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classSubalbum.html" title="A subalbum contains photos.">Subalbum</a> annotation grid.  <a href="#838c6b9980ab819e230d3b9936ba4b35"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQFrame.html">QFrame</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classALabel.html">ALabel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQLabel.html">QLabel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#31dbc9c22196a64f28cebdc0d6964248">subalbumName</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QLineEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classQLabel.html">QLabel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#b15184934bf70a721e6d364a943c5440">subalbumDescription</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QLineEdit *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classAlbum.html">Album</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e">albm</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Backend album object.  <a href="#f348bef020120ae4b9acacc622fcf21e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWindow.html">Window</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327">window</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classWindow.html" title="Top level widget, encapsulates the title widget, the layout widget, and the toolbar...">Window</a> pointer.  <a href="#1f32f6d6bf115d2ec6ec5f96dae82327"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classAlbumStatistics.html">AlbumStatistics</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768">albumStats</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAlbum.html" title="An album contains Subalbums.">Album</a> Statistics dialog pointer.  <a href="#cd024aa9515c75c6f0ada4caf2e8e768"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classConfigurationWidget.html">ConfigurationWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685">settingsWindow</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Settings dialog pointer.  <a href="#e699f341d7f31f34200d4790e8caf685"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classAbout.html">About</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6">about</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classAbout.html" title="About window widget.">About</a> dialog pointer.  <a href="#85fc109708b6425ee1d1959339cbb8a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classHelpWindow.html">HelpWindow</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30">helpWindow</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classHelpWindow.html" title="Help window widget.">HelpWindow</a> pointer.  <a href="#7843c2bdc8f88983736d563f21049d30"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#f099ad78e415588fd752299d4d89b1ad">busy</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Is the program currently busy? helps block other operations.  <a href="#f099ad78e415588fd752299d4d89b1ad"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#06626730776a06b84970c5eee1ce0eaa">detectModifications</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#8a8cb3cef531a8c9b366309ef3cbbe21">NEW_ALBUM</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#7d044f1db758f6b1b64115288ba8397b">OPEN_ALBUM</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#f4b971e942e195ae816e4461d7d409da">SAVE_ALBUM</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#88195357ad2bf5cd403ad4c9978dd9f2">SAVEAS_ALBUM</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#cb1bc5b77c337250d40714a4e05d22b7">REVERT_TO_SAVED_ALBUM</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#7ec67bec22fb11814f861a60924fd8a3">EXPORT_SMALL_WEB_GALLERY</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#a0d5f450b656af27ae6e990acc897412">EXPORT_LARGE_IMAGES</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#0ee367f4e578eacc20044f01a5db3383">REMOVE_DESCRIPTIONS</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">photos menu item id's  <a href="#0ee367f4e578eacc20044f01a5db3383"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#0c1797c6011f8866704c05b49689b318">REVERT_PHOTOS</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#47c4deb9fce35ffa91775ea984d16d25">BEGIN_PRESENTATION</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">tools menu item id's  <a href="#47c4deb9fce35ffa91775ea984d16d25"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#70658354aadd712d44ef7cdf726bd182">BEGIN_PRESENTATION_AT</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#1dea8d8e22e8050f748260571f563e35">cacheSetButtonState</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cached set button state  <a href="#1dea8d8e22e8050f748260571f563e35"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#7fa66ec0a165452e8332d408604e1d51">tmpDirErrorMessage</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">error message and description when temp directory cannot be created  <a href="#7fa66ec0a165452e8332d408604e1d51"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#15029f6831037063892ec6da9ccb028e">tmpDirErrorDesc</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classRecentAlbums.html">RecentAlbums</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Widget which displays album name, description, representative image, and album shaper logo. 
<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00049">49</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="17fe6934dc1b302e41c38773bbba95c4"></a><!-- doxytag: member="TitleWidget::TitleWidget" ref="17fe6934dc1b302e41c38773bbba95c4" args="(QWidget *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TitleWidget::TitleWidget           </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>
Creates layout. 
<p>

<p>
Store parent pointer<p>
program not busy at first<p>
no windows open by default 
<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00062">62</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00270">about</a>, <a class="el" href="titleWidget_8cpp_source.html#l01190">aboutProgram()</a>, <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="titleWidget_8h_source.html#l00239">albumAnnotationFrame</a>, <a class="el" href="titleWidget_8h_source.html#l00238">albumAnnotationGrid</a>, <a class="el" href="titleWidget_8h_source.html#l00245">albumAuthor</a>, <a class="el" href="titleWidget_8h_source.html#l00246">albumAuthorVal</a>, <a class="el" href="titleWidget_8h_source.html#l00243">albumDescription</a>, <a class="el" href="titleWidget_8h_source.html#l00244">albumDescriptionVal</a>, <a class="el" href="titleWidget_8h_source.html#l00240">albumImage</a>, <a class="el" href="titleWidget_8h_source.html#l00241">albumName</a>, <a class="el" href="titleWidget_8h_source.html#l00242">albumNameVal</a>, <a class="el" href="titleWidget_8cpp_source.html#l01131">albumStatistics()</a>, <a class="el" href="titleWidget_8h_source.html#l00264">albumStats</a>, <a class="el" href="titleWidget_8h_source.html#l00276">busy</a>, <a class="el" href="titleWidget_8cpp_source.html#l01300">createTmpDir()</a>, <a class="el" href="titleWidget_8h_source.html#l00279">detectModifications</a>, <a class="el" href="titleWidget_8h_source.html#l00288">EXPORT_LARGE_IMAGES</a>, <a class="el" href="titleWidget_8h_source.html#l00287">EXPORT_SMALL_WEB_GALLERY</a>, <a class="el" href="titleWidget_8cpp_source.html#l00800">exportLargeImages()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00700">exportSmallWebGallery()</a>, <a class="el" href="titleWidget_8h_source.html#l00208">file</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="recentAlbums_8cpp_source.html#l00037">RecentAlbums::getMaxItems()</a>, <a class="el" href="configuration_8cpp_source.html#l00158">Configuration::getString()</a>, <a class="el" href="album_8cpp_source.html#l00142">Album::getTmpDir()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01206">help()</a>, <a class="el" href="titleWidget_8h_source.html#l00231">helpMenu</a>, <a class="el" href="titleWidget_8h_source.html#l00273">helpWindow</a>, <a class="el" href="config_8cpp_source.html#l00018">IMAGE_PATH</a>, <a class="el" href="recentAlbums_8cpp_source.html#l00049">RecentAlbums::insertEntry()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00621">loadAlbum()</a>, <a class="el" href="titleWidget_8h_source.html#l00235">mainFrame</a>, <a class="el" href="titleWidget_8h_source.html#l00234">mainGrid</a>, <a class="el" href="titleWidget_8h_source.html#l00205">menu</a>, <a class="el" href="titleWidget_8h_source.html#l00282">NEW_ALBUM</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, <a class="el" href="titleWidget_8h_source.html#l00283">OPEN_ALBUM</a>, <a class="el" href="titleWidget_8h_source.html#l00211">openRecent</a>, <a class="el" href="titleWidget_8h_source.html#l00218">photoMenu</a>, <a class="el" href="titleWidget_8cpp_source.html#l01368">populateOpenRecentMenu()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01272">quitApplication()</a>, <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>, <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>, <a class="el" href="titleWidget_8h_source.html#l00291">REMOVE_DESCRIPTIONS</a>, <a class="el" href="titleWidget_8cpp_source.html#l01147">removeSelectedPhotoDesc()</a>, <a class="el" href="config_8h_source.html#l00029">REP_IMAGE_HEIGHT</a>, <a class="el" href="titleWidget_8h_source.html#l00292">REVERT_PHOTOS</a>, <a class="el" href="titleWidget_8h_source.html#l00286">REVERT_TO_SAVED_ALBUM</a>, <a class="el" href="titleWidget_8cpp_source.html#l01169">revertPhotos()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00676">revertToSaved()</a>, <a class="el" href="titleWidget_8h_source.html#l00284">SAVE_ALBUM</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, <a class="el" href="titleWidget_8h_source.html#l00285">SAVEAS_ALBUM</a>, <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01174">settings()</a>, <a class="el" href="titleWidget_8h_source.html#l00267">settingsWindow</a>, <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, <a class="el" href="titleWidget_8h_source.html#l00250">subalbumAnnotationFrame</a>, <a class="el" href="titleWidget_8h_source.html#l00249">subalbumAnnotationGrid</a>, <a class="el" href="titleWidget_8h_source.html#l00254">subalbumDescription</a>, <a class="el" href="titleWidget_8h_source.html#l00255">subalbumDescriptionVal</a>, <a class="el" href="titleWidget_8h_source.html#l00251">subalbumImage</a>, <a class="el" href="titleWidget_8h_source.html#l00252">subalbumName</a>, <a class="el" href="titleWidget_8h_source.html#l00253">subalbumNameVal</a>, <a class="el" href="titleWidget_8h_source.html#l00302">tmpDirErrorDesc</a>, <a class="el" href="titleWidget_8h_source.html#l00302">tmpDirErrorMessage</a>, <a class="el" href="titleWidget_8h_source.html#l00221">tools</a>, <a class="el" href="titleWidget_8cpp_source.html#l00519">unsetAlbumImage()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00555">unsetSubalbumImage()</a>, <a class="el" href="config_8h_source.html#l00031">WIDGET_SPACING</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00063"></a>00063                                                     : <a class="code" href="classQFrame.html">QFrame</a>(parent,name)
<a name="l00064"></a>00064 {
<a name="l00065"></a>00065   <a class="code" href="classTitleWidget.html#7fa66ec0a165452e8332d408604e1d51" title="error message and description when temp directory cannot be created">tmpDirErrorMessage</a> = tr(<span class="stringliteral">"Error! Unable to create temp directory!"</span>);
<a name="l00066"></a>00066   <a class="code" href="classTitleWidget.html#15029f6831037063892ec6da9ccb028e">tmpDirErrorDesc</a> = tr(<span class="stringliteral">"Album Shaper was unable to create the necessary temp directory required: "</span>);
<a name="l00067"></a>00067   <span class="comment">//--------------------------------------------------------------</span>
<a name="l00068"></a>00068   QColor white(255, 255, 255);
<a name="l00069"></a>00069   QColor lightBlue(193, 210, 238);
<a name="l00070"></a>00070   QColor darkBlue(35, 75, 139);
<a name="l00071"></a>00071   QColor black(0, 0, 0);
<a name="l00072"></a>00072   <span class="comment">//--------------------------------------------------------------</span>
<a name="l00074"></a>00074 <span class="comment"></span>  <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a> = (<a class="code" href="classWindow.html" title="Top level widget, encapsulates the title widget, the layout widget, and the toolbar...">Window</a>*)parent;
<a name="l00075"></a>00075 
<a name="l00077"></a>00077   <a class="code" href="classTitleWidget.html#f099ad78e415588fd752299d4d89b1ad" title="Is the program currently busy? helps block other operations.">busy</a> = <span class="keyword">false</span>;
<a name="l00078"></a>00078 
<a name="l00079"></a>00079   <span class="comment">//detect changes to text fields</span>
<a name="l00080"></a>00080   <a class="code" href="classTitleWidget.html#06626730776a06b84970c5eee1ce0eaa">detectModifications</a> = <span class="keyword">true</span>;
<a name="l00081"></a>00081 
<a name="l00083"></a>00083   <a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a> = NULL;
<a name="l00084"></a>00084   <a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a> = NULL;
<a name="l00085"></a>00085   <a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a> = NULL;
<a name="l00086"></a>00086   <a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a> = NULL;
<a name="l00087"></a>00087 
<a name="l00088"></a>00088   <span class="comment">//create backend album object</span>
<a name="l00089"></a>00089   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a> = <span class="keyword">new</span> <a class="code" href="classAlbum.html" title="An album contains Subalbums.">Album</a>( <a class="code" href="classTitleWidget.html#0a2de987e3ea2692c960e24c7cc26a84">createTmpDir</a>() );
<a name="l00090"></a>00090   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#a7000c4e580d93ccb7a3fdbc84e49952" title="Returns the temporary directory for use when modifying and adding new images.">getTmpDir</a>().isNull() )
<a name="l00091"></a>00091   {
<a name="l00092"></a>00092       <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( <a class="code" href="classTitleWidget.html#7fa66ec0a165452e8332d408604e1d51" title="error message and description when temp directory cannot be created">tmpDirErrorMessage</a>, <a class="code" href="classTitleWidget.html#15029f6831037063892ec6da9ccb028e">tmpDirErrorDesc</a> + <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"tempImageDirectory"</span> ),
<a name="l00093"></a>00093       <span class="stringliteral">"alertIcons/warning.png"</span>, this );
<a name="l00094"></a>00094       alert.exec();
<a name="l00095"></a>00095       <a class="code" href="classTitleWidget.html#6fb2abfef7bb6bc4d2ad0a76737e294f" title="Quit slot.">quitApplication</a>();
<a name="l00096"></a>00096   }
<a name="l00097"></a>00097   <span class="comment">//-------------------------------------</span>
<a name="l00098"></a>00098   <span class="comment">//initialize recent albums object</span>
<a name="l00099"></a>00099   <span class="keywordtype">int</span> i;
<a name="l00100"></a>00100   QString recentName, recentLocation, recentPhotoCount;
<a name="l00101"></a>00101   <span class="keywordflow">for</span>(i = 0; i&lt;<a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#294c4ca6e52cf3fd35e259b55d03eab9">getMaxItems</a>(); i++)
<a name="l00102"></a>00102   {
<a name="l00103"></a>00103     <span class="comment">//get album name and location</span>
<a name="l00104"></a>00104     recentName = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>(    <span class="stringliteral">"recentAlbums"</span>, QString(<span class="stringliteral">"%1_name"</span>).arg(i)     );
<a name="l00105"></a>00105     recentLocation = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>(<span class="stringliteral">"recentAlbums"</span>, QString(<span class="stringliteral">"%1_location"</span>).arg(i) );
<a name="l00106"></a>00106     recentPhotoCount = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>(<span class="stringliteral">"recentAlbums"</span>, QString(<span class="stringliteral">"%1_photoCount"</span>).arg(i) );
<a name="l00107"></a>00107 
<a name="l00108"></a>00108     <span class="comment">//no such listing? since listings are continious all listings must be loaded</span>
<a name="l00109"></a>00109     <span class="keywordflow">if</span>(recentLocation.compare(<span class="stringliteral">"-1"</span>) == 0)
<a name="l00110"></a>00110       <span class="keywordflow">break</span>;
<a name="l00111"></a>00111 
<a name="l00112"></a>00112     <span class="comment">//insert item into list</span>
<a name="l00113"></a>00113     <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#85a976a736d0b794f2469fd5029f495b">insertEntry</a>( recentName, recentLocation, recentPhotoCount ); 
<a name="l00114"></a>00114   }      
<a name="l00115"></a>00115   <span class="comment">//--------------------------------------------------------------</span>
<a name="l00116"></a>00116   <span class="comment">//create menus</span>
<a name="l00117"></a>00117   <a class="code" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713" title="Menubar file menu and help menu inserted in.">menu</a> = <span class="keyword">new</span> QMenuBar( <span class="keyword">this</span>, <span class="stringliteral">"menuBar"</span> );
<a name="l00118"></a>00118   <span class="comment">//---</span>
<a name="l00119"></a>00119   <span class="comment">//File menu</span>
<a name="l00120"></a>00120   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a> = <span class="keyword">new</span> QPopupMenu( <span class="keyword">this</span>, <span class="stringliteral">"fileMenu"</span> );
<a name="l00121"></a>00121   <a class="code" href="classTitleWidget.html#8a8cb3cef531a8c9b366309ef3cbbe21">NEW_ALBUM</a> = <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertItem( QIconSet( QPixmap(QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"menuIcons/new.png"</span>) ),
<a name="l00122"></a>00122                                 tr(<span class="stringliteral">"&amp;New"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#d8989187007b5be864cfd4e797bc5d3c" title="Resets to empty album.">newAlbum</a>()), CTRL+Key_N );
<a name="l00123"></a>00123 
<a name="l00124"></a>00124   <a class="code" href="classTitleWidget.html#7d044f1db758f6b1b64115288ba8397b">OPEN_ALBUM</a> = <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertItem( QIconSet( QPixmap(QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"menuIcons/open.png"</span>) ),
<a name="l00125"></a>00125                                  tr(<span class="stringliteral">"&amp;Open..."</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#cb2fd15266ce847257a83b65a301c4d3" title="Loads an album specified with file chooser.">loadAlbum</a>()), CTRL+Key_O );
<a name="l00126"></a>00126 
<a name="l00127"></a>00127   <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a> = <span class="keyword">new</span> QPopupMenu( <span class="keyword">this</span>, <span class="stringliteral">"openRecentMenu"</span> );
<a name="l00128"></a>00128   <a class="code" href="classTitleWidget.html#c3c8c0379624297bc1d7becc379190ba" title="Populates the open recent menu with a default set of 9 items + clear.">populateOpenRecentMenu</a>();
<a name="l00129"></a>00129   <a class="code" href="classTitleWidget.html#5d2a106930e035792193c52d63b617dc" title="Refreshes open recent menu.">refreshOpenRecentMenu</a>();
<a name="l00130"></a>00130   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertItem( tr(<span class="stringliteral">"Open Recent"</span>), <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a> );
<a name="l00131"></a>00131   <span class="comment">//----------------------</span>
<a name="l00132"></a>00132   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertSeparator();
<a name="l00133"></a>00133   <span class="comment">//----------------------  </span>
<a name="l00134"></a>00134   <a class="code" href="classTitleWidget.html#f4b971e942e195ae816e4461d7d409da">SAVE_ALBUM</a> = <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertItem( QIconSet( QPixmap(QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"menuIcons/save.png"</span>) ),
<a name="l00135"></a>00135                                  tr(<span class="stringliteral">"&amp;Save"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#c255e615aa8daaed2bc0aaa570d0d9c1" title="Saves album.">saveAlbum</a>()), CTRL+Key_S );
<a name="l00136"></a>00136 
<a name="l00137"></a>00137   <a class="code" href="classTitleWidget.html#88195357ad2bf5cd403ad4c9978dd9f2">SAVEAS_ALBUM</a> = <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertItem( QIconSet( QPixmap(QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"menuIcons/saveas.png"</span>) ),
<a name="l00138"></a>00138                                    tr(<span class="stringliteral">"&amp;Save As..."</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#e0e40e093dd7d228767ad472d3da6ad7" title="Saves album as.">saveAsAlbum</a>()), CTRL+SHIFT+Key_S );
<a name="l00139"></a>00139 
<a name="l00140"></a>00140   <a class="code" href="classTitleWidget.html#cb1bc5b77c337250d40714a4e05d22b7">REVERT_TO_SAVED_ALBUM</a> = <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertItem( tr(<span class="stringliteral">"Revert to Saved"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#207c305b4150cd2c7f4a85067b49c7a7" title="Revert to last saved album.">revertToSaved</a>()) );
<a name="l00141"></a>00141   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#cb1bc5b77c337250d40714a4e05d22b7">REVERT_TO_SAVED_ALBUM</a>, <span class="keyword">false</span> );  
<a name="l00142"></a>00142   <span class="comment">//----------------------</span>
<a name="l00143"></a>00143   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertSeparator();
<a name="l00144"></a>00144   <span class="comment">//----------------------</span>
<a name="l00145"></a>00145   QPopupMenu* exportAs = <span class="keyword">new</span> QPopupMenu( <span class="keyword">this</span>, <span class="stringliteral">"exportAs"</span> );
<a name="l00146"></a>00146   <a class="code" href="classTitleWidget.html#7ec67bec22fb11814f861a60924fd8a3">EXPORT_SMALL_WEB_GALLERY</a> = exportAs-&gt;insertItem( tr(<span class="stringliteral">"Small Web Gallery..."</span>), 
<a name="l00147"></a>00147                                                    <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#a1c88de574b5bef915fc74f803433823" title="Export small web gallery (excludes full size images and Album.xml file).">exportSmallWebGallery</a>()) );
<a name="l00148"></a>00148   <a class="code" href="classTitleWidget.html#a0d5f450b656af27ae6e990acc897412">EXPORT_LARGE_IMAGES</a> = exportAs-&gt;insertItem( tr(<span class="stringliteral">"Images for Printing..."</span>), 
<a name="l00149"></a>00149                                               <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#6bde1a3e098b1a00a698312b6125c086" title="Export large images only to a new directory for printing purposes.">exportLargeImages</a>()) );
<a name="l00150"></a>00150   
<a name="l00151"></a>00151   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertItem( tr(<span class="stringliteral">"Export"</span>), exportAs );
<a name="l00152"></a>00152   <span class="comment">//----------------------  </span>
<a name="l00153"></a>00153   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertSeparator();
<a name="l00154"></a>00154   <span class="comment">//----------------------</span>
<a name="l00155"></a>00155   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;insertItem( QIconSet( QPixmap(QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"menuIcons/quit.png"</span>) ),
<a name="l00156"></a>00156                     tr(<span class="stringliteral">"&amp;Quit"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#6fb2abfef7bb6bc4d2ad0a76737e294f" title="Quit slot.">quitApplication</a>()), CTRL+Key_Q);
<a name="l00157"></a>00157 
<a name="l00158"></a>00158   
<a name="l00159"></a>00159   <a class="code" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713" title="Menubar file menu and help menu inserted in.">menu</a>-&gt;insertItem( tr(<span class="stringliteral">"&amp;File"</span>), <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a> );
<a name="l00160"></a>00160   <span class="comment">//---</span>
<a name="l00161"></a>00161   <span class="comment">//Photo menu</span>
<a name="l00162"></a>00162   <a class="code" href="classTitleWidget.html#8056757c1246b3dece481f5b47c261fc" title="Photos menu.">photoMenu</a> = <span class="keyword">new</span> QPopupMenu( <span class="keyword">this</span>, <span class="stringliteral">"phooMenu"</span> );
<a name="l00163"></a>00163     
<a name="l00164"></a>00164   <a class="code" href="classTitleWidget.html#0ee367f4e578eacc20044f01a5db3383" title="photos menu item id&amp;#39;s">REMOVE_DESCRIPTIONS</a> = <a class="code" href="classTitleWidget.html#8056757c1246b3dece481f5b47c261fc" title="Photos menu.">photoMenu</a>-&gt;insertItem( tr(<span class="stringliteral">"Remove Description"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#7c482bc35ed104f6b78db8383819306a" title="Strip descriptions from selected photos.">removeSelectedPhotoDesc</a>()) );
<a name="l00165"></a>00165   <a class="code" href="classTitleWidget.html#0c1797c6011f8866704c05b49689b318">REVERT_PHOTOS</a> = <a class="code" href="classTitleWidget.html#8056757c1246b3dece481f5b47c261fc" title="Photos menu.">photoMenu</a>-&gt;insertItem( tr(<span class="stringliteral">"Revert to Original"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#4627b467f0f2cfc3b186848558f2102d" title="Revert selected photos to original form.">revertPhotos</a>()) );
<a name="l00166"></a>00166   
<a name="l00167"></a>00167   <a class="code" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713" title="Menubar file menu and help menu inserted in.">menu</a>-&gt;insertItem( tr(<span class="stringliteral">"&amp;Photos"</span>), <a class="code" href="classTitleWidget.html#8056757c1246b3dece481f5b47c261fc" title="Photos menu.">photoMenu</a> );
<a name="l00168"></a>00168   <span class="comment">//---</span>
<a name="l00169"></a>00169   <span class="comment">//Tools menu</span>
<a name="l00170"></a>00170   <a class="code" href="classTitleWidget.html#58aaf5ad3d5d32069da03686e3af0fe6" title="Tools menu.">tools</a> = <span class="keyword">new</span> QPopupMenu( <span class="keyword">this</span>, <span class="stringliteral">"toolsMenu"</span> );
<a name="l00171"></a>00171 <span class="comment">/*</span>
<a name="l00172"></a>00172 <span class="comment">  BEGIN_PRESENTATION_AT = tools-&gt;insertItem( QIconSet( QPixmap(QString(IMAGE_PATH)+"menuIcons/startPresentation.png") ),</span>
<a name="l00173"></a>00173 <span class="comment">                                          tr("Begin Presentation"), </span>
<a name="l00174"></a>00174 <span class="comment">                                          window, SLOT(startSlideshowWithSelectedPhoto()), CTRL+Key_P );   </span>
<a name="l00175"></a>00175 <span class="comment">  BEGIN_PRESENTATION = tools-&gt;insertItem( tr("Begin Presentation at Beginning"), </span>
<a name="l00176"></a>00176 <span class="comment">                                             window, SLOT(startSlideshowAtBeginning()), CTRL+SHIFT+Key_P ); </span>
<a name="l00177"></a>00177 <span class="comment">  updateMenus();</span>
<a name="l00178"></a>00178 <span class="comment"> */</span>
<a name="l00179"></a>00179 
<a name="l00180"></a>00180   <a class="code" href="classTitleWidget.html#58aaf5ad3d5d32069da03686e3af0fe6" title="Tools menu.">tools</a>-&gt;insertItem( QIconSet( QPixmap(QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"menuIcons/albumStatistics.png"</span>) ),
<a name="l00181"></a>00181                      tr(<span class="stringliteral">"Album Statistics"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#175c9b133faee0f622a292ad913ef17c" title="Pops up album statistics window.">albumStatistics</a>()), CTRL+Key_I );
<a name="l00182"></a>00182 
<a name="l00183"></a>00183   <a class="code" href="classTitleWidget.html#58aaf5ad3d5d32069da03686e3af0fe6" title="Tools menu.">tools</a>-&gt;insertItem( QIconSet( QPixmap(QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"menuIcons/settings.png"</span>) ),
<a name="l00184"></a>00184                      tr(<span class="stringliteral">"Settings"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#9540a36db873dcf590e8df6d8b5f2fe9" title="Pops up settings window.">settings</a>()) );
<a name="l00185"></a>00185 
<a name="l00186"></a>00186   <a class="code" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713" title="Menubar file menu and help menu inserted in.">menu</a>-&gt;insertItem( tr(<span class="stringliteral">"&amp;Tools"</span>), <a class="code" href="classTitleWidget.html#58aaf5ad3d5d32069da03686e3af0fe6" title="Tools menu.">tools</a> );
<a name="l00187"></a>00187   <span class="comment">//---</span>
<a name="l00188"></a>00188   <span class="comment">//PLATFORM_SPECIFIC_CODE</span>
<a name="l00189"></a>00189   <span class="comment">//Window menu</span>
<a name="l00190"></a>00190 <span class="preprocessor">  #if defined(Q_OS_MACX)</span>
<a name="l00191"></a>00191 <span class="preprocessor"></span>  windowMenu = <span class="keyword">new</span> QPopupMenu( <span class="keyword">this</span>, <span class="stringliteral">"windoMenu"</span> );
<a name="l00192"></a>00192   WINDOW_MINIMIZE = windowMenu-&gt;insertItem( tr(<span class="stringliteral">"&amp;Minimize"</span>), (<a class="code" href="classQWidget.html">QWidget</a>*)<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>, SLOT(showMinimized()), CTRL+Key_M );
<a name="l00193"></a>00193   <a class="code" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713" title="Menubar file menu and help menu inserted in.">menu</a>-&gt;insertItem( tr(<span class="stringliteral">"&amp;Window"</span>), windowMenu );
<a name="l00194"></a>00194 <span class="preprocessor">  #endif</span>
<a name="l00195"></a>00195 <span class="preprocessor"></span>  <span class="comment">//---    </span>
<a name="l00196"></a>00196   <span class="comment">//Help menu</span>
<a name="l00197"></a>00197   <a class="code" href="classTitleWidget.html#af5ecd0bdb2e217de18309c007c68050" title="Window menu, only used in OSX.">helpMenu</a> = <span class="keyword">new</span> QPopupMenu( <span class="keyword">this</span>, <span class="stringliteral">"helpMenu"</span> );
<a name="l00198"></a>00198   <a class="code" href="classTitleWidget.html#af5ecd0bdb2e217de18309c007c68050" title="Window menu, only used in OSX.">helpMenu</a>-&gt;insertItem( tr(<span class="stringliteral">"Album Shaper Help"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#b89ce3c1d7a29c92eb52d6f9ffe1050c" title="Pops up HelpWindow.">help</a>()), CTRL+Key_Question );
<a name="l00199"></a>00199 
<a name="l00200"></a>00200   <a class="code" href="classTitleWidget.html#af5ecd0bdb2e217de18309c007c68050" title="Window menu, only used in OSX.">helpMenu</a>-&gt;insertItem( QIconSet( QPixmap(QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"menuIcons/about.png"</span>) ),
<a name="l00201"></a>00201                     tr(<span class="stringliteral">"About"</span>), <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#788ec0261eb74b90026c02a50d822407" title="Pops up about dialog.">aboutProgram</a>()) );
<a name="l00202"></a>00202   <a class="code" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713" title="Menubar file menu and help menu inserted in.">menu</a>-&gt;insertSeparator();
<a name="l00203"></a>00203   <a class="code" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713" title="Menubar file menu and help menu inserted in.">menu</a>-&gt;insertItem( tr(<span class="stringliteral">"&amp;Help"</span>), <a class="code" href="classTitleWidget.html#af5ecd0bdb2e217de18309c007c68050" title="Window menu, only used in OSX.">helpMenu</a> );
<a name="l00204"></a>00204   <span class="comment">//--------------------------------------------------------------</span>
<a name="l00205"></a>00205   <span class="comment">//create all widgets</span>
<a name="l00206"></a>00206   <a class="code" href="classTitleWidget.html#4a12a8756feba3a0d890f4c9b084c0c2">mainFrame</a> = <span class="keyword">new</span> <a class="code" href="classQFrame.html">QFrame</a>( <span class="keyword">this</span>, <span class="stringliteral">"mainFrame"</span> );
<a name="l00207"></a>00207   <a class="code" href="classTitleWidget.html#4a12a8756feba3a0d890f4c9b084c0c2">mainFrame</a>-&gt;setPaletteBackgroundColor( darkBlue );
<a name="l00208"></a>00208   <span class="comment">//------</span>
<a name="l00209"></a>00209   <span class="comment">//album annotations</span>
<a name="l00210"></a>00210   <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a> = <span class="keyword">new</span> <a class="code" href="classQFrame.html">QFrame</a>( <a class="code" href="classTitleWidget.html#4a12a8756feba3a0d890f4c9b084c0c2">mainFrame</a>, <span class="stringliteral">"albumAnnotationFrame"</span> );
<a name="l00211"></a>00211   <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>-&gt;setLineWidth(2);
<a name="l00212"></a>00212   <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>-&gt;setMidLineWidth(0);
<a name="l00213"></a>00213   <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>-&gt;setFrameStyle( QFrame::Panel | QFrame::Plain );
<a name="l00214"></a>00214   <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>-&gt;setPaletteForegroundColor( white );
<a name="l00215"></a>00215   <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>-&gt;setPaletteBackgroundColor( darkBlue );
<a name="l00216"></a>00216 
<a name="l00217"></a>00217   <a class="code" href="classQFrame.html">QFrame</a>* albumImageFrame = <span class="keyword">new</span> <a class="code" href="classQFrame.html">QFrame</a>( <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, <span class="stringliteral">"albumImageFrame"</span> );
<a name="l00218"></a>00218   <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a> = <span class="keyword">new</span> <a class="code" href="classALabel.html">ALabel</a>( albumImageFrame, <span class="stringliteral">"albumImage"</span>,
<a name="l00219"></a>00219                                                <span class="keyword">new</span> QPixmap( QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"buttonIcons/removeImage.png"</span>) );
<a name="l00220"></a>00220   connect( <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a>, SIGNAL(mouseRelease()),
<a name="l00221"></a>00221                 <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#1feecf52dce3b33de282fde0e7f35b7b" title="Unsets the Album Image.">unsetAlbumImage</a>()) );
<a name="l00222"></a>00222 
<a name="l00223"></a>00223   <span class="comment">//allow drop events</span>
<a name="l00224"></a>00224   this-&gt;setAcceptDrops(<span class="keyword">true</span>);
<a name="l00225"></a>00225 
<a name="l00226"></a>00226   <a class="code" href="classTitleWidget.html#a47d0bfd934ade0043fd6d91772a1ce5">albumName</a> = <span class="keyword">new</span> <a class="code" href="classQLabel.html">QLabel</a>( tr(<span class="stringliteral">"Album Name:"</span>), <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, <span class="stringliteral">"albumName"</span> );
<a name="l00227"></a>00227   <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a> = <span class="keyword">new</span> QLineEdit( <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, <span class="stringliteral">"albumNameVal"</span> );
<a name="l00228"></a>00228   connect( <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>, SIGNAL(textChanged( <span class="keyword">const</span> QString&amp;)),
<a name="l00229"></a>00229            SLOT( <a class="code" href="classTitleWidget.html#6b3aaa010d1f04c8c60078fafb0c70d8" title="Store annotations.">storeAnnotations</a>()) );
<a name="l00230"></a>00230 
<a name="l00231"></a>00231   <a class="code" href="classTitleWidget.html#5ffa7cd7792215b062f40bb9c21149f1">albumDescription</a> = <span class="keyword">new</span> <a class="code" href="classQLabel.html">QLabel</a>( tr(<span class="stringliteral">"Description:"</span>), <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, <span class="stringliteral">"albumDescription"</span> );
<a name="l00232"></a>00232   <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a> = <span class="keyword">new</span> QLineEdit( <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, <span class="stringliteral">"albumDescriptionVal"</span> );
<a name="l00233"></a>00233   connect( <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>, SIGNAL(textChanged( <span class="keyword">const</span> QString&amp;)),
<a name="l00234"></a>00234            SLOT( <a class="code" href="classTitleWidget.html#6b3aaa010d1f04c8c60078fafb0c70d8" title="Store annotations.">storeAnnotations</a>()) );
<a name="l00235"></a>00235 
<a name="l00236"></a>00236   <a class="code" href="classTitleWidget.html#d17384839fe7c4d06f6b42d9eab7c741">albumAuthor</a> = <span class="keyword">new</span> <a class="code" href="classQLabel.html">QLabel</a>( tr(<span class="stringliteral">"Author:"</span>), <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, <span class="stringliteral">"albumAuthor"</span> );
<a name="l00237"></a>00237   <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a> = <span class="keyword">new</span> QLineEdit( <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, <span class="stringliteral">"albumAuthorVal"</span> );
<a name="l00238"></a>00238   connect( <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>, SIGNAL(textChanged( <span class="keyword">const</span> QString&amp;)),
<a name="l00239"></a>00239            SLOT( <a class="code" href="classTitleWidget.html#6b3aaa010d1f04c8c60078fafb0c70d8" title="Store annotations.">storeAnnotations</a>()) );
<a name="l00240"></a>00240   <span class="comment">//------</span>
<a name="l00241"></a>00241   <span class="comment">//subalbum annotations</span>
<a name="l00242"></a>00242   <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a> = <span class="keyword">new</span> <a class="code" href="classQFrame.html">QFrame</a>( <a class="code" href="classTitleWidget.html#4a12a8756feba3a0d890f4c9b084c0c2">mainFrame</a>, <span class="stringliteral">"subalbumAnnotationFrame"</span> );
<a name="l00243"></a>00243   <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>-&gt;setLineWidth(2);
<a name="l00244"></a>00244   <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>-&gt;setMidLineWidth(0);
<a name="l00245"></a>00245   <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>-&gt;setFrameStyle( QFrame::Panel | QFrame::Plain );
<a name="l00246"></a>00246   <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>-&gt;setPaletteForegroundColor( white );
<a name="l00247"></a>00247   <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>-&gt;setPaletteBackgroundColor( darkBlue );
<a name="l00248"></a>00248 
<a name="l00249"></a>00249   <a class="code" href="classQFrame.html">QFrame</a>* subalbumImageFrame = <span class="keyword">new</span> <a class="code" href="classQFrame.html">QFrame</a>( <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>, <span class="stringliteral">"subalbumImageFrame"</span> );
<a name="l00250"></a>00250   <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a> = <span class="keyword">new</span> <a class="code" href="classALabel.html">ALabel</a>( subalbumImageFrame, <span class="stringliteral">"subalbumImage"</span>,
<a name="l00251"></a>00251                                                     <span class="keyword">new</span> QPixmap( QString(<a class="code" href="config_8cpp.html#59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"buttonIcons/removeImage.png"</span>) );
<a name="l00252"></a>00252 
<a name="l00253"></a>00253   connect( <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>, SIGNAL(mouseRelease()),
<a name="l00254"></a>00254                  <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#be6d0ef8fa08daa5a9a79aaeee09c7a2" title="Unsets the Subalbum Image.">unsetSubalbumImage</a>()) );
<a name="l00255"></a>00255 
<a name="l00256"></a>00256   <a class="code" href="classTitleWidget.html#31dbc9c22196a64f28cebdc0d6964248">subalbumName</a> = <span class="keyword">new</span> <a class="code" href="classQLabel.html">QLabel</a>( tr(<span class="stringliteral">"Collection Name:"</span>), <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a> );
<a name="l00257"></a>00257   <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a> = <span class="keyword">new</span> QLineEdit( <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a> );
<a name="l00258"></a>00258   connect( <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>, SIGNAL(textChanged( <span class="keyword">const</span> QString&amp;)),
<a name="l00259"></a>00259            SLOT( <a class="code" href="classTitleWidget.html#6b3aaa010d1f04c8c60078fafb0c70d8" title="Store annotations.">storeAnnotations</a>()) );
<a name="l00260"></a>00260 
<a name="l00261"></a>00261   <a class="code" href="classTitleWidget.html#b15184934bf70a721e6d364a943c5440">subalbumDescription</a> = <span class="keyword">new</span> <a class="code" href="classQLabel.html">QLabel</a>( tr(<span class="stringliteral">"Description:"</span>), <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a> );
<a name="l00262"></a>00262   <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a> = <span class="keyword">new</span> QLineEdit( <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a> );
<a name="l00263"></a>00263   connect( <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>, SIGNAL(textChanged( <span class="keyword">const</span> QString&amp;)),
<a name="l00264"></a>00264            SLOT( <a class="code" href="classTitleWidget.html#6b3aaa010d1f04c8c60078fafb0c70d8" title="Store annotations.">storeAnnotations</a>()) );
<a name="l00265"></a>00265   <span class="comment">//--------------------------------------------------------------</span>
<a name="l00266"></a>00266   <span class="comment">//Set fonts + colors</span>
<a name="l00267"></a>00267   QFont labelFont = <a class="code" href="classTitleWidget.html#a47d0bfd934ade0043fd6d91772a1ce5">albumName</a>-&gt;font();
<a name="l00268"></a>00268   labelFont.setWeight(QFont::Bold);
<a name="l00269"></a>00269 
<a name="l00270"></a>00270   <a class="code" href="classTitleWidget.html#a47d0bfd934ade0043fd6d91772a1ce5">albumName</a>-&gt;setFont( labelFont );
<a name="l00271"></a>00271   <a class="code" href="classTitleWidget.html#a47d0bfd934ade0043fd6d91772a1ce5">albumName</a>-&gt;setPaletteForegroundColor( white );
<a name="l00272"></a>00272   <a class="code" href="classTitleWidget.html#a47d0bfd934ade0043fd6d91772a1ce5">albumName</a>-&gt;setPaletteBackgroundColor( darkBlue );
<a name="l00273"></a>00273 
<a name="l00274"></a>00274   <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>-&gt;setFont( labelFont );
<a name="l00275"></a>00275   <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>-&gt;setPaletteForegroundColor( black );
<a name="l00276"></a>00276   <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>-&gt;setPaletteBackgroundColor( lightBlue );
<a name="l00277"></a>00277   <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>-&gt;setFrameShape ( QFrame::NoFrame );
<a name="l00278"></a>00278 
<a name="l00279"></a>00279   <a class="code" href="classTitleWidget.html#5ffa7cd7792215b062f40bb9c21149f1">albumDescription</a>-&gt;setFont( labelFont );
<a name="l00280"></a>00280   <a class="code" href="classTitleWidget.html#5ffa7cd7792215b062f40bb9c21149f1">albumDescription</a>-&gt;setPaletteForegroundColor( white );
<a name="l00281"></a>00281   <a class="code" href="classTitleWidget.html#5ffa7cd7792215b062f40bb9c21149f1">albumDescription</a>-&gt;setPaletteBackgroundColor( darkBlue );
<a name="l00282"></a>00282 
<a name="l00283"></a>00283   <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>-&gt;setFont( labelFont );
<a name="l00284"></a>00284   <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>-&gt;setPaletteForegroundColor( black );
<a name="l00285"></a>00285   <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>-&gt;setPaletteBackgroundColor( lightBlue );
<a name="l00286"></a>00286   <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>-&gt;setFrameShape ( QFrame::NoFrame );
<a name="l00287"></a>00287 
<a name="l00288"></a>00288   <a class="code" href="classTitleWidget.html#d17384839fe7c4d06f6b42d9eab7c741">albumAuthor</a>-&gt;setFont( labelFont );
<a name="l00289"></a>00289   <a class="code" href="classTitleWidget.html#d17384839fe7c4d06f6b42d9eab7c741">albumAuthor</a>-&gt;setPaletteForegroundColor( white );
<a name="l00290"></a>00290   <a class="code" href="classTitleWidget.html#d17384839fe7c4d06f6b42d9eab7c741">albumAuthor</a>-&gt;setPaletteBackgroundColor( darkBlue );
<a name="l00291"></a>00291 
<a name="l00292"></a>00292   <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>-&gt;setFont( labelFont );
<a name="l00293"></a>00293   <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>-&gt;setPaletteForegroundColor( black );
<a name="l00294"></a>00294   <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>-&gt;setPaletteBackgroundColor( lightBlue );
<a name="l00295"></a>00295   <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>-&gt;setFrameShape ( QFrame::NoFrame );
<a name="l00296"></a>00296 
<a name="l00297"></a>00297   <a class="code" href="classTitleWidget.html#31dbc9c22196a64f28cebdc0d6964248">subalbumName</a>-&gt;setFont( labelFont );
<a name="l00298"></a>00298   <a class="code" href="classTitleWidget.html#31dbc9c22196a64f28cebdc0d6964248">subalbumName</a>-&gt;setPaletteForegroundColor( white );
<a name="l00299"></a>00299   <a class="code" href="classTitleWidget.html#31dbc9c22196a64f28cebdc0d6964248">subalbumName</a>-&gt;setPaletteBackgroundColor( darkBlue );
<a name="l00300"></a>00300 
<a name="l00301"></a>00301   <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>-&gt;setFont( labelFont );
<a name="l00302"></a>00302   <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>-&gt;setPaletteForegroundColor( black );
<a name="l00303"></a>00303   <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>-&gt;setPaletteBackgroundColor( lightBlue );
<a name="l00304"></a>00304   <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>-&gt;setFrameShape ( QFrame::NoFrame );
<a name="l00305"></a>00305 
<a name="l00306"></a>00306   <a class="code" href="classTitleWidget.html#b15184934bf70a721e6d364a943c5440">subalbumDescription</a>-&gt;setFont( labelFont );
<a name="l00307"></a>00307   <a class="code" href="classTitleWidget.html#b15184934bf70a721e6d364a943c5440">subalbumDescription</a>-&gt;setPaletteForegroundColor( white );
<a name="l00308"></a>00308   <a class="code" href="classTitleWidget.html#b15184934bf70a721e6d364a943c5440">subalbumDescription</a>-&gt;setPaletteBackgroundColor( darkBlue );
<a name="l00309"></a>00309 
<a name="l00310"></a>00310   <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>-&gt;setFont( labelFont );
<a name="l00311"></a>00311   <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>-&gt;setPaletteForegroundColor( black );
<a name="l00312"></a>00312   <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>-&gt;setPaletteBackgroundColor( lightBlue );
<a name="l00313"></a>00313   <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>-&gt;setFrameShape ( QFrame::NoFrame );
<a name="l00314"></a>00314   <span class="comment">//--------------------------------------------------------------</span>
<a name="l00315"></a>00315   <span class="comment">//place widgets in grids</span>
<a name="l00316"></a>00316   <span class="comment">//------------------------</span>
<a name="l00317"></a>00317   <span class="comment">//album annotations</span>
<a name="l00318"></a>00318   QGridLayout* albumImageGrid = <span class="keyword">new</span> QGridLayout( albumImageFrame, 1, 1 );
<a name="l00319"></a>00319   albumImageGrid-&gt;addWidget( <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a>, 0, 0 );
<a name="l00320"></a>00320   albumImageGrid-&gt;setRowSpacing( 0, <a class="code" href="config_8h.html#c4a5acadee7615ea7878342032d6fb79">REP_IMAGE_HEIGHT</a> );
<a name="l00321"></a>00321 
<a name="l00322"></a>00322   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a> =      <span class="keyword">new</span> QGridLayout( <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, 3, 3);
<a name="l00323"></a>00323   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;setMargin(<a class="code" href="config_8h.html#07d364596a27705c900f07340515d5db">WIDGET_SPACING</a>);
<a name="l00324"></a>00324   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;setSpacing(<a class="code" href="config_8h.html#07d364596a27705c900f07340515d5db">WIDGET_SPACING</a>);
<a name="l00325"></a>00325 
<a name="l00326"></a>00326   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;addMultiCellWidget( albumImageFrame, 0, 2, 0, 0 );
<a name="l00327"></a>00327 
<a name="l00328"></a>00328   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;addWidget          ( <a class="code" href="classTitleWidget.html#a47d0bfd934ade0043fd6d91772a1ce5">albumName</a>, 0, 1, Qt::AlignLeft);
<a name="l00329"></a>00329   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;addWidget          ( <a class="code" href="classTitleWidget.html#5ffa7cd7792215b062f40bb9c21149f1">albumDescription</a>, 1, 1, Qt::AlignLeft);
<a name="l00330"></a>00330   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;addWidget          ( <a class="code" href="classTitleWidget.html#d17384839fe7c4d06f6b42d9eab7c741">albumAuthor</a>, 2, 1, Qt::AlignLeft);
<a name="l00331"></a>00331 
<a name="l00332"></a>00332   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;setColStretch(2, 1);
<a name="l00333"></a>00333   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;addWidget( <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>, 0, 2);
<a name="l00334"></a>00334   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;addWidget( <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>, 1, 2);
<a name="l00335"></a>00335   <a class="code" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c" title="Album annotation grid.">albumAnnotationGrid</a>-&gt;addWidget( <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>, 2, 2);
<a name="l00336"></a>00336   <span class="comment">//------------------------</span>
<a name="l00337"></a>00337   <span class="comment">//subalbum annotations</span>
<a name="l00338"></a>00338   QGridLayout* subalbumImageGrid = <span class="keyword">new</span> QGridLayout( subalbumImageFrame, 1, 1 );
<a name="l00339"></a>00339   subalbumImageGrid-&gt;addWidget( <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>, 0, 0 );
<a name="l00340"></a>00340   subalbumImageGrid-&gt;setRowSpacing( 0, <a class="code" href="config_8h.html#c4a5acadee7615ea7878342032d6fb79">REP_IMAGE_HEIGHT</a> );
<a name="l00341"></a>00341 
<a name="l00342"></a>00342   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a> = <span class="keyword">new</span> QGridLayout( <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>, 5, 5);
<a name="l00343"></a>00343   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;setMargin(<a class="code" href="config_8h.html#07d364596a27705c900f07340515d5db">WIDGET_SPACING</a>);
<a name="l00344"></a>00344   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;setSpacing(<a class="code" href="config_8h.html#07d364596a27705c900f07340515d5db">WIDGET_SPACING</a>);
<a name="l00345"></a>00345 
<a name="l00346"></a>00346   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;addMultiCellWidget( subalbumImageFrame, 0, 2, 0, 0);
<a name="l00347"></a>00347 
<a name="l00348"></a>00348   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;setRowStretch(2, 1);
<a name="l00349"></a>00349   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;addWidget          ( <a class="code" href="classTitleWidget.html#31dbc9c22196a64f28cebdc0d6964248">subalbumName</a>, 0, 1, Qt::AlignLeft);
<a name="l00350"></a>00350   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;addWidget          ( <a class="code" href="classTitleWidget.html#b15184934bf70a721e6d364a943c5440">subalbumDescription</a>, 1, 1, Qt::AlignLeft);
<a name="l00351"></a>00351 
<a name="l00352"></a>00352   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;setColStretch(2, 1);
<a name="l00353"></a>00353   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;addWidget( <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>, 0, 2);
<a name="l00354"></a>00354   <a class="code" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35" title="Subalbum annotation grid.">subalbumAnnotationGrid</a>-&gt;addWidget( <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>, 1, 2);
<a name="l00355"></a>00355   <span class="comment">//------------------------</span>
<a name="l00356"></a>00356   <span class="comment">//place menu and album and subalbum annotations into main grid</span>
<a name="l00357"></a>00357   <a class="code" href="classTitleWidget.html#9374bc17732932e84431b110edac8382" title="Main grid.">mainGrid</a> =                       <span class="keyword">new</span> QGridLayout( <a class="code" href="classTitleWidget.html#4a12a8756feba3a0d890f4c9b084c0c2">mainFrame</a>, 1, 2);
<a name="l00358"></a>00358   <a class="code" href="classTitleWidget.html#9374bc17732932e84431b110edac8382" title="Main grid.">mainGrid</a>-&gt;setMargin(<a class="code" href="config_8h.html#07d364596a27705c900f07340515d5db">WIDGET_SPACING</a>);
<a name="l00359"></a>00359   <a class="code" href="classTitleWidget.html#9374bc17732932e84431b110edac8382" title="Main grid.">mainGrid</a>-&gt;setSpacing(<a class="code" href="config_8h.html#07d364596a27705c900f07340515d5db">WIDGET_SPACING</a>);
<a name="l00360"></a>00360 
<a name="l00361"></a>00361   <a class="code" href="classTitleWidget.html#9374bc17732932e84431b110edac8382" title="Main grid.">mainGrid</a>-&gt;addWidget          ( <a class="code" href="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">albumAnnotationFrame</a>, 0, 0);
<a name="l00362"></a>00362   <a class="code" href="classTitleWidget.html#9374bc17732932e84431b110edac8382" title="Main grid.">mainGrid</a>-&gt;setColStretch(0, 1);
<a name="l00363"></a>00363 
<a name="l00364"></a>00364   <a class="code" href="classTitleWidget.html#9374bc17732932e84431b110edac8382" title="Main grid.">mainGrid</a>-&gt;addWidget          ( <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>, 0, 1);
<a name="l00365"></a>00365   <a class="code" href="classTitleWidget.html#9374bc17732932e84431b110edac8382" title="Main grid.">mainGrid</a>-&gt;setColStretch(1, 1);
<a name="l00366"></a>00366 
<a name="l00367"></a>00367   QVBoxLayout* vb = <span class="keyword">new</span> QVBoxLayout(<span class="keyword">this</span>);
<a name="l00368"></a>00368   this-&gt;layout()-&gt;setMenuBar( <a class="code" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713" title="Menubar file menu and help menu inserted in.">menu</a> );
<a name="l00369"></a>00369   vb-&gt;addWidget(<a class="code" href="classTitleWidget.html#4a12a8756feba3a0d890f4c9b084c0c2">mainFrame</a>);
<a name="l00370"></a>00370   <span class="comment">//-----------------------------------------------</span>
<a name="l00371"></a>00371 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="795d57d319cfbe2fdd3990df0fdcca10"></a><!-- doxytag: member="TitleWidget::~TitleWidget" ref="795d57d319cfbe2fdd3990df0fdcca10" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TitleWidget::~TitleWidget           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deletes stuff! 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00391">391</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00392"></a>00392 {
<a name="l00393"></a>00393   <span class="comment">//delete old album</span>
<a name="l00394"></a>00394   <span class="keyword">delete</span> <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>;
<a name="l00395"></a>00395   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a> = NULL;
<a name="l00396"></a>00396 }
</pre></div>
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5ffb513a590490a38fc2871ace9a43b7"></a><!-- doxytag: member="TitleWidget::aboutClosed" ref="5ffb513a590490a38fc2871ace9a43b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::aboutClosed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Frees about dialog once closed. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01228">1228</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00270">about</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01190">aboutProgram()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01229"></a>01229 {
<a name="l01230"></a>01230   <span class="keyword">delete</span> <a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a>;
<a name="l01231"></a>01231   <a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a> = NULL;
<a name="l01232"></a>01232 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="788ec0261eb74b90026c02a50d822407"></a><!-- doxytag: member="TitleWidget::aboutProgram" ref="788ec0261eb74b90026c02a50d822407" args="(int mode=ABOUT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::aboutProgram           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>mode</em> = <code>ABOUT</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pops up about dialog. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01190">1190</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00270">about</a>, <a class="el" href="titleWidget_8cpp_source.html#l01228">aboutClosed()</a>, and <a class="el" href="guiTools_8cpp_source.html#l00025">centerWindow()</a>.</p>

<p>Referenced by <a class="el" href="welcomeWindow_8cpp_source.html#l00124">WelcomeWindow::itemClicked()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01191"></a>01191 {
<a name="l01192"></a>01192   <span class="comment">//create window and center if not already present</span>
<a name="l01193"></a>01193   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a> == NULL)
<a name="l01194"></a>01194   {
<a name="l01195"></a>01195     <a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a> = <span class="keyword">new</span> <a class="code" href="classAbout.html" title="About window widget.">About</a>(mode);
<a name="l01196"></a>01196     connect( <a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a>, SIGNAL(closed()),
<a name="l01197"></a>01197              <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#5ffb513a590490a38fc2871ace9a43b7" title="Frees about dialog once closed.">aboutClosed</a>()));
<a name="l01198"></a>01198     <a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a>-&gt;show();
<a name="l01199"></a>01199     <a class="code" href="guiTools_8cpp.html#83ad2663db4147621f3ff0007e27bbdb">centerWindow</a>(<a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a>);
<a name="l01200"></a>01200   }
<a name="l01201"></a>01201 
<a name="l01202"></a>01202   <a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a>-&gt;raise();
<a name="l01203"></a>01203   <a class="code" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6" title="About dialog pointer.">about</a>-&gt;setActiveWindow();
<a name="l01204"></a>01204 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="175c9b133faee0f622a292ad913ef17c"></a><!-- doxytag: member="TitleWidget::albumStatistics" ref="175c9b133faee0f622a292ad913ef17c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::albumStatistics           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pops up album statistics window. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01131">1131</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="titleWidget_8cpp_source.html#l01222">albumStatisticsClosed()</a>, <a class="el" href="titleWidget_8h_source.html#l00264">albumStats</a>, and <a class="el" href="guiTools_8cpp_source.html#l00025">centerWindow()</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01132"></a>01132 {
<a name="l01133"></a>01133   <span class="comment">//create window and center if not already present</span>
<a name="l01134"></a>01134   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a> == NULL)
<a name="l01135"></a>01135   {
<a name="l01136"></a>01136     <a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a> = <span class="keyword">new</span> <a class="code" href="classAlbumStatistics.html" title="Album Statistics Window.">AlbumStatistics</a>(<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>);
<a name="l01137"></a>01137     connect( <a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a>, SIGNAL(closed()),
<a name="l01138"></a>01138            <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#2f17ff26033ffd95b715f1002846204f" title="Frees album statistics dialog once closed.">albumStatisticsClosed</a>()));
<a name="l01139"></a>01139     <a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a>-&gt;show();
<a name="l01140"></a>01140     <a class="code" href="guiTools_8cpp.html#83ad2663db4147621f3ff0007e27bbdb">centerWindow</a>(<a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a>);
<a name="l01141"></a>01141   }
<a name="l01142"></a>01142 
<a name="l01143"></a>01143   <a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a>-&gt;raise();
<a name="l01144"></a>01144   <a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a>-&gt;setActiveWindow();
<a name="l01145"></a>01145 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="2f17ff26033ffd95b715f1002846204f"></a><!-- doxytag: member="TitleWidget::albumStatisticsClosed" ref="2f17ff26033ffd95b715f1002846204f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::albumStatisticsClosed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Frees album statistics dialog once closed. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01222">1222</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00264">albumStats</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01131">albumStatistics()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01223"></a>01223 {
<a name="l01224"></a>01224   <span class="keyword">delete</span> <a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a>;
<a name="l01225"></a>01225   <a class="code" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768" title="Album Statistics dialog pointer.">albumStats</a> = NULL;
<a name="l01226"></a>01226 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="6a08f3b7758a642e8366cfa82be9dd30"></a><!-- doxytag: member="TitleWidget::clearOpenRecentMenu" ref="6a08f3b7758a642e8366cfa82be9dd30" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::clearOpenRecentMenu           </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 albums from open recent menu. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01359">1359</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="recentAlbums_8cpp_source.html#l00025">RecentAlbums::clearList()</a>, <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01368">populateOpenRecentMenu()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01360"></a>01360 {
<a name="l01361"></a>01361   <span class="comment">//clear recent list</span>
<a name="l01362"></a>01362   <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#9c26ecee7fb362d2ab57d4f2d94697c1">clearList</a>();
<a name="l01363"></a>01363   
<a name="l01364"></a>01364   <span class="comment">//refresh menu</span>
<a name="l01365"></a>01365   <a class="code" href="classTitleWidget.html#5d2a106930e035792193c52d63b617dc" title="Refreshes open recent menu.">refreshOpenRecentMenu</a>();
<a name="l01366"></a>01366 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="0a2de987e3ea2692c960e24c7cc26a84"></a><!-- doxytag: member="TitleWidget::createTmpDir" ref="0a2de987e3ea2692c960e24c7cc26a84" args="(QString albumPath=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString TitleWidget::createTmpDir           </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>albumPath</em> = <code>QString::null</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01300">1300</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="configuration_8cpp_source.html#l00158">Configuration::getString()</a>, <a class="el" href="configuration_8cpp_source.html#l00182">Configuration::resetSetting()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01301"></a>01301 {
<a name="l01302"></a>01302   <span class="comment">//if album path provided attempt to create tmp directory in there to</span>
<a name="l01303"></a>01303   <span class="comment">//minimize cost of doing moves when saving album changes.</span>
<a name="l01304"></a>01304   <span class="comment">//the other reasoning is that user will have hopefully provided enough</span>
<a name="l01305"></a>01305   <span class="comment">//space for saving large files on directory where they previously saved,</span>
<a name="l01306"></a>01306   <span class="comment">//so this minmizes the chance of running out of disk hopefully</span>
<a name="l01307"></a>01307   <span class="keywordflow">if</span>(!albumPath.isNull())
<a name="l01308"></a>01308   {
<a name="l01309"></a>01309     QDir rootDir( albumPath );
<a name="l01310"></a>01310     <span class="keywordflow">if</span>(rootDir.exists( <span class="stringliteral">"tmp"</span> ) || rootDir.mkdir( <span class="stringliteral">"tmp"</span> ))
<a name="l01311"></a>01311     <span class="keywordflow">return</span> QDir::convertSeparators( albumPath + <span class="stringliteral">"/tmp"</span> );
<a name="l01312"></a>01312   }
<a name="l01313"></a>01313 
<a name="l01314"></a>01314   <span class="comment">//otherwise create unique tmp dir under scratch dir user specified in preferences</span>
<a name="l01315"></a>01315   QDate date = QDate::currentDate();
<a name="l01316"></a>01316   QTime time = QTime::currentTime();
<a name="l01317"></a>01317   QString baseDir = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"tempImageDirectory"</span> );
<a name="l01318"></a>01318 
<a name="l01319"></a>01319   QDir testPath(baseDir);
<a name="l01320"></a>01320   <span class="keywordflow">if</span>(!testPath.exists())
<a name="l01321"></a>01321   {
<a name="l01322"></a>01322     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#ea454423722c57c7c47a2703c5fac88f" title="Resets a setting to it&amp;#39;s default value.">resetSetting</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"tempImageDirectory"</span> );
<a name="l01323"></a>01323     baseDir = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"tempImageDirectory"</span> );
<a name="l01324"></a>01324   }
<a name="l01325"></a>01325 
<a name="l01326"></a>01326   QString tmpDir = QString(<span class="stringliteral">"albumshaper_tmp%1%2%3%4%5%6%7"</span>).arg( date.year() ).arg( date.month() ).arg
<a name="l01327"></a>01327                                   ( date.day() ).arg( time.hour() ).arg( time.minute() ).arg( time.second() ).arg( time.msec() );
<a name="l01328"></a>01328 
<a name="l01329"></a>01329   QDir rootDir( baseDir );
<a name="l01330"></a>01330   <span class="keywordflow">if</span>(rootDir.exists() &amp;&amp; (rootDir.exists( tmpDir ) || rootDir.mkdir( tmpDir) ) )
<a name="l01331"></a>01331   {
<a name="l01332"></a>01332 <span class="comment">/*    AlertDialog alert( "tmpDir:", QDir::convertSeparators( QString("(" + baseDir + "/" + tmpDir ) ),</span>
<a name="l01333"></a>01333 <span class="comment">    "alertIcons/warning.png", this );</span>
<a name="l01334"></a>01334 <span class="comment">    alert.exec();</span>
<a name="l01335"></a>01335 <span class="comment">*/</span>
<a name="l01336"></a>01336     <span class="keywordflow">return</span> QDir::convertSeparators( baseDir + <span class="stringliteral">"/"</span> + tmpDir );
<a name="l01337"></a>01337   }
<a name="l01338"></a>01338   <span class="keywordflow">else</span>
<a name="l01339"></a>01339   {
<a name="l01340"></a>01340 <span class="comment">//    cout &lt;&lt; "ERROR!\n";</span>
<a name="l01341"></a>01341     <span class="keywordflow">return</span> QString::null;
<a name="l01342"></a>01342   }
<a name="l01343"></a>01343 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="b2db1834a22c1ee7298a5fc724531f5f"></a><!-- doxytag: member="TitleWidget::dragEnterEvent" ref="b2db1834a22c1ee7298a5fc724531f5f" args="(QDragEnterEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::dragEnterEvent           </td>
          <td>(</td>
          <td class="paramtype">QDragEnterEvent *&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01277">1277</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01278"></a>01278 {
<a name="l01279"></a>01279   e-&gt;accept(<span class="keyword">true</span>);
<a name="l01280"></a>01280 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="04669e9b20ac640b4436822751acde03"></a><!-- doxytag: member="TitleWidget::dropEvent" ref="04669e9b20ac640b4436822751acde03" args="(QDropEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::dropEvent           </td>
          <td>(</td>
          <td class="paramtype">QDropEvent *&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01282">1282</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00685">SubalbumWidget::getPhotos()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00492">setAlbumImage()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00524">setSubalbumImage()</a>, <a class="el" href="blur_8cpp_source.html#l00079">width</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01283"></a>01283 {
<a name="l01284"></a>01284   <span class="comment">//force redraw so we don't see missing unpainted</span>
<a name="l01285"></a>01285   <span class="comment">//region while we resize an image which takes a while.</span>
<a name="l01286"></a>01286   repaint(<span class="keyword">false</span>);
<a name="l01287"></a>01287   qApp-&gt;processEvents();
<a name="l01288"></a>01288 
<a name="l01289"></a>01289   <span class="comment">//if the source is not the origanize icon view then ignore the event</span>
<a name="l01290"></a>01290   <span class="keywordflow">if</span>(e-&gt;source() == NULL ||
<a name="l01291"></a>01291      e-&gt;source()-&gt;parentWidget() != <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#445ee3b90db7db75514990c6b1624077" title="Returns pointer to icon view.">getPhotos</a>())
<a name="l01292"></a>01292     <span class="keywordflow">return</span>;
<a name="l01293"></a>01293   
<a name="l01294"></a>01294   <span class="keywordflow">if</span>( e-&gt;pos().x() &lt; (<a class="code" href="blur_8cpp.html#2474a5474cbff19523a51eb1de01cda4">width</a>() / 2) )
<a name="l01295"></a>01295     <a class="code" href="classTitleWidget.html#87d88075b08321a84377f58eff477a7c" title="Sets the Album Image.">setAlbumImage</a>();
<a name="l01296"></a>01296   <span class="keywordflow">else</span>
<a name="l01297"></a>01297     <a class="code" href="classTitleWidget.html#ac9c9d9fca153ad5a6d3121b2659c29d" title="Sets the Subalbum Image.">setSubalbumImage</a>();
<a name="l01298"></a>01298 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="6bde1a3e098b1a00a698312b6125c086"></a><!-- doxytag: member="TitleWidget::exportLargeImages" ref="6bde1a3e098b1a00a698312b6125c086" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::exportLargeImages           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Export large images only to a new directory for printing purposes. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00800">800</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="album_8cpp_source.html#l00726">Album::exportLargeImages()</a>, <a class="el" href="fileTools_8cpp_source.html#l00137">fixFilename()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00487">getAlbum()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="album_8cpp_source.html#l00124">Album::getName()</a>, <a class="el" href="album_8cpp_source.html#l00146">Album::getNumPhotos()</a>, <a class="el" href="album_8cpp_source.html#l00141">Album::getSaveLocation()</a>, <a class="el" href="window_8cpp_source.html#l00192">Window::getStatus()</a>, <a class="el" href="configuration_8cpp_source.html#l00158">Configuration::getString()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00099">LayoutWidget::getSubalbums()</a>, <a class="el" href="album_8cpp_source.html#l00138">Album::prevSave()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, <a class="el" href="statusWidget_8cpp_source.html#l00125">StatusWidget::setStatus()</a>, <a class="el" href="statusWidget_8cpp_source.html#l00089">StatusWidget::showProgressBar()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00752">SubalbumWidget::updateButtons()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00216">SubalbumsWidget::updateButtons()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00801"></a>00801 {
<a name="l00802"></a>00802   <span class="comment">//setup dialog title and default path</span>
<a name="l00803"></a>00803   QString dialogTitle = tr( <span class="stringliteral">"Export Large Images"</span> );
<a name="l00804"></a>00804 
<a name="l00805"></a>00805   <span class="comment">//new directory name in which all images will be contained</span>
<a name="l00806"></a>00806   QString newDir;
<a name="l00807"></a>00807   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;prevSave())
<a name="l00808"></a>00808   { newDir = QDir( <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;getSaveLocation() ).dirName() + <span class="stringliteral">"_IMAGES"</span>; }
<a name="l00809"></a>00809   <span class="keywordflow">else</span>
<a name="l00810"></a>00810   { newDir = <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#f10928e547a4403df72008364544cea6" title="Gets the album name.">getName</a>() + <span class="stringliteral">"_IMAGES"</span>; }
<a name="l00811"></a>00811   newDir = <a class="code" href="fileTools_8cpp.html#1fe04c01b9364448467257879e4ba5ff" title="Replaces invalid characters in filenames with valid ones.">fixFilename</a>( newDir );
<a name="l00812"></a>00812   
<a name="l00813"></a>00813   <span class="comment">//get filename from user</span>
<a name="l00814"></a>00814   <a class="code" href="classQFileDialog.html">QFileDialog</a>* fd = <span class="keyword">new</span> <a class="code" href="classQFileDialog.html">QFileDialog</a>( <span class="keyword">this</span>, <span class="stringliteral">"file dialog"</span>, TRUE );
<a name="l00815"></a>00815   fd-&gt;setCaption( tr(<span class="stringliteral">"Export Location"</span>) );
<a name="l00816"></a>00816   fd-&gt;setMode( QFileDialog::DirectoryOnly );
<a name="l00817"></a>00817   fd-&gt;setDir( <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"loadSaveDir"</span> ) );
<a name="l00818"></a>00818   
<a name="l00819"></a>00819   <span class="comment">//user canceled operation</span>
<a name="l00820"></a>00820   <span class="keywordflow">if</span> ( !fd-&gt;exec() == QDialog::Accepted ) { <span class="keywordflow">return</span>; }
<a name="l00821"></a>00821 
<a name="l00822"></a>00822   <span class="comment">//get export path</span>
<a name="l00823"></a>00823   QString exportPath = QDir::convertSeparators( fd-&gt;selectedFile() + <span class="stringliteral">"/"</span> + newDir );
<a name="l00824"></a>00824 
<a name="l00825"></a>00825   <span class="comment">//check to make sure the album is not in this location, if so raise red flag and abort!!</span>
<a name="l00826"></a>00826   <span class="keywordflow">if</span>( <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#dbd287d504ec319c454132c549dfdf6d" title="Returns true if album previously saved to disk.">prevSave</a>() &amp;&amp; <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#d00fd15f7683622ffc3d2cef1fe3f9ca" title="Returns the current save location of all images.">getSaveLocation</a>().compare( exportPath ) == 0 )
<a name="l00827"></a>00827   {
<a name="l00828"></a>00828     QString errorMessage = tr(<span class="stringliteral">"Error! Cannot export to album location on disk!"</span>);
<a name="l00829"></a>00829     QString errorDesc = tr(<span class="stringliteral">"Exporting large images to the same location the album is stored will corrupt it and is not allowed. Try using the default location when exporting images, or chose a different directory."</span>);
<a name="l00830"></a>00830     <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( errorMessage, errorDesc,
<a name="l00831"></a>00831                        <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l00832"></a>00832     alert.exec();
<a name="l00833"></a>00833     <span class="keywordflow">return</span>;
<a name="l00834"></a>00834   }
<a name="l00835"></a>00835 
<a name="l00836"></a>00836   <span class="comment">//otherwise check if directory already exists, if so warn user and ask before proceeding</span>
<a name="l00837"></a>00837   QDir tmpDir;
<a name="l00838"></a>00838   <span class="keywordflow">if</span>(tmpDir.exists( exportPath ) )
<a name="l00839"></a>00839   {
<a name="l00840"></a>00840     QString warningMessage = 
<a name="l00841"></a>00841     QString(tr(<span class="stringliteral">"Warning! A directory named %1 already exists in %2. Continue with export?"</span>)).arg
<a name="l00842"></a>00842     ( newDir ).arg( fd-&gt;selectedFile() );
<a name="l00843"></a>00843     
<a name="l00844"></a>00844     <a class="code" href="classQuestionDialog.html" title="A configurable question dialog that returns true/false.">QuestionDialog</a> sure( tr(<span class="stringliteral">"Directory Exists!"</span>),
<a name="l00845"></a>00845                          warningMessage, <span class="stringliteral">"alertIcons/warning.png"</span>,
<a name="l00846"></a>00846                          <span class="keyword">this</span> );
<a name="l00847"></a>00847     <span class="keywordflow">if</span>(!sure.exec()) { <span class="keywordflow">return</span>; }
<a name="l00848"></a>00848   }    
<a name="l00849"></a>00849   <span class="comment">//else create directory</span>
<a name="l00850"></a>00850   <span class="keywordflow">else</span>
<a name="l00851"></a>00851   {
<a name="l00852"></a>00852     <span class="keywordflow">if</span>( !tmpDir.mkdir( exportPath ) )
<a name="l00853"></a>00853     {
<a name="l00854"></a>00854       <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( tr(<span class="stringliteral">"Error creating directory!"</span>),
<a name="l00855"></a>00855                          tr(<span class="stringliteral">"Unable to create directory to export images to.Perhaps you are running out of disk space or you don't have sufficient privileges?"</span>),
<a name="l00856"></a>00856                            <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l00857"></a>00857       alert.exec();
<a name="l00858"></a>00858       <span class="keywordflow">return</span>;
<a name="l00859"></a>00859     }
<a name="l00860"></a>00860   }
<a name="l00861"></a>00861 
<a name="l00862"></a>00862   <span class="comment">//set busy flag and disable buttons</span>
<a name="l00863"></a>00863   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">true</span>);
<a name="l00864"></a>00864   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l00865"></a>00865   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l00866"></a>00866     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l00867"></a>00867   qApp-&gt;setOverrideCursor( QCursor(Qt::WaitCursor));
<a name="l00868"></a>00868 
<a name="l00869"></a>00869   <span class="comment">//setup progress bar</span>
<a name="l00870"></a>00870   <span class="keywordtype">int</span> numPhotos = <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#b804bb42d0657f68b9ee4a695c3a775b" title="Returns the number of photos.">getNumPhotos</a>();  
<a name="l00871"></a>00871   QString exportMessage = tr( <span class="stringliteral">"Exporting %1 photos"</span> );
<a name="l00872"></a>00872   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>()-&gt;<a class="code" href="classStatusWidget.html#57d461014070b9d651c36bd157cab9c1" title="Initializes the progress bar.">showProgressBar</a>( exportMessage.arg(numPhotos), numPhotos );
<a name="l00873"></a>00873   qApp-&gt;processEvents();
<a name="l00874"></a>00874   
<a name="l00875"></a>00875   <span class="comment">//export large images</span>
<a name="l00876"></a>00876   <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#634db482cc84c300952f430acd37b6fc" title="Export fullsize images (excludes slideshow and thumbnail images, album and collection...">exportLargeImages</a>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>(), exportPath, exportMessage);  
<a name="l00877"></a>00877 
<a name="l00878"></a>00878   <span class="comment">//remove progress bar</span>
<a name="l00879"></a>00879   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>()-&gt;<a class="code" href="classStatusWidget.html#02084869ff1c15dab4bc922a49b31808" title="Update message.">setStatus</a>( tr(<span class="stringliteral">"Exporting photos complete."</span>) );
<a name="l00880"></a>00880 
<a name="l00881"></a>00881   <span class="comment">//nolonger busy</span>
<a name="l00882"></a>00882   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">false</span>);
<a name="l00883"></a>00883   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l00884"></a>00884   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l00885"></a>00885     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l00886"></a>00886   qApp-&gt;restoreOverrideCursor();
<a name="l00887"></a>00887 }
</pre></div>
<p>

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

<p>
Export small web gallery (excludes full size images and Album.xml file). 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00700">700</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="album_8cpp_source.html#l00616">Album::exportCompressedWebAlbum()</a>, <a class="el" href="fileTools_8cpp_source.html#l00137">fixFilename()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00487">getAlbum()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="album_8cpp_source.html#l00124">Album::getName()</a>, <a class="el" href="album_8cpp_source.html#l00146">Album::getNumPhotos()</a>, <a class="el" href="album_8cpp_source.html#l00141">Album::getSaveLocation()</a>, <a class="el" href="window_8cpp_source.html#l00192">Window::getStatus()</a>, <a class="el" href="configuration_8cpp_source.html#l00158">Configuration::getString()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00099">LayoutWidget::getSubalbums()</a>, <a class="el" href="album_8cpp_source.html#l00138">Album::prevSave()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, <a class="el" href="statusWidget_8cpp_source.html#l00125">StatusWidget::setStatus()</a>, <a class="el" href="statusWidget_8cpp_source.html#l00089">StatusWidget::showProgressBar()</a>, <a class="el" href="saveDialog_8cpp_source.html#l00293">SaveDialog::themeAvailable()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00752">SubalbumWidget::updateButtons()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00216">SubalbumsWidget::updateButtons()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00701"></a>00701 {
<a name="l00702"></a>00702   <span class="comment">//if the Album's theme is not currently available alert user and bail</span>
<a name="l00703"></a>00703   <span class="keywordflow">if</span>(!<a class="code" href="classSaveDialog.html#357bd144253afb839226aa3929b5ad18">SaveDialog::themeAvailable</a>( <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;getTheme() ))
<a name="l00704"></a>00704   {
<a name="l00705"></a>00705     <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( tr(<span class="stringliteral">"Previous theme not available!"</span>),
<a name="l00706"></a>00706                        QString(tr(<span class="stringliteral">"Theme previously used to save this album not available on this machine. Before exporting the %1 theme must be installed, or the album must be resaved using a different theme."</span>)).arg( <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;getTheme() ),
<a name="l00707"></a>00707                         <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l00708"></a>00708     alert.exec();
<a name="l00709"></a>00709     <span class="keywordflow">return</span>;
<a name="l00710"></a>00710   }
<a name="l00711"></a>00711   
<a name="l00712"></a>00712   
<a name="l00713"></a>00713   <span class="comment">//setup dialog title and default path</span>
<a name="l00714"></a>00714   QString dialogTitle = tr( <span class="stringliteral">"Export Small Web Gallery"</span> );
<a name="l00715"></a>00715   
<a name="l00716"></a>00716   <span class="comment">//new directory name in which all images will be contained</span>
<a name="l00717"></a>00717   QString newDir;
<a name="l00718"></a>00718   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;prevSave())
<a name="l00719"></a>00719   { newDir = QDir( <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;getSaveLocation() ).dirName() + <span class="stringliteral">"_WEB"</span>; }
<a name="l00720"></a>00720   <span class="keywordflow">else</span>
<a name="l00721"></a>00721   { newDir = <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#f10928e547a4403df72008364544cea6" title="Gets the album name.">getName</a>() + <span class="stringliteral">"_WEB"</span>; }
<a name="l00722"></a>00722   newDir = <a class="code" href="fileTools_8cpp.html#1fe04c01b9364448467257879e4ba5ff" title="Replaces invalid characters in filenames with valid ones.">fixFilename</a>( newDir );
<a name="l00723"></a>00723   
<a name="l00724"></a>00724   <span class="comment">//get filename from user</span>
<a name="l00725"></a>00725   <a class="code" href="classQFileDialog.html">QFileDialog</a>* fd = <span class="keyword">new</span> <a class="code" href="classQFileDialog.html">QFileDialog</a>( <span class="keyword">this</span>, <span class="stringliteral">"file dialog"</span>, TRUE );
<a name="l00726"></a>00726   fd-&gt;setCaption( tr(<span class="stringliteral">"Export Location"</span>) );
<a name="l00727"></a>00727   fd-&gt;setMode( QFileDialog::DirectoryOnly );
<a name="l00728"></a>00728   fd-&gt;setDir( <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"loadSaveDir"</span> ) );
<a name="l00729"></a>00729   
<a name="l00730"></a>00730   <span class="comment">//user canceled operation</span>
<a name="l00731"></a>00731   <span class="keywordflow">if</span> ( !fd-&gt;exec() == QDialog::Accepted ) { <span class="keywordflow">return</span>; }
<a name="l00732"></a>00732   
<a name="l00733"></a>00733   <span class="comment">//get export path</span>
<a name="l00734"></a>00734   QString exportPath = QDir::convertSeparators( fd-&gt;selectedFile() + <span class="stringliteral">"/"</span> + newDir );
<a name="l00735"></a>00735   
<a name="l00736"></a>00736   <span class="comment">//check to make sure the album is not in this location, if so raise red flag and abort!!</span>
<a name="l00737"></a>00737   <span class="keywordflow">if</span>( <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#dbd287d504ec319c454132c549dfdf6d" title="Returns true if album previously saved to disk.">prevSave</a>() &amp;&amp; <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#d00fd15f7683622ffc3d2cef1fe3f9ca" title="Returns the current save location of all images.">getSaveLocation</a>().compare( exportPath ) == 0 )
<a name="l00738"></a>00738   {
<a name="l00739"></a>00739     QString errorMessage = tr(<span class="stringliteral">"Error! Cannot export to album location on disk!"</span>);
<a name="l00740"></a>00740     QString errorDesc = tr(<span class="stringliteral">"Exporting small web galleries to the same location the album is stored will corrupt it and is not allowed. Try using the default location when exporting images, or chose a different directory."</span>);
<a name="l00741"></a>00741     <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( errorMessage, errorDesc,
<a name="l00742"></a>00742                        <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l00743"></a>00743     alert.exec();
<a name="l00744"></a>00744     <span class="keywordflow">return</span>;
<a name="l00745"></a>00745   }
<a name="l00746"></a>00746   
<a name="l00747"></a>00747   <span class="comment">//otherwise check if directory already exists, if so warn user and ask before proceeding</span>
<a name="l00748"></a>00748   QDir tmpDir;
<a name="l00749"></a>00749   <span class="keywordflow">if</span>(tmpDir.exists( exportPath ) )
<a name="l00750"></a>00750   {
<a name="l00751"></a>00751     QString warningMessage = 
<a name="l00752"></a>00752     QString(tr(<span class="stringliteral">"Warning! A directory named %1 already exists in %2. Continue with export?"</span>)).arg
<a name="l00753"></a>00753     ( newDir ).arg( fd-&gt;selectedFile() );
<a name="l00754"></a>00754     
<a name="l00755"></a>00755     <a class="code" href="classQuestionDialog.html" title="A configurable question dialog that returns true/false.">QuestionDialog</a> sure( tr(<span class="stringliteral">"Directory Exists!"</span>),
<a name="l00756"></a>00756                          warningMessage, <span class="stringliteral">"alertIcons/warning.png"</span>,
<a name="l00757"></a>00757                          <span class="keyword">this</span> );
<a name="l00758"></a>00758     <span class="keywordflow">if</span>(!sure.exec()) { <span class="keywordflow">return</span>; }
<a name="l00759"></a>00759   }    
<a name="l00760"></a>00760   <span class="comment">//else create directory</span>
<a name="l00761"></a>00761   <span class="keywordflow">else</span>
<a name="l00762"></a>00762   {
<a name="l00763"></a>00763     <span class="keywordflow">if</span>( !tmpDir.mkdir( exportPath ) )
<a name="l00764"></a>00764     {
<a name="l00765"></a>00765       <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( tr(<span class="stringliteral">"Error creating directory!"</span>),
<a name="l00766"></a>00766                          tr(<span class="stringliteral">"Unable to create directory to export images to. Perhaps you are running out of disk space or you don't have sufficient privileges?"</span>),
<a name="l00767"></a>00767                          <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l00768"></a>00768       alert.exec();
<a name="l00769"></a>00769       <span class="keywordflow">return</span>;
<a name="l00770"></a>00770     }
<a name="l00771"></a>00771   }
<a name="l00772"></a>00772   
<a name="l00773"></a>00773   <span class="comment">//set busy flag and disable buttons</span>
<a name="l00774"></a>00774   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">true</span>);
<a name="l00775"></a>00775   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l00776"></a>00776   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l00777"></a>00777     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l00778"></a>00778   qApp-&gt;setOverrideCursor( QCursor(Qt::WaitCursor));
<a name="l00779"></a>00779   
<a name="l00780"></a>00780   <span class="comment">//setup progress bar</span>
<a name="l00781"></a>00781   <span class="keywordtype">int</span> numPhotos = <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#b804bb42d0657f68b9ee4a695c3a775b" title="Returns the number of photos.">getNumPhotos</a>();  
<a name="l00782"></a>00782   QString exportMessage = tr( <span class="stringliteral">"Exporting %1 photos to web gallery"</span> );
<a name="l00783"></a>00783   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>()-&gt;<a class="code" href="classStatusWidget.html#57d461014070b9d651c36bd157cab9c1" title="Initializes the progress bar.">showProgressBar</a>( exportMessage.arg(numPhotos), numPhotos );
<a name="l00784"></a>00784   qApp-&gt;processEvents();
<a name="l00785"></a>00785   
<a name="l00786"></a>00786   <span class="comment">//export large images</span>
<a name="l00787"></a>00787   <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#8135dd91b3a4351f613bc7251da66ee5" title="Export a compressed web album (excludes full size images and xml data).">exportCompressedWebAlbum</a>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>(), exportPath, exportMessage);  
<a name="l00788"></a>00788   
<a name="l00789"></a>00789   <span class="comment">//remove progress bar</span>
<a name="l00790"></a>00790   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>()-&gt;<a class="code" href="classStatusWidget.html#02084869ff1c15dab4bc922a49b31808" title="Update message.">setStatus</a>( tr(<span class="stringliteral">"Exporting photos complete."</span>) );
<a name="l00791"></a>00791   
<a name="l00792"></a>00792   <span class="comment">//nolonger busy</span>
<a name="l00793"></a>00793   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">false</span>);
<a name="l00794"></a>00794   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l00795"></a>00795   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l00796"></a>00796     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l00797"></a>00797   qApp-&gt;restoreOverrideCursor();
<a name="l00798"></a>00798 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="13e859247711ac55672705c663d793a4"></a><!-- doxytag: member="TitleWidget::getAlbum" ref="13e859247711ac55672705c663d793a4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAlbum.html">Album</a> * TitleWidget::getAlbum           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a pointer to the album object. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00487">487</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>.</p>

<p>Referenced by <a class="el" href="window_8cpp_source.html#l00202">Window::closeEvent()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00123">SubalbumsWidget::createAction()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00139">SubalbumsWidget::deleteAction()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00800">exportLargeImages()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00700">exportSmallWebGallery()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00239">SubalbumsWidget::refreshCollectionsList()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00205">SubalbumsWidget::reorder()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00488"></a>00488 {
<a name="l00489"></a>00489   <span class="keywordflow">return</span> <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>;
<a name="l00490"></a>00490 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="a838a5981f04cfdf6de35c119b6141a8"></a><!-- doxytag: member="TitleWidget::getBusy" ref="a838a5981f04cfdf6de35c119b6141a8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TitleWidget::getBusy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
is program busy? 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01246">1246</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00276">busy</a>.</p>

<p>Referenced by <a class="el" href="subalbumsWidget_8cpp_source.html#l00273">SubalbumsWidget::handleSelectionAttempt()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01247"></a>01247 {
<a name="l01248"></a>01248   <span class="keywordflow">return</span> <a class="code" href="classTitleWidget.html#f099ad78e415588fd752299d4d89b1ad" title="Is the program currently busy? helps block other operations.">busy</a>;
<a name="l01249"></a>01249 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="2a0da317e4152e366dd459ee9ebf54cb"></a><!-- doxytag: member="TitleWidget::getRecentAlbums" ref="2a0da317e4152e366dd459ee9ebf54cb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRecentAlbums.html">RecentAlbums</a> * TitleWidget::getRecentAlbums           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns handle to recent albums object 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01540">1540</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>.</p>

<p>Referenced by <a class="el" href="window_8cpp_source.html#l00152">Window::~Window()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01541"></a>01541 {
<a name="l01542"></a>01542   <span class="keywordflow">return</span> &amp;<a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>; 
<a name="l01543"></a>01543 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="b89ce3c1d7a29c92eb52d6f9ffe1050c"></a><!-- doxytag: member="TitleWidget::help" ref="b89ce3c1d7a29c92eb52d6f9ffe1050c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::help           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pops up <a class="el" href="classHelpWindow.html" title="Help window widget.">HelpWindow</a>. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01206">1206</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="guiTools_8cpp_source.html#l00025">centerWindow()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01234">helpClosed()</a>, and <a class="el" href="titleWidget_8h_source.html#l00273">helpWindow</a>.</p>

<p>Referenced by <a class="el" href="welcomeWindow_8cpp_source.html#l00124">WelcomeWindow::itemClicked()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01207"></a>01207 {
<a name="l01208"></a>01208   <span class="comment">//create window and center if not already present</span>
<a name="l01209"></a>01209   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a> == NULL)
<a name="l01210"></a>01210   {
<a name="l01211"></a>01211     <a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a> = <span class="keyword">new</span> <a class="code" href="classHelpWindow.html" title="Help window widget.">HelpWindow</a>(0);
<a name="l01212"></a>01212     connect( <a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a>, SIGNAL(closed()),
<a name="l01213"></a>01213              <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#7e17c7288a5a96de491ebaae9db6abe9" title="Frees HelpWindow once closed.">helpClosed</a>()));
<a name="l01214"></a>01214     <a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a>-&gt;show();
<a name="l01215"></a>01215     <a class="code" href="guiTools_8cpp.html#83ad2663db4147621f3ff0007e27bbdb">centerWindow</a>(<a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a>);
<a name="l01216"></a>01216   }
<a name="l01217"></a>01217 
<a name="l01218"></a>01218   <a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a>-&gt;raise();
<a name="l01219"></a>01219   <a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a>-&gt;setActiveWindow();
<a name="l01220"></a>01220 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="7e17c7288a5a96de491ebaae9db6abe9"></a><!-- doxytag: member="TitleWidget::helpClosed" ref="7e17c7288a5a96de491ebaae9db6abe9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::helpClosed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Frees <a class="el" href="classHelpWindow.html" title="Help window widget.">HelpWindow</a> once closed. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01234">1234</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00273">helpWindow</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01206">help()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01235"></a>01235 {
<a name="l01236"></a>01236   <span class="keyword">delete</span> <a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a>;
<a name="l01237"></a>01237   <a class="code" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30" title="HelpWindow pointer.">helpWindow</a> = NULL;
<a name="l01238"></a>01238 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="b6bc3568921e66ab05fe48a9fa442d2d"></a><!-- doxytag: member="TitleWidget::loadAlbum" ref="b6bc3568921e66ab05fe48a9fa442d2d" args="(QString location)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::loadAlbum           </td>
          <td>(</td>
          <td class="paramtype">QString&nbsp;</td>
          <td class="paramname"> <em>location</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Loads a specified album. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00889">889</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="album_8h_source.html#l00020">ALBUM_LOADED</a>, <a class="el" href="album_8h_source.html#l00021">ALBUM_READ_ERROR</a>, <a class="el" href="album_8h_source.html#l00022">ALBUM_XML_ERROR</a>, <a class="el" href="titleWidget_8cpp_source.html#l01300">createTmpDir()</a>, <a class="el" href="titleWidget_8h_source.html#l00208">file</a>, <a class="el" href="configuration_8cpp_source.html#l00206">Configuration::getBool()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="album_8cpp_source.html#l00135">Album::getFirstSubalbum()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="album_8cpp_source.html#l00124">Album::getName()</a>, <a class="el" href="album_8cpp_source.html#l00146">Album::getNumPhotos()</a>, <a class="el" href="album_8cpp_source.html#l00141">Album::getSaveLocation()</a>, <a class="el" href="window_8cpp_source.html#l00192">Window::getStatus()</a>, <a class="el" href="configuration_8cpp_source.html#l00158">Configuration::getString()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00099">LayoutWidget::getSubalbums()</a>, <a class="el" href="album_8cpp_source.html#l00142">Album::getTmpDir()</a>, <a class="el" href="statusWidget_8cpp_source.html#l00242">StatusWidget::grabInput()</a>, <a class="el" href="album_8cpp_source.html#l00295">Album::importFromDisk()</a>, <a class="el" href="recentAlbums_8cpp_source.html#l00049">RecentAlbums::insertEntry()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01272">quitApplication()</a>, <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>, <a class="el" href="titleWidget_8cpp_source.html#l00566">refresh()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>, <a class="el" href="statusWidget_8cpp_source.html#l00248">StatusWidget::releaseInput()</a>, <a class="el" href="ALabel_8cpp_source.html#l00132">ALabel::removePixmap()</a>, <a class="el" href="titleWidget_8h_source.html#l00286">REVERT_TO_SAVED_ALBUM</a>, <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, <a class="el" href="album_8cpp_source.html#l01418">Album::setModified()</a>, <a class="el" href="configuration_8cpp_source.html#l00116">Configuration::setString()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00219">SubalbumWidget::setSubalbum()</a>, <a class="el" href="titleWidget_8h_source.html#l00250">subalbumAnnotationFrame</a>, <a class="el" href="titleWidget_8h_source.html#l00251">subalbumImage</a>, <a class="el" href="titleWidget_8h_source.html#l00302">tmpDirErrorDesc</a>, <a class="el" href="titleWidget_8h_source.html#l00302">tmpDirErrorMessage</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00752">SubalbumWidget::updateButtons()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00216">SubalbumsWidget::updateButtons()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01545">updateMenus()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00890"></a>00890 {
<a name="l00891"></a>00891   <span class="comment">//disable user input</span>
<a name="l00892"></a>00892   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>()-&gt;<a class="code" href="classStatusWidget.html#b9b7a539b643bbd3efade444a9f63b58">grabInput</a>();
<a name="l00893"></a>00893   
<a name="l00894"></a>00894   <span class="comment">//enable busy cursor, set busy flag, and deactivate buttons</span>
<a name="l00895"></a>00895   qApp-&gt;setOverrideCursor( QCursor(Qt::WaitCursor));
<a name="l00896"></a>00896   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">true</span>);
<a name="l00897"></a>00897   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l00898"></a>00898   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l00899"></a>00899     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l00900"></a>00900 
<a name="l00901"></a>00901   <span class="comment">//store load/save location</span>
<a name="l00902"></a>00902   QDir lastDir = QDir( QFileInfo(albumXML).dirPath() );
<a name="l00903"></a>00903   lastDir.cdUp();
<a name="l00904"></a>00904   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#cc6935858bf26f6d44c78401fc93d975" title="Sets a setting value, if group does not exist it is created, if setting does not...">setString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"loadSaveDir"</span>, lastDir.path() );
<a name="l00905"></a>00905  
<a name="l00906"></a>00906   <span class="comment">//create a new album (with no subalbums, hense false)</span>
<a name="l00907"></a>00907   <span class="keyword">delete</span> <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>;
<a name="l00908"></a>00908 
<a name="l00909"></a>00909   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a> = <span class="keyword">new</span> <a class="code" href="classAlbum.html" title="An album contains Subalbums.">Album</a>( <a class="code" href="classTitleWidget.html#0a2de987e3ea2692c960e24c7cc26a84">createTmpDir</a>( QFileInfo(albumXML).dirPath() ), <span class="keyword">false</span> );
<a name="l00910"></a>00910   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#a7000c4e580d93ccb7a3fdbc84e49952" title="Returns the temporary directory for use when modifying and adding new images.">getTmpDir</a>().isNull() )
<a name="l00911"></a>00911   {
<a name="l00912"></a>00912       <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( <a class="code" href="classTitleWidget.html#7fa66ec0a165452e8332d408604e1d51" title="error message and description when temp directory cannot be created">tmpDirErrorMessage</a>, <a class="code" href="classTitleWidget.html#15029f6831037063892ec6da9ccb028e">tmpDirErrorDesc</a> + <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"tempImageDirectory"</span> ),
<a name="l00913"></a>00913       <span class="stringliteral">"alertIcons/warning.png"</span>, this );
<a name="l00914"></a>00914       alert.exec();
<a name="l00915"></a>00915       <a class="code" href="classTitleWidget.html#6fb2abfef7bb6bc4d2ad0a76737e294f" title="Quit slot.">quitApplication</a>();
<a name="l00916"></a>00916   }
<a name="l00917"></a>00917 
<a name="l00918"></a>00918   <span class="comment">//attempt to load xml file</span>
<a name="l00919"></a>00919   <span class="keywordtype">int</span> errorCode = <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#311fd8ded5e426cd27b695b3f88f2764" title="Imports album from XML format, returning int indicates success or not.">importFromDisk</a>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>(), albumXML,
<a name="l00920"></a>00920                                        <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#0d92de22ace3b90de4d73b6b32468a42" title="Fetch bool setting.">getBool</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"disableCheckPhotoMods"</span> ) );
<a name="l00921"></a>00921 
<a name="l00922"></a>00922   <span class="comment">//if no subalbums in album then hide subalbum annotations</span>
<a name="l00923"></a>00923   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#0870f79ed21521222c97a704bad0d50f" title="Returns a pointer to the first Subalbum.">getFirstSubalbum</a>() == NULL)
<a name="l00924"></a>00924   {
<a name="l00925"></a>00925     <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>-&gt;hide();
<a name="l00926"></a>00926     <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>-&gt;<a class="code" href="classALabel.html#e0b0ff246381ec3d2da4e1710ad885c1" title="animates removing an image">removePixmap</a>(<span class="keyword">true</span>);
<a name="l00927"></a>00927   }
<a name="l00928"></a>00928   
<a name="l00929"></a>00929   <span class="comment">//reset editing interface since old pointers are invalid</span>
<a name="l00930"></a>00930   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1ab4edd806312f51d5fc421ca2f69770" title="Resets the subalbum this subalbum widget is displaying.">setSubalbum</a>( NULL );
<a name="l00931"></a>00931   <a class="code" href="classTitleWidget.html#d231df5a884787da98e7755a9cf960c3" title="Refreshs data from backend objects.">refresh</a>();
<a name="l00932"></a>00932 
<a name="l00933"></a>00933   <span class="comment">//set album as not modified</span>
<a name="l00934"></a>00934   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#93ca31d42cb8ba9a9d07f5a01a090def" title="Sets the album as modified.">setModified</a>(<span class="keyword">false</span>);
<a name="l00935"></a>00935     
<a name="l00936"></a>00936   <span class="comment">//update recent albums listing</span>
<a name="l00937"></a>00937   <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#85a976a736d0b794f2469fd5029f495b">insertEntry</a>( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#f10928e547a4403df72008364544cea6" title="Gets the album name.">getName</a>(), <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#d00fd15f7683622ffc3d2cef1fe3f9ca" title="Returns the current save location of all images.">getSaveLocation</a>(), 
<a name="l00938"></a>00938                            QString(<span class="stringliteral">"%1"</span>).arg(<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#b804bb42d0657f68b9ee4a695c3a775b" title="Returns the number of photos.">getNumPhotos</a>()), <span class="keyword">false</span> );
<a name="l00939"></a>00939   <a class="code" href="classTitleWidget.html#5d2a106930e035792193c52d63b617dc" title="Refreshes open recent menu.">refreshOpenRecentMenu</a>();  
<a name="l00940"></a>00940   
<a name="l00941"></a>00941   <span class="comment">//nolonger busy</span>
<a name="l00942"></a>00942   qApp-&gt;restoreOverrideCursor();
<a name="l00943"></a>00943   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">false</span>);
<a name="l00944"></a>00944   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l00945"></a>00945   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l00946"></a>00946     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l00947"></a>00947 
<a name="l00948"></a>00948   <span class="comment">//enable user input</span>
<a name="l00949"></a>00949   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>()-&gt;<a class="code" href="classStatusWidget.html#286c1c7b47ba6b0727f5480bb47275bb">releaseInput</a>(); 
<a name="l00950"></a>00950   
<a name="l00951"></a>00951   <span class="comment">//load successful</span>
<a name="l00952"></a>00952   <span class="keywordflow">if</span>(errorCode == <a class="code" href="album_8h.html#2d624d1062a25d1b96526a477c6d0be8">ALBUM_LOADED</a>)
<a name="l00953"></a>00953   {
<a name="l00954"></a>00954     <span class="comment">//enable "revert" menu option</span>
<a name="l00955"></a>00955     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#cb1bc5b77c337250d40714a4e05d22b7">REVERT_TO_SAVED_ALBUM</a>, <span class="keyword">true</span> );    
<a name="l00956"></a>00956 
<a name="l00957"></a>00957     <span class="comment">//update presentation command based on if there are photos in this album</span>
<a name="l00958"></a>00958     <a class="code" href="classTitleWidget.html#857e73e3c89bcb5091bba375255649a9" title="update begin presentation menu entry - disabled when no photos in album">updateMenus</a>();
<a name="l00959"></a>00959   }
<a name="l00960"></a>00960   <span class="comment">//else display appropriate error message</span>
<a name="l00961"></a>00961   <span class="keywordflow">else</span>
<a name="l00962"></a>00962   {  
<a name="l00963"></a>00963     QString errorMessage, errorDescription;
<a name="l00964"></a>00964     <span class="keywordflow">if</span>(errorCode == <a class="code" href="album_8h.html#088ac0181a21f6fb1142a5804b9f1cd9">ALBUM_READ_ERROR</a>)
<a name="l00965"></a>00965     {
<a name="l00966"></a>00966       errorMessage = tr(<span class="stringliteral">"Unable to open file!"</span>);
<a name="l00967"></a>00967       errorDescription = tr(<span class="stringliteral">"An error was encountered attempting to load the XML file. Perhaps you do not have read access?"</span>);
<a name="l00968"></a>00968     }
<a name="l00969"></a>00969     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(errorCode == <a class="code" href="album_8h.html#b40270ca022b24c5a013d7bc61585d81">ALBUM_XML_ERROR</a>)
<a name="l00970"></a>00970     {
<a name="l00971"></a>00971       errorMessage = tr(<span class="stringliteral">"Unable to construct DOM!"</span>);
<a name="l00972"></a>00972       errorDescription = tr(<span class="stringliteral">"The XML file you selected is not valid XML."</span>);
<a name="l00973"></a>00973     }
<a name="l00974"></a>00974     <span class="keywordflow">else</span>
<a name="l00975"></a>00975     {
<a name="l00976"></a>00976       errorMessage = tr(<span class="stringliteral">"Unknown loading error!"</span>);
<a name="l00977"></a>00977       errorDescription = tr(<span class="stringliteral">"An unknown error was encountered loading the specified file."</span>);
<a name="l00978"></a>00978     }
<a name="l00979"></a>00979 
<a name="l00980"></a>00980     <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( errorMessage, errorDescription, <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l00981"></a>00981     alert.exec();
<a name="l00982"></a>00982   }
<a name="l00983"></a>00983 }
</pre></div>
<p>

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

<p>
Loads an album specified with file chooser. 
<p>

<p>
make sure we want to proceed 
<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00621">621</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="configuration_8cpp_source.html#l00158">Configuration::getString()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00659">proceedWithLoad()</a>, <a class="el" href="configuration_8cpp_source.html#l00182">Configuration::resetSetting()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00648">loadRecentAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00676">revertToSaved()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00622"></a>00622 {
<a name="l00624"></a>00624   <span class="keywordflow">if</span>(!<a class="code" href="classTitleWidget.html#6e78a120b9fff7474cffb6dd5b535ece" title="Helper function for load methods, checks if there are any unsaved changes and if...">proceedWithLoad</a>())
<a name="l00625"></a>00625     <span class="keywordflow">return</span>;
<a name="l00626"></a>00626 
<a name="l00627"></a>00627   QString path = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"loadSaveDir"</span> );
<a name="l00628"></a>00628   QDir testPath(path);
<a name="l00629"></a>00629   <span class="keywordflow">if</span>(!testPath.exists())
<a name="l00630"></a>00630   {
<a name="l00631"></a>00631     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#ea454423722c57c7c47a2703c5fac88f" title="Resets a setting to it&amp;#39;s default value.">resetSetting</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"loadSaveDir"</span> );
<a name="l00632"></a>00632     path = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"loadSaveDir"</span> );
<a name="l00633"></a>00633   }
<a name="l00634"></a>00634   
<a name="l00635"></a>00635   QString albumXML = QFileDialog::getOpenFileName( path,
<a name="l00636"></a>00636                                                    tr(<span class="stringliteral">"XML Files (*.xml)"</span>),
<a name="l00637"></a>00637                                                    <span class="keyword">this</span>,
<a name="l00638"></a>00638                                                    <span class="stringliteral">"open file dialog"</span>,
<a name="l00639"></a>00639                                                    tr(<span class="stringliteral">"Choose an album to load"</span>) );
<a name="l00640"></a>00640   
<a name="l00641"></a>00641   <span class="comment">//if null bail</span>
<a name="l00642"></a>00642   <span class="keywordflow">if</span>(albumXML.isNull()) <span class="keywordflow">return</span>;
<a name="l00643"></a>00643   
<a name="l00644"></a>00644   <span class="comment">//attempt to load album</span>
<a name="l00645"></a>00645   <a class="code" href="classTitleWidget.html#cb2fd15266ce847257a83b65a301c4d3" title="Loads an album specified with file chooser.">loadAlbum</a>( albumXML );    
<a name="l00646"></a>00646 }  
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="2beba77947ee507975e0840e8592b3d9"></a><!-- doxytag: member="TitleWidget::loadRecentAlbum" ref="2beba77947ee507975e0840e8592b3d9" args="(int index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::loadRecentAlbum           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>index</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Loads a recent album. 
<p>

<p>
make sure we want to proceed 
<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00648">648</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="recentAlbums_8cpp_source.html#l00042">RecentAlbums::getEntry()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00621">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00659">proceedWithLoad()</a>, and <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01368">populateOpenRecentMenu()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00649"></a>00649 {
<a name="l00651"></a>00651   <span class="keywordflow">if</span>(!<a class="code" href="classTitleWidget.html#6e78a120b9fff7474cffb6dd5b535ece" title="Helper function for load methods, checks if there are any unsaved changes and if...">proceedWithLoad</a>())
<a name="l00652"></a>00652     <span class="keywordflow">return</span>;
<a name="l00653"></a>00653   <span class="comment">//load album</span>
<a name="l00654"></a>00654   QString recentName, recentLocation, recentPhotoCount;
<a name="l00655"></a>00655   <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#42c965a7ddc3cd255c99489ce08ffd9f">getEntry</a>( index, recentName, recentLocation, recentPhotoCount );
<a name="l00656"></a>00656   <a class="code" href="classTitleWidget.html#cb2fd15266ce847257a83b65a301c4d3" title="Loads an album specified with file chooser.">loadAlbum</a>( QDir::convertSeparators( recentLocation + <span class="stringliteral">"/Album.xml"</span>) );             
<a name="l00657"></a>00657 }
</pre></div>
<p>

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

<p>
Resets to empty album. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00579">579</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="titleWidget_8h_source.html#l00240">albumImage</a>, <a class="el" href="album_8cpp_source.html#l00139">Album::albumModified()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01300">createTmpDir()</a>, <a class="el" href="titleWidget_8h_source.html#l00208">file</a>, <a class="el" href="configuration_8cpp_source.html#l00206">Configuration::getBool()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="configuration_8cpp_source.html#l00158">Configuration::getString()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="album_8cpp_source.html#l00142">Album::getTmpDir()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01272">quitApplication()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00566">refresh()</a>, <a class="el" href="ALabel_8cpp_source.html#l00132">ALabel::removePixmap()</a>, <a class="el" href="titleWidget_8h_source.html#l00286">REVERT_TO_SAVED_ALBUM</a>, <a class="el" href="album_8cpp_source.html#l01418">Album::setModified()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00219">SubalbumWidget::setSubalbum()</a>, <a class="el" href="titleWidget_8h_source.html#l00251">subalbumImage</a>, <a class="el" href="titleWidget_8h_source.html#l00302">tmpDirErrorDesc</a>, <a class="el" href="titleWidget_8h_source.html#l00302">tmpDirErrorMessage</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00580"></a>00580 {
<a name="l00581"></a>00581   <span class="comment">//if modifications exist and user wants to receive destructive action warnings,</span>
<a name="l00582"></a>00582   <span class="comment">//ask if they are sure before creating a new album</span>
<a name="l00583"></a>00583   <span class="keywordflow">if</span>( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#eaa0e1b807c47f47d96bf5e3d500e1b3" title="Returns true if album has been modified since the last save operation.">albumModified</a>() &amp;&amp; <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#0d92de22ace3b90de4d73b6b32468a42" title="Fetch bool setting.">getBool</a>( <span class="stringliteral">"alerts"</span>, <span class="stringliteral">"showDestructiveAlerts"</span> ) )
<a name="l00584"></a>00584   {
<a name="l00585"></a>00585     <a class="code" href="classQuestionDialog.html" title="A configurable question dialog that returns true/false.">QuestionDialog</a> sure( tr(<span class="stringliteral">"New album?"</span>),
<a name="l00586"></a>00586                                    tr(<span class="stringliteral">"Warning, unsaved modifications to the current album exist. Creating a new album will result in lost work. Are you sure you want to do this?"</span>),
<a name="l00587"></a>00587                                    <span class="stringliteral">"alertIcons/warning.png"</span>,
<a name="l00588"></a>00588                                    <span class="keyword">this</span> );
<a name="l00589"></a>00589     <span class="keywordflow">if</span>(!sure.exec())
<a name="l00590"></a>00590       <span class="keywordflow">return</span>;
<a name="l00591"></a>00591   }
<a name="l00592"></a>00592 
<a name="l00593"></a>00593   <span class="comment">//delete old album</span>
<a name="l00594"></a>00594   <span class="keyword">delete</span> <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>;
<a name="l00595"></a>00595 
<a name="l00596"></a>00596   <span class="comment">//create new one</span>
<a name="l00597"></a>00597   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a> = <span class="keyword">new</span> <a class="code" href="classAlbum.html" title="An album contains Subalbums.">Album</a>( <a class="code" href="classTitleWidget.html#0a2de987e3ea2692c960e24c7cc26a84">createTmpDir</a>() );
<a name="l00598"></a>00598   
<a name="l00599"></a>00599   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#a7000c4e580d93ccb7a3fdbc84e49952" title="Returns the temporary directory for use when modifying and adding new images.">getTmpDir</a>().isNull() )
<a name="l00600"></a>00600   {
<a name="l00601"></a>00601       <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( <a class="code" href="classTitleWidget.html#7fa66ec0a165452e8332d408604e1d51" title="error message and description when temp directory cannot be created">tmpDirErrorMessage</a>, <a class="code" href="classTitleWidget.html#15029f6831037063892ec6da9ccb028e">tmpDirErrorDesc</a> + <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"tempImageDirectory"</span> ),
<a name="l00602"></a>00602       <span class="stringliteral">"alertIcons/warning.png"</span>, this );
<a name="l00603"></a>00603       alert.exec();
<a name="l00604"></a>00604       <a class="code" href="classTitleWidget.html#6fb2abfef7bb6bc4d2ad0a76737e294f" title="Quit slot.">quitApplication</a>();
<a name="l00605"></a>00605   }
<a name="l00606"></a>00606 
<a name="l00607"></a>00607   <span class="comment">//refresh screen</span>
<a name="l00608"></a>00608   <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a>-&gt;<a class="code" href="classALabel.html#e0b0ff246381ec3d2da4e1710ad885c1" title="animates removing an image">removePixmap</a>();
<a name="l00609"></a>00609   <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>-&gt;<a class="code" href="classALabel.html#e0b0ff246381ec3d2da4e1710ad885c1" title="animates removing an image">removePixmap</a>(<span class="keyword">true</span>);
<a name="l00610"></a>00610 
<a name="l00611"></a>00611   <span class="comment">//disable revert menu option since there is no loaded album</span>
<a name="l00612"></a>00612   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#cb1bc5b77c337250d40714a4e05d22b7">REVERT_TO_SAVED_ALBUM</a>, <span class="keyword">false</span> );  
<a name="l00613"></a>00613   
<a name="l00614"></a>00614   <span class="comment">//reset editing interface since old pointers are invalid</span>
<a name="l00615"></a>00615   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1ab4edd806312f51d5fc421ca2f69770" title="Resets the subalbum this subalbum widget is displaying.">setSubalbum</a>( NULL );
<a name="l00616"></a>00616   <a class="code" href="classTitleWidget.html#d231df5a884787da98e7755a9cf960c3" title="Refreshs data from backend objects.">refresh</a>();
<a name="l00617"></a>00617 
<a name="l00618"></a>00618   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#93ca31d42cb8ba9a9d07f5a01a090def" title="Sets the album as modified.">setModified</a>(<span class="keyword">false</span>);
<a name="l00619"></a>00619 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="c3c8c0379624297bc1d7becc379190ba"></a><!-- doxytag: member="TitleWidget::populateOpenRecentMenu" ref="c3c8c0379624297bc1d7becc379190ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::populateOpenRecentMenu           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Populates the open recent menu with a default set of 9 items + clear. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01368">1368</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8cpp_source.html#l01359">clearOpenRecentMenu()</a>, <a class="el" href="titleWidget_8h_source.html#l00214">customRecentMenuItems</a>, <a class="el" href="recentAlbums_8cpp_source.html#l00037">RecentAlbums::getMaxItems()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00648">loadRecentAlbum()</a>, <a class="el" href="titleWidget_8h_source.html#l00213">numRecentMenuItems</a>, <a class="el" href="titleWidget_8h_source.html#l00211">openRecent</a>, <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>, and <a class="el" href="titleWidget_8h_source.html#l00212">recentMenuItems</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01369"></a>01369 {
<a name="l01370"></a>01370   <span class="keywordtype">int</span> maxItems = <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#294c4ca6e52cf3fd35e259b55d03eab9">getMaxItems</a>();
<a name="l01371"></a>01371   <a class="code" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">numRecentMenuItems</a> = maxItems + 2; <span class="comment">//+2 for seperator and clear entry</span>
<a name="l01372"></a>01372   <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a> = <span class="keyword">new</span> <span class="keywordtype">int</span>[<a class="code" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">numRecentMenuItems</a>];
<a name="l01373"></a>01373   <a class="code" href="classTitleWidget.html#fcbd8766b7755ef197f2f61c62908e01">customRecentMenuItems</a> = <span class="keyword">new</span> <a class="code" href="classRecentAlbumMenuItem.html" title="A custom menu entry, displays album image, name, and number of photos.">RecentAlbumMenuItem</a>*[maxItems];
<a name="l01374"></a>01374   
<a name="l01375"></a>01375   <span class="comment">//insert recent albums into menu</span>
<a name="l01376"></a>01376   <span class="keywordtype">int</span> i;
<a name="l01377"></a>01377   <span class="keywordflow">for</span>(i = 0; i&lt;maxItems; i++)
<a name="l01378"></a>01378   {
<a name="l01379"></a>01379     Key key;
<a name="l01380"></a>01380     <span class="keywordflow">if</span>(i == 0) key = Key_1;
<a name="l01381"></a>01381     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(i == 1) key = Key_2;
<a name="l01382"></a>01382     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(i == 2) key = Key_3;
<a name="l01383"></a>01383     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(i == 3) key = Key_4;
<a name="l01384"></a>01384     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(i == 4) key = Key_5;
<a name="l01385"></a>01385     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(i == 5) key = Key_6;
<a name="l01386"></a>01386     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(i == 6) key = Key_7;
<a name="l01387"></a>01387     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(i == 7) key = Key_8;
<a name="l01388"></a>01388     <span class="keywordflow">else</span> <span class="keywordflow">if</span>(i == 8) key = Key_9;
<a name="l01389"></a>01389     <span class="keywordflow">else</span> key = Key_unknown;
<a name="l01390"></a>01390     
<a name="l01391"></a>01391     <span class="comment">//get album name + location</span>
<a name="l01392"></a>01392     QString recentName = <span class="stringliteral">"recentName"</span>;
<a name="l01393"></a>01393     QString recentLocation = <span class="stringliteral">"recentLocation"</span>;
<a name="l01394"></a>01394     QString recentPhotoCount = <span class="stringliteral">"recentPhotoCount"</span>;
<a name="l01395"></a>01395     
<a name="l01396"></a>01396     <span class="comment">//----------------------------------------------    </span>
<a name="l01397"></a>01397     <span class="comment">//PLATFORM_SPECIFIC_CODE</span>
<a name="l01398"></a>01398 <span class="preprocessor">#if defined(Q_OS_MACX)</span>
<a name="l01399"></a>01399 <span class="preprocessor"></span>    <span class="comment">//Mac OS X does not support custom painted system menu entries. :(</span>
<a name="l01400"></a>01400     <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i] = <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;insertItem( <span class="stringliteral">"uninitialized recent album"</span>,
<a name="l01401"></a>01401                                          <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#2beba77947ee507975e0840e8592b3d9" title="Loads a recent album.">loadRecentAlbum</a>(<span class="keywordtype">int</span>)) );  
<a name="l01402"></a>01402     <span class="comment">//----------------------------------------------    </span>
<a name="l01403"></a>01403     <span class="comment">//Under other operating systems (Windows, Linux, FreeBSD) use custom recent album menu item </span>
<a name="l01404"></a>01404     <span class="comment">//such that album image is larger and more detail is provided</span>
<a name="l01405"></a>01405 <span class="preprocessor">#else  </span>
<a name="l01406"></a>01406 <span class="preprocessor"></span>    <a class="code" href="classTitleWidget.html#fcbd8766b7755ef197f2f61c62908e01">customRecentMenuItems</a>[i] = <span class="keyword">new</span> <a class="code" href="classRecentAlbumMenuItem.html" title="A custom menu entry, displays album image, name, and number of photos.">RecentAlbumMenuItem</a>(key);
<a name="l01407"></a>01407     <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i] = <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;insertItem( <a class="code" href="classTitleWidget.html#fcbd8766b7755ef197f2f61c62908e01">customRecentMenuItems</a>[i] );
<a name="l01408"></a>01408     <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;connectItem( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#2beba77947ee507975e0840e8592b3d9" title="Loads a recent album.">loadRecentAlbum</a>(<span class="keywordtype">int</span>)) );
<a name="l01409"></a>01409 <span class="preprocessor">#endif   </span>
<a name="l01410"></a>01410 <span class="preprocessor"></span>    <span class="comment">//----------------------------------------------         </span>
<a name="l01411"></a>01411     <span class="comment">//Set accelerator key sequence if valid    </span>
<a name="l01412"></a>01412     <span class="keywordflow">if</span>( key != Key_unknown )
<a name="l01413"></a>01413     {
<a name="l01414"></a>01414       <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setAccel( CTRL+key, <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i] ); 
<a name="l01415"></a>01415       <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemParameter( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], i );
<a name="l01416"></a>01416     }
<a name="l01417"></a>01417 
<a name="l01418"></a>01418     <span class="comment">//hide + disable entry</span>
<a name="l01419"></a>01419     <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemVisible( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], <span class="keyword">false</span> );    
<a name="l01420"></a>01420     <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], <span class="keyword">false</span> );      
<a name="l01421"></a>01421     <span class="comment">//----------------------------------------------         </span>
<a name="l01422"></a>01422   }
<a name="l01423"></a>01423   
<a name="l01424"></a>01424   <span class="comment">//insert separator and "clear menu" entry.</span>
<a name="l01425"></a>01425   <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[<a class="code" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">numRecentMenuItems</a>-2] = <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;insertSeparator();
<a name="l01426"></a>01426   <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[<a class="code" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">numRecentMenuItems</a>-1] = <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;insertItem( tr(<span class="stringliteral">"Clear Menu"</span>), 
<a name="l01427"></a>01427                                                                   <span class="keyword">this</span>, 
<a name="l01428"></a>01428                                                                   SLOT(<a class="code" href="classTitleWidget.html#6a08f3b7758a642e8366cfa82be9dd30" title="Clears albums from open recent menu.">clearOpenRecentMenu</a>()) );  
<a name="l01429"></a>01429   
<a name="l01430"></a>01430   <span class="comment">//hide separtor, disable clear entry</span>
<a name="l01431"></a>01431   <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemVisible( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[<a class="code" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">numRecentMenuItems</a>-2], <span class="keyword">false</span> );    
<a name="l01432"></a>01432   <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[<a class="code" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">numRecentMenuItems</a>-1], <span class="keyword">false</span> );      
<a name="l01433"></a>01433 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="6e78a120b9fff7474cffb6dd5b535ece"></a><!-- doxytag: member="TitleWidget::proceedWithLoad" ref="6e78a120b9fff7474cffb6dd5b535ece" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TitleWidget::proceedWithLoad           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Helper function for load methods, checks if there are any unsaved changes and if so warns user any such changes will be lost if they proceed. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00659">659</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="album_8cpp_source.html#l00139">Album::albumModified()</a>, <a class="el" href="configuration_8cpp_source.html#l00206">Configuration::getBool()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00621">loadAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00648">loadRecentAlbum()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00660"></a>00660 {
<a name="l00661"></a>00661   <span class="comment">//if modifications exist and user wants to receive destructive action warnings,</span>
<a name="l00662"></a>00662   <span class="comment">//ask if they are sure before creating a new album</span>
<a name="l00663"></a>00663   <span class="keywordflow">if</span>( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#eaa0e1b807c47f47d96bf5e3d500e1b3" title="Returns true if album has been modified since the last save operation.">albumModified</a>() &amp;&amp; <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#0d92de22ace3b90de4d73b6b32468a42" title="Fetch bool setting.">getBool</a>( <span class="stringliteral">"alerts"</span>, <span class="stringliteral">"showDestructiveAlerts"</span> ) )
<a name="l00664"></a>00664   {
<a name="l00665"></a>00665     <a class="code" href="classQuestionDialog.html" title="A configurable question dialog that returns true/false.">QuestionDialog</a> sure( tr(<span class="stringliteral">"Load album?"</span>),
<a name="l00666"></a>00666                          tr(<span class="stringliteral">"Warning, unsaved modifications to the current album exist. Loading a new album will result in lost work. Are you sure you want to do this?"</span>),
<a name="l00667"></a>00667                          <span class="stringliteral">"alertIcons/warning.png"</span>,
<a name="l00668"></a>00668                          <span class="keyword">this</span> );
<a name="l00669"></a>00669     <span class="keywordflow">if</span>(!sure.exec())
<a name="l00670"></a>00670       <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00671"></a>00671   }  
<a name="l00672"></a>00672   
<a name="l00673"></a>00673   <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00674"></a>00674 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="6fb2abfef7bb6bc4d2ad0a76737e294f"></a><!-- doxytag: member="TitleWidget::quitApplication" ref="6fb2abfef7bb6bc4d2ad0a76737e294f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::quitApplication           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Quit slot. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01272">1272</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01273"></a>01273 {
<a name="l01274"></a>01274   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;close();
<a name="l01275"></a>01275 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="d231df5a884787da98e7755a9cf960c3"></a><!-- doxytag: member="TitleWidget::refresh" ref="d231df5a884787da98e7755a9cf960c3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::refresh           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Refreshs data from backend objects. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00566">566</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="window_8cpp_source.html#l00197">Window::refresh()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00425">updateAlbumAnnotations()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00567"></a>00567 {
<a name="l00568"></a>00568   <span class="comment">//first refresh the subalbums listing. this is </span>
<a name="l00569"></a>00569   <span class="comment">//IMPERATIVE! Right now current subalbum selection contains a pointer</span>
<a name="l00570"></a>00570   <span class="comment">//to dead memory where previous subalbum was deleted. </span>
<a name="l00571"></a>00571   <span class="comment">//AKA not refreshing the subalbums iconview first will cause a crash!</span>
<a name="l00572"></a>00572   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#d1a027c3630d4e1a6395bcf1f761e5d8" title="refreshes the layout">refresh</a>();
<a name="l00573"></a>00573 
<a name="l00574"></a>00574   <span class="comment">//update the album annotations (name, desc, author, images)</span>
<a name="l00575"></a>00575   <span class="comment">//subalbum auto updated since window refresh auto selected first item</span>
<a name="l00576"></a>00576   <a class="code" href="classTitleWidget.html#78a626f9617ca7b537fddf77098d66bc" title="Updates subalbum annotations.">updateAlbumAnnotations</a>();
<a name="l00577"></a>00577 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="ea0e376756b743f8430cb21d5ba9ead1"></a><!-- doxytag: member="TitleWidget::refreshCollectionAnnotations" ref="ea0e376756b743f8430cb21d5ba9ead1" args="(Subalbum *collection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::refreshCollectionAnnotations           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSubalbum.html">Subalbum</a> *&nbsp;</td>
          <td class="paramname"> <em>collection</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Update displayed collection name and cover image. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00449">449</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00279">detectModifications</a>, <a class="el" href="subalbum_8cpp_source.html#l00084">Subalbum::getDescription()</a>, <a class="el" href="subalbum_8cpp_source.html#l00083">Subalbum::getName()</a>, <a class="el" href="subalbum_8cpp_source.html#l00086">Subalbum::getRepresentativeImage()</a>, <a class="el" href="album_8h_source.html#l00017">LARGE</a>, <a class="el" href="ALabel_8cpp_source.html#l00132">ALabel::removePixmap()</a>, <a class="el" href="ALabel_8cpp_source.html#l00077">ALabel::setPixmap()</a>, <a class="el" href="album_8h_source.html#l00015">SMALL</a>, <a class="el" href="titleWidget_8h_source.html#l00250">subalbumAnnotationFrame</a>, <a class="el" href="titleWidget_8h_source.html#l00255">subalbumDescriptionVal</a>, <a class="el" href="titleWidget_8h_source.html#l00251">subalbumImage</a>, and <a class="el" href="titleWidget_8h_source.html#l00253">subalbumNameVal</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00450"></a>00450 {
<a name="l00451"></a>00451   <span class="comment">//disable modification detection while updating fields</span>
<a name="l00452"></a>00452   <a class="code" href="classTitleWidget.html#06626730776a06b84970c5eee1ce0eaa">detectModifications</a> = <span class="keyword">false</span>;
<a name="l00453"></a>00453 
<a name="l00454"></a>00454   <span class="comment">//get subalbum pointer</span>
<a name="l00455"></a>00455   <span class="keywordflow">if</span>( collection == NULL )
<a name="l00456"></a>00456   {
<a name="l00457"></a>00457     <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>-&gt;hide();
<a name="l00458"></a>00458     <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>-&gt;<a class="code" href="classALabel.html#e0b0ff246381ec3d2da4e1710ad885c1" title="animates removing an image">removePixmap</a>(<span class="keyword">true</span>);
<a name="l00459"></a>00459   }
<a name="l00460"></a>00460   <span class="keywordflow">else</span>
<a name="l00461"></a>00461   {
<a name="l00462"></a>00462     <a class="code" href="classTitleWidget.html#26605623993dc493176dcfbd134c9761">subalbumAnnotationFrame</a>-&gt;show();
<a name="l00463"></a>00463 
<a name="l00464"></a>00464     <span class="comment">//if no image then remove pixmap</span>
<a name="l00465"></a>00465     <span class="keywordflow">if</span>( collection-&gt;<a class="code" href="classSubalbum.html#9bd87802ff9f634579c35d4a399c1227" title="gets a sized representative image">getRepresentativeImage</a>(<a class="code" href="album_8h.html#c27c2124ca2aed651e06aba3a1468ecb">LARGE</a>) != NULL)
<a name="l00466"></a>00466       <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>-&gt;<a class="code" href="classALabel.html#d513cece6e846f2bfa4261dafa270c25" title="animates setting an image">setPixmap</a>( *collection-&gt;<a class="code" href="classSubalbum.html#9bd87802ff9f634579c35d4a399c1227" title="gets a sized representative image">getRepresentativeImage</a>(<a class="code" href="album_8h.html#09c78d2f8feb311dd9fc969a0bf84979">SMALL</a>) );
<a name="l00467"></a>00467     <span class="keywordflow">else</span>
<a name="l00468"></a>00468       <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>-&gt;<a class="code" href="classALabel.html#e0b0ff246381ec3d2da4e1710ad885c1" title="animates removing an image">removePixmap</a>();
<a name="l00469"></a>00469 
<a name="l00470"></a>00470     <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>-&gt;setText( collection-&gt;<a class="code" href="classSubalbum.html#9d735164fdf19535c1dce8ba995c8a48" title="Gets the Subalbum Name.">getName</a>() );
<a name="l00471"></a>00471     <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>-&gt;setCursorPosition(0);
<a name="l00472"></a>00472     <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>-&gt;setText( collection-&gt;<a class="code" href="classSubalbum.html#82c1c3df230784af3b52016f05f2d284" title="Gets the Subalbum description.">getDescription</a>() );
<a name="l00473"></a>00473     <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>-&gt;setCursorPosition(0);
<a name="l00474"></a>00474   }
<a name="l00475"></a>00475 
<a name="l00476"></a>00476   <span class="comment">//enable modification detection</span>
<a name="l00477"></a>00477   <a class="code" href="classTitleWidget.html#06626730776a06b84970c5eee1ce0eaa">detectModifications</a> = <span class="keyword">true</span>;
<a name="l00478"></a>00478 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="5d2a106930e035792193c52d63b617dc"></a><!-- doxytag: member="TitleWidget::refreshOpenRecentMenu" ref="5d2a106930e035792193c52d63b617dc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::refreshOpenRecentMenu           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Refreshes open recent menu. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01435">1435</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="recentAlbumMenuItem_8cpp_source.html#l00028">RecentAlbumMenuItem::changeItem()</a>, <a class="el" href="titleWidget_8h_source.html#l00214">customRecentMenuItems</a>, <a class="el" href="recentAlbums_8cpp_source.html#l00042">RecentAlbums::getEntry()</a>, <a class="el" href="recentAlbums_8cpp_source.html#l00032">RecentAlbums::numEntries()</a>, <a class="el" href="titleWidget_8h_source.html#l00213">numRecentMenuItems</a>, <a class="el" href="titleWidget_8h_source.html#l00211">openRecent</a>, <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>, <a class="el" href="titleWidget_8h_source.html#l00212">recentMenuItems</a>, <a class="el" href="imageTools_8cpp_source.html#l00157">scaleImage()</a>, <a class="el" href="recentAlbumMenuItem_8cpp_source.html#l00111">RecentAlbumMenuItem::setMaxWidth()</a>, and <a class="el" href="blur_8cpp_source.html#l00079">width</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01359">clearOpenRecentMenu()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01436"></a>01436 {
<a name="l01437"></a>01437   <span class="comment">//update text, visibility, and enabled bit for all items in list</span>
<a name="l01438"></a>01438   <span class="keywordtype">int</span> i;
<a name="l01439"></a>01439 
<a name="l01440"></a>01440 <span class="preprocessor">#ifndef Q_OS_MACX</span>
<a name="l01441"></a>01441 <span class="preprocessor"></span>  <span class="keywordtype">int</span> maxWidth=0;
<a name="l01442"></a>01442 <span class="preprocessor">#endif</span>
<a name="l01443"></a>01443 <span class="preprocessor"></span>
<a name="l01444"></a>01444   <span class="keywordflow">for</span>(i=0; i&lt;<a class="code" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">numRecentMenuItems</a>; i++)
<a name="l01445"></a>01445   {
<a name="l01446"></a>01446     <span class="comment">//----------------------------------------------    </span>
<a name="l01447"></a>01447     <span class="comment">//item - update fields, enable, and show</span>
<a name="l01448"></a>01448     QString recentName, recentLocation, recentPhotoCount;
<a name="l01449"></a>01449     QDir tempDir;
<a name="l01450"></a>01450     <span class="keywordflow">if</span>( i &lt; <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#9317f48a9b255a663f8581dccd7871a1">numEntries</a>())
<a name="l01451"></a>01451     {
<a name="l01452"></a>01452       <span class="comment">//get album name + location</span>
<a name="l01453"></a>01453       <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#42c965a7ddc3cd255c99489ce08ffd9f">getEntry</a>( i, recentName, recentLocation, recentPhotoCount );
<a name="l01454"></a>01454       <span class="comment">//----------------------------------------------    </span>
<a name="l01455"></a>01455       <span class="comment">//PLATFORM_SPECIFIC_CODE</span>
<a name="l01456"></a>01456       <span class="comment">//Mac OS X does not support custom painted system menu entries. :(</span>
<a name="l01457"></a>01457 <span class="preprocessor">#if defined(Q_OS_MACX)</span>
<a name="l01458"></a>01458 <span class="preprocessor"></span>      QString albumImageLocation = QDir::convertSeparators( recentLocation + <span class="stringliteral">"/img/album.jpg"</span> );
<a name="l01459"></a>01459       
<a name="l01460"></a>01460       <span class="comment">//don't display photo count if not available (-1)</span>
<a name="l01461"></a>01461       <span class="keywordflow">if</span>(recentPhotoCount.compare(<span class="stringliteral">"-1"</span>) == 0)
<a name="l01462"></a>01462         recentPhotoCount = <span class="stringliteral">""</span>;
<a name="l01463"></a>01463       <span class="keywordflow">else</span>
<a name="l01464"></a>01464         recentPhotoCount = <span class="stringliteral">" ("</span> + recentPhotoCount + <span class="stringliteral">")"</span>;
<a name="l01465"></a>01465       
<a name="l01466"></a>01466       <span class="comment">//if album image exits resize it and use for menu item icon</span>
<a name="l01467"></a>01467       <span class="keywordflow">if</span>( tempDir.exists( albumImageLocation ) )
<a name="l01468"></a>01468       {
<a name="l01469"></a>01469         <span class="comment">//scale image</span>
<a name="l01470"></a>01470         QImage scaledAlbumImage;
<a name="l01471"></a>01471         <a class="code" href="imageTools_8cpp.html#126e11984fb8124e78e3b1b68a24870c" title="Scale image and save copy to disk.">scaleImage</a>( albumImageLocation, scaledAlbumImage, 32, 32 );
<a name="l01472"></a>01472         
<a name="l01473"></a>01473         <span class="comment">//use text and pixmap</span>
<a name="l01474"></a>01474         QPixmap scaledAlbumImagePixmap;
<a name="l01475"></a>01475         scaledAlbumImagePixmap.convertFromImage( scaledAlbumImage );
<a name="l01476"></a>01476         
<a name="l01477"></a>01477         <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;changeItem( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i],
<a name="l01478"></a>01478                                 QIconSet( scaledAlbumImagePixmap ),
<a name="l01479"></a>01479                                 QString(<span class="stringliteral">"%1%2"</span>).arg(recentName).arg(recentPhotoCount) );
<a name="l01480"></a>01480       }      
<a name="l01481"></a>01481       <span class="comment">//otherwise simply display the album name and number of phots (if available)</span>
<a name="l01482"></a>01482       <span class="keywordflow">else</span>
<a name="l01483"></a>01483       {
<a name="l01484"></a>01484         <span class="comment">//using just text</span>
<a name="l01485"></a>01485         <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;changeItem( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i],
<a name="l01486"></a>01486                                 QIconSet(NULL),
<a name="l01487"></a>01487                                 QString(<span class="stringliteral">"%1%2"</span>).arg(recentName).arg(recentPhotoCount) );
<a name="l01488"></a>01488       }
<a name="l01489"></a>01489       <span class="comment">//----------------------------------------------    </span>
<a name="l01490"></a>01490       <span class="comment">//Under other operating systems (Windows, Linux, FreeBSD) use custom recent album menu item </span>
<a name="l01491"></a>01491       <span class="comment">//such that album image is larger and more detail is provided</span>
<a name="l01492"></a>01492 <span class="preprocessor">#else  </span>
<a name="l01493"></a>01493 <span class="preprocessor"></span>      <a class="code" href="classTitleWidget.html#fcbd8766b7755ef197f2f61c62908e01">customRecentMenuItems</a>[i]-&gt;<a class="code" href="classRecentAlbumMenuItem.html#8f24dece7400a13da2e48ab8a70b29d2" title="updates entry as per arguments passed (used by constructor during intiailization...">changeItem</a>( recentName, recentLocation, recentPhotoCount );                                           
<a name="l01494"></a>01494       maxWidth = QMAX( maxWidth, <a class="code" href="classTitleWidget.html#fcbd8766b7755ef197f2f61c62908e01">customRecentMenuItems</a>[i]-&gt;sizeHint().<a class="code" href="blur_8cpp.html#2474a5474cbff19523a51eb1de01cda4">width</a>() );
<a name="l01495"></a>01495 <span class="preprocessor">#endif   </span>
<a name="l01496"></a>01496 <span class="preprocessor"></span>      <span class="comment">//----------------------------------------------         </span>
<a name="l01497"></a>01497       <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], <span class="keyword">true</span> );      
<a name="l01498"></a>01498       <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemVisible( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], <span class="keyword">true</span> );    
<a name="l01499"></a>01499       
<a name="l01500"></a>01500       <span class="comment">//if the Album.xml file is unavailable then disable menu entry</span>
<a name="l01501"></a>01501       <span class="keywordflow">if</span>( !tempDir.exists( QDir::convertSeparators(recentLocation + <span class="stringliteral">"/Album.xml"</span>) ) )
<a name="l01502"></a>01502         <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], <span class="keyword">false</span> );    
<a name="l01503"></a>01503     }
<a name="l01504"></a>01504     <span class="comment">//----------------------------------------------         </span>
<a name="l01505"></a>01505     <span class="comment">//hidden item - disable and hide</span>
<a name="l01506"></a>01506     <span class="keywordflow">else</span> <span class="keywordflow">if</span>( i &gt;= <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#9317f48a9b255a663f8581dccd7871a1">numEntries</a>() &amp;&amp;
<a name="l01507"></a>01507              i &lt; numRecentMenuItems-2 )
<a name="l01508"></a>01508     {
<a name="l01509"></a>01509       <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], <span class="keyword">false</span> );      
<a name="l01510"></a>01510       <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemVisible( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[i], <span class="keyword">false</span> );    
<a name="l01511"></a>01511     }
<a name="l01512"></a>01512     <span class="comment">//----------------------------------------------         </span>
<a name="l01513"></a>01513     <span class="comment">//separtor - show if one or more items in list</span>
<a name="l01514"></a>01514     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (i == numRecentMenuItems-2)
<a name="l01515"></a>01515     {
<a name="l01516"></a>01516       <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemVisible( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[numRecentMenuItems-2], 
<a name="l01517"></a>01517                                   <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#9317f48a9b255a663f8581dccd7871a1">numEntries</a>() &gt; 0 );    
<a name="l01518"></a>01518     }
<a name="l01519"></a>01519     <span class="comment">//----------------------------------------------         </span>
<a name="l01520"></a>01520     <span class="comment">//clear items - enable if items in list</span>
<a name="l01521"></a>01521     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (i == numRecentMenuItems-1)
<a name="l01522"></a>01522     {
<a name="l01523"></a>01523       <a class="code" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94" title="Open recent submenu.">openRecent</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">recentMenuItems</a>[numRecentMenuItems-1], 
<a name="l01524"></a>01524                                   <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#9317f48a9b255a663f8581dccd7871a1">numEntries</a>() &gt; 0 );    
<a name="l01525"></a>01525     }
<a name="l01526"></a>01526     <span class="comment">//----------------------------------------------         </span>
<a name="l01527"></a>01527   }
<a name="l01528"></a>01528 
<a name="l01529"></a>01529 
<a name="l01530"></a>01530   <span class="comment">//pass over custom menu items a second time letting them know the maximum item width</span>
<a name="l01531"></a>01531 <span class="preprocessor">#ifndef Q_OS_MACX</span>
<a name="l01532"></a>01532 <span class="preprocessor"></span>  <span class="keywordflow">for</span>(i=0; i&lt;<a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#9317f48a9b255a663f8581dccd7871a1">numEntries</a>(); i++)
<a name="l01533"></a>01533   {
<a name="l01534"></a>01534     <a class="code" href="classTitleWidget.html#fcbd8766b7755ef197f2f61c62908e01">customRecentMenuItems</a>[i]-&gt;<a class="code" href="classRecentAlbumMenuItem.html#8fbcd4bb687b9a6ca0e1171fe0848a1f" title="after all menu items have been refreshed hint at maximum width so we can adequately...">setMaxWidth</a>( maxWidth );
<a name="l01535"></a>01535   }
<a name="l01536"></a>01536 <span class="preprocessor">#endif</span>
<a name="l01537"></a>01537 <span class="preprocessor"></span>
<a name="l01538"></a>01538 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="7c482bc35ed104f6b78db8383819306a"></a><!-- doxytag: member="TitleWidget::removeSelectedPhotoDesc" ref="7c482bc35ed104f6b78db8383819306a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::removeSelectedPhotoDesc           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Strip descriptions from selected photos. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01147">1147</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="subalbumWidget_8cpp_source.html#l00653">SubalbumWidget::anyPhotosSelected()</a>, <a class="el" href="configuration_8cpp_source.html#l00206">Configuration::getBool()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00563">SubalbumWidget::stripDescriptionsFromSelectedPhotos()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01148"></a>01148 {
<a name="l01149"></a>01149   <span class="comment">//if no subalbum or photos selected ignore command</span>
<a name="l01150"></a>01150   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() == NULL ||
<a name="l01151"></a>01151      !<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#6838d0b74aadb6cced433b6151d0cf04" title="Returns true if any phtos are selected.">anyPhotosSelected</a>())
<a name="l01152"></a>01152      <span class="keywordflow">return</span>;
<a name="l01153"></a>01153 
<a name="l01154"></a>01154   <span class="comment">//ask user if they are sure they want to remove selected photo descriptions</span>
<a name="l01155"></a>01155   <span class="keywordflow">if</span>( <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#0d92de22ace3b90de4d73b6b32468a42" title="Fetch bool setting.">getBool</a>( <span class="stringliteral">"alerts"</span>, <span class="stringliteral">"showDestructiveAlerts"</span> ) )
<a name="l01156"></a>01156   {
<a name="l01157"></a>01157     <a class="code" href="classQuestionDialog.html" title="A configurable question dialog that returns true/false.">QuestionDialog</a> sure( tr(<span class="stringliteral">"Remove Selected Photo Descriptions?"</span>),
<a name="l01158"></a>01158                                    tr(<span class="stringliteral">"This action cannot be undone. Are you sure you want to proceed?"</span>),
<a name="l01159"></a>01159                                    <span class="stringliteral">"alertIcons/warning.png"</span>,
<a name="l01160"></a>01160                                    <span class="keyword">this</span> );
<a name="l01161"></a>01161     <span class="keywordflow">if</span>(!sure.exec())
<a name="l01162"></a>01162       <span class="keywordflow">return</span>;
<a name="l01163"></a>01163   }
<a name="l01164"></a>01164 
<a name="l01165"></a>01165   <span class="comment">//proceed with stripping of photo descriptions</span>
<a name="l01166"></a>01166   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#9e564e5c218d2d7b9bbc267698d4b112" title="Strip descriptions from selected photos.">stripDescriptionsFromSelectedPhotos</a>();
<a name="l01167"></a>01167 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="4627b467f0f2cfc3b186848558f2102d"></a><!-- doxytag: member="TitleWidget::revertPhotos" ref="4627b467f0f2cfc3b186848558f2102d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::revertPhotos           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Revert selected photos to original form. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01169">1169</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00166">LayoutWidget::revertPhotos()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01170"></a>01170 {  
<a name="l01171"></a>01171   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#354b0dfb17383495dbb952f9f7eabeea" title="Reverts all selected photos in organize mode, or currently shown photo if in editing...">revertPhotos</a>();
<a name="l01172"></a>01172 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="207c305b4150cd2c7f4a85067b49c7a7"></a><!-- doxytag: member="TitleWidget::revertToSaved" ref="207c305b4150cd2c7f4a85067b49c7a7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::revertToSaved           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Revert to last saved album. 
<p>

<p>
make sure we want to proceed 
<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00676">676</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="album_8cpp_source.html#l00139">Album::albumModified()</a>, <a class="el" href="configuration_8cpp_source.html#l00206">Configuration::getBool()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="album_8cpp_source.html#l00141">Album::getSaveLocation()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00621">loadAlbum()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00677"></a>00677 {
<a name="l00678"></a>00678   <span class="comment">//if there are no changed then immediately return since reverting will have no effect</span>
<a name="l00679"></a>00679   <span class="comment">//TODO: disable "revert" menu entry when no modifications exist</span>
<a name="l00680"></a>00680   <span class="keywordflow">if</span>( !<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#eaa0e1b807c47f47d96bf5e3d500e1b3" title="Returns true if album has been modified since the last save operation.">albumModified</a>() )
<a name="l00681"></a>00681     <span class="keywordflow">return</span>;
<a name="l00682"></a>00682   
<a name="l00684"></a>00684   <span class="comment">//if modifications exist and user wants to receive destructive action warnings,</span>
<a name="l00685"></a>00685   <span class="comment">//ask if they are sure before creating a new album</span>
<a name="l00686"></a>00686   <span class="keywordflow">if</span>( <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#0d92de22ace3b90de4d73b6b32468a42" title="Fetch bool setting.">getBool</a>( <span class="stringliteral">"alerts"</span>, <span class="stringliteral">"showDestructiveAlerts"</span> ) )
<a name="l00687"></a>00687   {
<a name="l00688"></a>00688     <a class="code" href="classQuestionDialog.html" title="A configurable question dialog that returns true/false.">QuestionDialog</a> sure( tr(<span class="stringliteral">"Revert to Saved?"</span>),
<a name="l00689"></a>00689                          tr(<span class="stringliteral">"Warning, unsaved modifications to the current album exist. These changes will be lost if you revert to the album's last saved form. Are you sure you want to do this?"</span>),
<a name="l00690"></a>00690                          <span class="stringliteral">"alertIcons/warning.png"</span>,
<a name="l00691"></a>00691                          <span class="keyword">this</span> );
<a name="l00692"></a>00692     <span class="keywordflow">if</span>(!sure.exec())
<a name="l00693"></a>00693       <span class="keywordflow">return</span>;
<a name="l00694"></a>00694   }    
<a name="l00695"></a>00695   
<a name="l00696"></a>00696   <span class="comment">//reload album</span>
<a name="l00697"></a>00697   <a class="code" href="classTitleWidget.html#cb2fd15266ce847257a83b65a301c4d3" title="Loads an album specified with file chooser.">loadAlbum</a>( QDir::convertSeparators( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#d00fd15f7683622ffc3d2cef1fe3f9ca" title="Returns the current save location of all images.">getSaveLocation</a>() + <span class="stringliteral">"/Album.xml"</span>) );  
<a name="l00698"></a>00698 }
</pre></div>
<p>

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

<p>
Saves album. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00985">985</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="album_8cpp_source.html#l00452">Album::exportToDisk()</a>, <a class="el" href="titleWidget_8h_source.html#l00208">file</a>, <a class="el" href="titleWidget_8cpp_source.html#l00487">getAlbum()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="album_8cpp_source.html#l00124">Album::getName()</a>, <a class="el" href="album_8cpp_source.html#l00146">Album::getNumPhotos()</a>, <a class="el" href="album_8cpp_source.html#l00141">Album::getSaveLocation()</a>, <a class="el" href="window_8cpp_source.html#l00192">Window::getStatus()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00099">LayoutWidget::getSubalbums()</a>, <a class="el" href="recentAlbums_8cpp_source.html#l00049">RecentAlbums::insertEntry()</a>, <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>, <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>, <a class="el" href="titleWidget_8h_source.html#l00286">REVERT_TO_SAVED_ALBUM</a>, <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, <a class="el" href="configuration_8cpp_source.html#l00116">Configuration::setString()</a>, <a class="el" href="saveDialog_8cpp_source.html#l00293">SaveDialog::themeAvailable()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00752">SubalbumWidget::updateButtons()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00216">SubalbumsWidget::updateButtons()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00986"></a>00986 {
<a name="l00987"></a>00987   <span class="comment">//if album not previously saved then</span>
<a name="l00988"></a>00988   <span class="comment">//run saveas dialog</span>
<a name="l00989"></a>00989   <span class="keywordflow">if</span>(!<a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;prevSave())
<a name="l00990"></a>00990   {
<a name="l00991"></a>00991     <a class="code" href="classTitleWidget.html#e0e40e093dd7d228767ad472d3da6ad7" title="Saves album as.">saveAsAlbum</a>();
<a name="l00992"></a>00992     <span class="keywordflow">return</span>;
<a name="l00993"></a>00993   }
<a name="l00994"></a>00994 
<a name="l00995"></a>00995   <span class="comment">//if previously used theme not available for use again alert user,</span>
<a name="l00996"></a>00996   <span class="comment">//then run saveas dialog</span>
<a name="l00997"></a>00997   <span class="keywordflow">if</span>(!<a class="code" href="classSaveDialog.html#357bd144253afb839226aa3929b5ad18">SaveDialog::themeAvailable</a>( <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;getTheme() ))
<a name="l00998"></a>00998   {
<a name="l00999"></a>00999     <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( tr(<span class="stringliteral">"Previous theme not available!"</span>),
<a name="l01000"></a>01000                             tr(<span class="stringliteral">"Theme previously used to save this album not available on this machine. Click ok to open the save-as dialog to save an alternative theme."</span>),
<a name="l01001"></a>01001                             <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l01002"></a>01002     alert.exec();
<a name="l01003"></a>01003     <a class="code" href="classTitleWidget.html#e0e40e093dd7d228767ad472d3da6ad7" title="Saves album as.">saveAsAlbum</a>();
<a name="l01004"></a>01004     <span class="keywordflow">return</span>;
<a name="l01005"></a>01005   }
<a name="l01006"></a>01006 
<a name="l01007"></a>01007   <span class="comment">//set busy flag and disable buttons</span>
<a name="l01008"></a>01008   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">true</span>);
<a name="l01009"></a>01009   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l01010"></a>01010   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l01011"></a>01011     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l01012"></a>01012   qApp-&gt;setOverrideCursor( QCursor(Qt::WaitCursor));
<a name="l01013"></a>01013 
<a name="l01014"></a>01014   <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#663ceb8cc2164a3ebb90b8474ead5ff3" title="Exports album in XML and HTML format, along with resized images.">exportToDisk</a>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>());
<a name="l01015"></a>01015 
<a name="l01016"></a>01016   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#cc6935858bf26f6d44c78401fc93d975" title="Sets a setting value, if group does not exist it is created, if setting does not...">setString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"lastUsedTheme"</span>,  <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;getTheme() );
<a name="l01017"></a>01017 
<a name="l01018"></a>01018   <span class="comment">//update recent albums listing</span>
<a name="l01019"></a>01019   <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#85a976a736d0b794f2469fd5029f495b">insertEntry</a>( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#f10928e547a4403df72008364544cea6" title="Gets the album name.">getName</a>(), <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#d00fd15f7683622ffc3d2cef1fe3f9ca" title="Returns the current save location of all images.">getSaveLocation</a>(), 
<a name="l01020"></a>01020                             QString(<span class="stringliteral">"%1"</span>).arg(<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#b804bb42d0657f68b9ee4a695c3a775b" title="Returns the number of photos.">getNumPhotos</a>()), <span class="keyword">false</span> );
<a name="l01021"></a>01021   <a class="code" href="classTitleWidget.html#5d2a106930e035792193c52d63b617dc" title="Refreshes open recent menu.">refreshOpenRecentMenu</a>();  
<a name="l01022"></a>01022 
<a name="l01023"></a>01023   <span class="comment">//enable revert command since saved album now exists</span>
<a name="l01024"></a>01024   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#cb1bc5b77c337250d40714a4e05d22b7">REVERT_TO_SAVED_ALBUM</a>, <span class="keyword">true</span> );    
<a name="l01025"></a>01025   
<a name="l01026"></a>01026   <span class="comment">//nolonger busy</span>
<a name="l01027"></a>01027   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">false</span>);
<a name="l01028"></a>01028   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l01029"></a>01029   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l01030"></a>01030     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l01031"></a>01031   qApp-&gt;restoreOverrideCursor();
<a name="l01032"></a>01032 }
</pre></div>
<p>

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

<p>
Saves album as. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01034">1034</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="titleWidget_8h_source.html#l00246">albumAuthorVal</a>, <a class="el" href="album_8cpp_source.html#l00452">Album::exportToDisk()</a>, <a class="el" href="titleWidget_8h_source.html#l00208">file</a>, <a class="el" href="titleWidget_8cpp_source.html#l00487">getAlbum()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="album_8cpp_source.html#l00124">Album::getName()</a>, <a class="el" href="album_8cpp_source.html#l00146">Album::getNumPhotos()</a>, <a class="el" href="album_8cpp_source.html#l00141">Album::getSaveLocation()</a>, <a class="el" href="window_8cpp_source.html#l00192">Window::getStatus()</a>, <a class="el" href="configuration_8cpp_source.html#l00158">Configuration::getString()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00099">LayoutWidget::getSubalbums()</a>, <a class="el" href="album_8cpp_source.html#l00143">Album::getTheme()</a>, <a class="el" href="recentAlbums_8cpp_source.html#l00049">RecentAlbums::insertEntry()</a>, <a class="el" href="titleWidget_8h_source.html#l00305">recentAlbums</a>, <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>, <a class="el" href="titleWidget_8h_source.html#l00286">REVERT_TO_SAVED_ALBUM</a>, <a class="el" href="saveDialog_8cpp_source.html#l00273">SaveDialog::selectThemeAndPath()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, <a class="el" href="configuration_8cpp_source.html#l00116">Configuration::setString()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00752">SubalbumWidget::updateButtons()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00216">SubalbumsWidget::updateButtons()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01035"></a>01035 {
<a name="l01036"></a>01036   <span class="comment">//setup dialog title and default path</span>
<a name="l01037"></a>01037   QString dialogTitle = tr( <span class="stringliteral">"Save As"</span> );
<a name="l01038"></a>01038   QString defaultPath;
<a name="l01039"></a>01039 
<a name="l01040"></a>01040   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;prevSave())
<a name="l01041"></a>01041     defaultPath = <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#d00fd15f7683622ffc3d2cef1fe3f9ca" title="Returns the current save location of all images.">getSaveLocation</a>();
<a name="l01042"></a>01042   <span class="keywordflow">else</span>
<a name="l01043"></a>01043   {
<a name="l01044"></a>01044     defaultPath = <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#f10928e547a4403df72008364544cea6" title="Gets the album name.">getName</a>();
<a name="l01045"></a>01045     defaultPath.replace( QChar(<span class="charliteral">' '</span>), <span class="stringliteral">"_"</span> );
<a name="l01046"></a>01046     defaultPath.replace( <span class="stringliteral">"&lt;"</span>, <span class="stringliteral">""</span> );
<a name="l01047"></a>01047     defaultPath.replace( <span class="stringliteral">"&gt;"</span>, <span class="stringliteral">""</span> );
<a name="l01048"></a>01048     defaultPath.replace( <span class="stringliteral">"&amp;"</span>, <span class="stringliteral">"and"</span> );
<a name="l01049"></a>01049     defaultPath.replace( <span class="stringliteral">"\""</span>, <span class="stringliteral">""</span> );
<a name="l01050"></a>01050     defaultPath.replace( <span class="stringliteral">"\'"</span>, <span class="stringliteral">""</span> );
<a name="l01051"></a>01051     defaultPath.replace( <span class="stringliteral">"?"</span>, <span class="stringliteral">""</span> );
<a name="l01052"></a>01052     defaultPath = QDir::convertSeparators
<a name="l01053"></a>01053        ( <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"loadSaveDir"</span> ) + <span class="stringliteral">"/"</span> + defaultPath );
<a name="l01054"></a>01054   }
<a name="l01055"></a>01055 
<a name="l01056"></a>01056   <span class="comment">//get directory name in which album directory will be placed in</span>
<a name="l01057"></a>01057   QString theme, savePath;
<a name="l01058"></a>01058 
<a name="l01059"></a>01059   <span class="comment">//if abum saved before then auto select last used theme</span>
<a name="l01060"></a>01060   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#b8b862619156446a3f13d3a2cd8ee411" title="Returns currently selected theme.">getTheme</a>().compare(<span class="stringliteral">"-1"</span>) != 0)
<a name="l01061"></a>01061     theme = <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#b8b862619156446a3f13d3a2cd8ee411" title="Returns currently selected theme.">getTheme</a>();
<a name="l01062"></a>01062   <span class="keywordflow">else</span>
<a name="l01063"></a>01063   {
<a name="l01064"></a>01064     <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"defaultTheme"</span> ).compare( <span class="stringliteral">"Last Used"</span> ) == 0)
<a name="l01065"></a>01065       theme = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"lastUsedTheme"</span> );
<a name="l01066"></a>01066     <span class="keywordflow">else</span>
<a name="l01067"></a>01067       theme = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#f39a96d2cd773570ef1aecf502a3cc90" title="Fetch string setting.">getString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"defaultTheme"</span> );
<a name="l01068"></a>01068   }
<a name="l01069"></a>01069 
<a name="l01070"></a>01070   <span class="keywordflow">if</span>( !<a class="code" href="classSaveDialog.html#111b49d82d7ac2b4ed7667a0c5bc85e2">SaveDialog::selectThemeAndPath</a>( dialogTitle, defaultPath, theme, savePath ) )
<a name="l01071"></a>01071     <span class="keywordflow">return</span>;
<a name="l01072"></a>01072 
<a name="l01073"></a>01073   <span class="comment">//check if directory already exists, if not attempt to create it</span>
<a name="l01074"></a>01074   QDir d(savePath);
<a name="l01075"></a>01075   <span class="keywordflow">if</span>(!d.exists())
<a name="l01076"></a>01076   {
<a name="l01077"></a>01077     <span class="keywordflow">if</span>(!d.mkdir(savePath))
<a name="l01078"></a>01078     {
<a name="l01079"></a>01079       <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( tr(<span class="stringliteral">"Error creating directory!"</span>),
<a name="l01080"></a>01080                               tr(<span class="stringliteral">"Unable to create directory to save album in. Perhaps you are running out of disk space or you don't have sufficient privileges?"</span>),
<a name="l01081"></a>01081                               <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l01082"></a>01082       alert.exec();
<a name="l01083"></a>01083       <span class="keywordflow">return</span>;
<a name="l01084"></a>01084     }
<a name="l01085"></a>01085   }
<a name="l01086"></a>01086   <span class="keywordflow">else</span>
<a name="l01087"></a>01087   {
<a name="l01088"></a>01088     <span class="keywordflow">if</span>(!d.isReadable())
<a name="l01089"></a>01089     {
<a name="l01090"></a>01090       <a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> alert( tr(<span class="stringliteral">"Destination directory not readable!"</span>),
<a name="l01091"></a>01091                               tr(<span class="stringliteral">"The destination directory is not readable. Perhaps you don't have sufficient privileges?"</span>),
<a name="l01092"></a>01092                               <span class="stringliteral">"alertIcons/warning.png"</span>, <span class="keyword">this</span> );
<a name="l01093"></a>01093       alert.exec();
<a name="l01094"></a>01094       <span class="keywordflow">return</span>;
<a name="l01095"></a>01095     }
<a name="l01096"></a>01096   }
<a name="l01097"></a>01097 
<a name="l01098"></a>01098   <span class="comment">//store this load/Save location</span>
<a name="l01099"></a>01099   QDir lastDir = QDir( savePath );
<a name="l01100"></a>01100   lastDir.cdUp();
<a name="l01101"></a>01101   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#cc6935858bf26f6d44c78401fc93d975" title="Sets a setting value, if group does not exist it is created, if setting does not...">setString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"loadSaveDir"</span>, lastDir.path() );
<a name="l01102"></a>01102   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#cc6935858bf26f6d44c78401fc93d975" title="Sets a setting value, if group does not exist it is created, if setting does not...">setString</a>( <span class="stringliteral">"loadSave"</span>, <span class="stringliteral">"lastUsedTheme"</span>,  theme );
<a name="l01103"></a>01103 
<a name="l01104"></a>01104   <span class="comment">//set busy flag and disable buttons</span>
<a name="l01105"></a>01105   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">true</span>);
<a name="l01106"></a>01106   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l01107"></a>01107   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l01108"></a>01108     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">false</span>);
<a name="l01109"></a>01109   qApp-&gt;setOverrideCursor( QCursor(Qt::WaitCursor));
<a name="l01110"></a>01110 
<a name="l01111"></a>01111   <span class="comment">//save</span>
<a name="l01112"></a>01112   <a class="code" href="classTitleWidget.html#13e859247711ac55672705c663d793a4" title="Returns a pointer to the album object.">getAlbum</a>()-&gt;<a class="code" href="classAlbum.html#663ceb8cc2164a3ebb90b8474ead5ff3" title="Exports album in XML and HTML format, along with resized images.">exportToDisk</a>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#8bc149788c6ed44ae27f22e72392cdf6" title="returns a pointer to the status widget">getStatus</a>(), savePath, theme);
<a name="l01113"></a>01113   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>()-&gt;<a class="code" href="classConfiguration.html#cc6935858bf26f6d44c78401fc93d975" title="Sets a setting value, if group does not exist it is created, if setting does not...">setString</a>( <span class="stringliteral">"misc"</span>, <span class="stringliteral">"defaultAuthor"</span>, <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>-&gt;text() );
<a name="l01114"></a>01114 
<a name="l01115"></a>01115   <span class="comment">//update recent albums listing</span>
<a name="l01116"></a>01116   <a class="code" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">recentAlbums</a>.<a class="code" href="classRecentAlbums.html#85a976a736d0b794f2469fd5029f495b">insertEntry</a>( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#f10928e547a4403df72008364544cea6" title="Gets the album name.">getName</a>(), <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#d00fd15f7683622ffc3d2cef1fe3f9ca" title="Returns the current save location of all images.">getSaveLocation</a>(), 
<a name="l01117"></a>01117                             QString(<span class="stringliteral">"%1"</span>).arg(<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#b804bb42d0657f68b9ee4a695c3a775b" title="Returns the number of photos.">getNumPhotos</a>()), <span class="keyword">false</span> );
<a name="l01118"></a>01118   <a class="code" href="classTitleWidget.html#5d2a106930e035792193c52d63b617dc" title="Refreshes open recent menu.">refreshOpenRecentMenu</a>();  
<a name="l01119"></a>01119   
<a name="l01120"></a>01120   <span class="comment">//enable revert command since saved album now exists</span>
<a name="l01121"></a>01121   <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#cb1bc5b77c337250d40714a4e05d22b7">REVERT_TO_SAVED_ALBUM</a>, <span class="keyword">true</span> );    
<a name="l01122"></a>01122   
<a name="l01123"></a>01123   <span class="comment">//nolonger busy</span>
<a name="l01124"></a>01124   <a class="code" href="classTitleWidget.html#6ef0fc21342a9f356da375d926b1ddc1" title="set program busy state">setBusy</a>(<span class="keyword">false</span>);
<a name="l01125"></a>01125   <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#0e0b2584ef7fed4f7c8d5ecdb83d95e1" title="Activates/Deactives create/delete buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l01126"></a>01126   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>() != NULL)
<a name="l01127"></a>01127     <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>()-&gt;<a class="code" href="classSubalbumWidget.html#1e7ff140164626b37ede3d5ae02c0a39" title="Activates/Deactives remove/rotate buttons.">updateButtons</a>(<span class="keyword">true</span>);
<a name="l01128"></a>01128   qApp-&gt;restoreOverrideCursor();
<a name="l01129"></a>01129 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="be1692e920487299871e055ef9b2223a"></a><!-- doxytag: member="TitleWidget::setAlbum" ref="be1692e920487299871e055ef9b2223a" args="(Album *val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::setAlbum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAlbum.html">Album</a> *&nbsp;</td>
          <td class="paramname"> <em>val</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets new pointer to the album object. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00480">480</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00481"></a>00481 {
<a name="l00482"></a>00482   <span class="comment">//delete old album</span>
<a name="l00483"></a>00483   <span class="keyword">delete</span> <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>;
<a name="l00484"></a>00484   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a> = val;
<a name="l00485"></a>00485 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="87d88075b08321a84377f58eff477a7c"></a><!-- doxytag: member="TitleWidget::setAlbumImage" ref="87d88075b08321a84377f58eff477a7c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::setAlbumImage           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the <a class="el" href="classAlbum.html" title="An album contains Subalbums.">Album</a> Image. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00492">492</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00585">SubalbumWidget::getSelectedPhoto()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01282">dropEvent()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00493"></a>00493 {
<a name="l00494"></a>00494   <span class="comment">//---------------------------------------------------------</span>
<a name="l00495"></a>00495   <span class="comment">//determine if a subalbum is even selected</span>
<a name="l00496"></a>00496   <a class="code" href="classSubalbumWidget.html" title="Displays subalbum layout.">SubalbumWidget</a>* sw = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>();
<a name="l00497"></a>00497   <span class="keywordflow">if</span>(sw == NULL)
<a name="l00498"></a>00498     <span class="keywordflow">return</span>;
<a name="l00499"></a>00499   <span class="comment">//---------------------------------------------------------</span>
<a name="l00500"></a>00500   <span class="comment">//set image to photo</span>
<a name="l00501"></a>00501   <a class="code" href="classTitleWidget.html#87d88075b08321a84377f58eff477a7c" title="Sets the Album Image.">setAlbumImage</a>( sw-&gt;<a class="code" href="classSubalbumWidget.html#08a6ad175432af3b13028550f7fec167" title="Returns currently selected photo. If no or multiple photos selected returns NULL...">getSelectedPhoto</a>() );
<a name="l00502"></a>00502 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="3ec54bf8abbdadd11bb7512b15d15359"></a><!-- doxytag: member="TitleWidget::setAlbumImage" ref="3ec54bf8abbdadd11bb7512b15d15359" args="(Photo *photo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::setAlbumImage           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPhoto.html">Photo</a> *&nbsp;</td>
          <td class="paramname"> <em>photo</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the album image to the passed in photo. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00504">504</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="titleWidget_8h_source.html#l00240">albumImage</a>, <a class="el" href="photo_8cpp_source.html#l00191">Photo::getImageFilename()</a>, <a class="el" href="album_8cpp_source.html#l00128">Album::getRepresentativeImage()</a>, <a class="el" href="ALabel_8cpp_source.html#l00077">ALabel::setPixmap()</a>, <a class="el" href="album_8cpp_source.html#l00186">Album::setRepresentativeImages()</a>, and <a class="el" href="album_8h_source.html#l00015">SMALL</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00505"></a>00505 {
<a name="l00506"></a>00506   <span class="keywordflow">if</span>(selectedPhoto == NULL)
<a name="l00507"></a>00507     <span class="keywordflow">return</span>;
<a name="l00508"></a>00508   <span class="comment">//---------------------------------------------------------</span>
<a name="l00509"></a>00509   <span class="comment">//set album image</span>
<a name="l00510"></a>00510   qApp-&gt;setOverrideCursor( QCursor(Qt::WaitCursor));
<a name="l00511"></a>00511   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#0d274af74a8da73608b3dc70a3a1eb4c" title="Sets the representative image.">setRepresentativeImages</a>( selectedPhoto-&gt;getImageFilename() );
<a name="l00512"></a>00512   <span class="comment">//---------------------------------------------------------</span>
<a name="l00513"></a>00513   <span class="comment">//update onscreen image</span>
<a name="l00514"></a>00514   <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a>-&gt;<a class="code" href="classALabel.html#d513cece6e846f2bfa4261dafa270c25" title="animates setting an image">setPixmap</a>( *<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#fa2da20aeb08bf27c10243a8886a32c8" title="Returns the representative image.">getRepresentativeImage</a>(<a class="code" href="album_8h.html#09c78d2f8feb311dd9fc969a0bf84979">SMALL</a>) );
<a name="l00515"></a>00515   qApp-&gt;restoreOverrideCursor();
<a name="l00516"></a>00516   <span class="comment">//---------------------------------------------------------</span>
<a name="l00517"></a>00517 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="6ef0fc21342a9f356da375d926b1ddc1"></a><!-- doxytag: member="TitleWidget::setBusy" ref="6ef0fc21342a9f356da375d926b1ddc1" args="(bool val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::setBusy           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>val</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
set program busy state 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01251">1251</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00276">busy</a>, <a class="el" href="titleWidget_8h_source.html#l00208">file</a>, <a class="el" href="titleWidget_8h_source.html#l00282">NEW_ALBUM</a>, <a class="el" href="titleWidget_8h_source.html#l00283">OPEN_ALBUM</a>, <a class="el" href="titleWidget_8h_source.html#l00284">SAVE_ALBUM</a>, and <a class="el" href="titleWidget_8h_source.html#l00285">SAVEAS_ALBUM</a>.</p>

<p>Referenced by <a class="el" href="subalbumWidget_8cpp_source.html#l00263">SubalbumWidget::addImageAction()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00800">exportLargeImages()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00700">exportSmallWebGallery()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00317">SubalbumWidget::removeImageAction()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00466">SubalbumWidget::rotate270ImageAction()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00415">SubalbumWidget::rotate90ImageAction()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01252"></a>01252 {
<a name="l01253"></a>01253   <a class="code" href="classTitleWidget.html#f099ad78e415588fd752299d4d89b1ad" title="Is the program currently busy? helps block other operations.">busy</a> = val;
<a name="l01254"></a>01254 
<a name="l01255"></a>01255   <span class="comment">//disable/enable file operations</span>
<a name="l01256"></a>01256   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#f099ad78e415588fd752299d4d89b1ad" title="Is the program currently busy? helps block other operations.">busy</a>)
<a name="l01257"></a>01257   {
<a name="l01258"></a>01258     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled(<a class="code" href="classTitleWidget.html#8a8cb3cef531a8c9b366309ef3cbbe21">NEW_ALBUM</a>, <span class="keyword">false</span>);
<a name="l01259"></a>01259     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled(<a class="code" href="classTitleWidget.html#7d044f1db758f6b1b64115288ba8397b">OPEN_ALBUM</a>, <span class="keyword">false</span>);
<a name="l01260"></a>01260     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled(<a class="code" href="classTitleWidget.html#f4b971e942e195ae816e4461d7d409da">SAVE_ALBUM</a>, <span class="keyword">false</span>);
<a name="l01261"></a>01261     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled(<a class="code" href="classTitleWidget.html#88195357ad2bf5cd403ad4c9978dd9f2">SAVEAS_ALBUM</a>, <span class="keyword">false</span>);
<a name="l01262"></a>01262   }
<a name="l01263"></a>01263   <span class="keywordflow">else</span>
<a name="l01264"></a>01264   {
<a name="l01265"></a>01265     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled(<a class="code" href="classTitleWidget.html#8a8cb3cef531a8c9b366309ef3cbbe21">NEW_ALBUM</a>, <span class="keyword">true</span>);
<a name="l01266"></a>01266     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled(<a class="code" href="classTitleWidget.html#7d044f1db758f6b1b64115288ba8397b">OPEN_ALBUM</a>, <span class="keyword">true</span>);
<a name="l01267"></a>01267     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled(<a class="code" href="classTitleWidget.html#f4b971e942e195ae816e4461d7d409da">SAVE_ALBUM</a>, <span class="keyword">true</span>);
<a name="l01268"></a>01268     <a class="code" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec" title="File menu.">file</a>-&gt;setItemEnabled(<a class="code" href="classTitleWidget.html#88195357ad2bf5cd403ad4c9978dd9f2">SAVEAS_ALBUM</a>, <span class="keyword">true</span>);
<a name="l01269"></a>01269   }
<a name="l01270"></a>01270 }
</pre></div>
<p>

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

<p>
Sets the <a class="el" href="classSubalbum.html" title="A subalbum contains photos.">Subalbum</a> Image. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00524">524</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00585">SubalbumWidget::getSelectedPhoto()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01282">dropEvent()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00525"></a>00525 {
<a name="l00526"></a>00526   <span class="comment">//---------------------------------------------------------</span>
<a name="l00527"></a>00527   <span class="comment">//determine if a subalbum is even selected</span>
<a name="l00528"></a>00528   <a class="code" href="classSubalbumWidget.html" title="Displays subalbum layout.">SubalbumWidget</a>* sw = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>();
<a name="l00529"></a>00529   <span class="keywordflow">if</span>(sw == NULL)
<a name="l00530"></a>00530     <span class="keywordflow">return</span>;
<a name="l00531"></a>00531   <span class="comment">//---------------------------------------------------------</span>
<a name="l00532"></a>00532   <span class="comment">//set collection image to selected photo</span>
<a name="l00533"></a>00533   <a class="code" href="classTitleWidget.html#ac9c9d9fca153ad5a6d3121b2659c29d" title="Sets the Subalbum Image.">setSubalbumImage</a>( sw-&gt;<a class="code" href="classSubalbumWidget.html#08a6ad175432af3b13028550f7fec167" title="Returns currently selected photo. If no or multiple photos selected returns NULL...">getSelectedPhoto</a>() );
<a name="l00534"></a>00534 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="488de65f41c61f9dc0650018e9c9e38f"></a><!-- doxytag: member="TitleWidget::setSubalbumImage" ref="488de65f41c61f9dc0650018e9c9e38f" args="(Photo *photo)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::setSubalbumImage           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPhoto.html">Photo</a> *&nbsp;</td>
          <td class="paramname"> <em>photo</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the subalbum image to the passed in photo. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00536">536</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="subalbumsWidget_8cpp_source.html#l00232">SubalbumsWidget::getCurrentSelection()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="subalbum_8cpp_source.html#l00086">Subalbum::getRepresentativeImage()</a>, <a class="el" href="subalbumWidget_8cpp_source.html#l00580">SubalbumWidget::getSubalbum()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00094">LayoutWidget::getSubalbum()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00099">LayoutWidget::getSubalbums()</a>, <a class="el" href="photo_8cpp_source.html#l00193">Photo::getThumbnailFilename()</a>, <a class="el" href="album_8h_source.html#l00016">MEDIUM</a>, <a class="el" href="ALabel_8cpp_source.html#l00077">ALabel::setPixmap()</a>, <a class="el" href="subalbum_8cpp_source.html#l00124">Subalbum::setRepresentativeImage()</a>, <a class="el" href="album_8h_source.html#l00015">SMALL</a>, <a class="el" href="titleWidget_8h_source.html#l00251">subalbumImage</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00537"></a>00537 {
<a name="l00538"></a>00538   <span class="keywordflow">if</span>(selectedPhoto == NULL)
<a name="l00539"></a>00539     <span class="keywordflow">return</span>;
<a name="l00540"></a>00540 
<a name="l00541"></a>00541   <span class="comment">//---------------------------------------------------------</span>
<a name="l00542"></a>00542   <span class="comment">//set subalbum image</span>
<a name="l00543"></a>00543   qApp-&gt;setOverrideCursor( QCursor(Qt::WaitCursor));
<a name="l00544"></a>00544   <a class="code" href="classSubalbumWidget.html" title="Displays subalbum layout.">SubalbumWidget</a>* sw = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#5255327976cceb4c6150936683c08714" title="Returns a pointer to the subalbum.">getSubalbum</a>();
<a name="l00545"></a>00545   sw-&gt;<a class="code" href="classSubalbumWidget.html#c02ec35e2bcb4e2e76b545e316bb9333" title="returns a pointer to the backend subalbum">getSubalbum</a>()-&gt;<a class="code" href="classSubalbum.html#61c23c492eef5def5d3aefa85e785433" title="sets a sized representative image">setRepresentativeImage</a>( selectedPhoto-&gt;getThumbnailFilename() );  
<a name="l00546"></a>00546   <span class="comment">//---------------------------------------------------------</span>
<a name="l00547"></a>00547   <span class="comment">//update onscreen image</span>
<a name="l00548"></a>00548   <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>-&gt;<a class="code" href="classALabel.html#d513cece6e846f2bfa4261dafa270c25" title="animates setting an image">setPixmap</a>( *sw-&gt;<a class="code" href="classSubalbumWidget.html#c02ec35e2bcb4e2e76b545e316bb9333" title="returns a pointer to the backend subalbum">getSubalbum</a>()-&gt;<a class="code" href="classSubalbum.html#9bd87802ff9f634579c35d4a399c1227" title="gets a sized representative image">getRepresentativeImage</a>(<a class="code" href="album_8h.html#09c78d2f8feb311dd9fc969a0bf84979">SMALL</a>) );
<a name="l00549"></a>00549   <a class="code" href="classSubalbumPreviewWidget.html" title="Displays subalbum icon and name.">SubalbumPreviewWidget</a>* item = (<a class="code" href="classSubalbumPreviewWidget.html" title="Displays subalbum icon and name.">SubalbumPreviewWidget</a>*)<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#a3dd8c5b8baab3e18b64231a47671c1f" title="Returns current selection.">getCurrentSelection</a>();
<a name="l00550"></a>00550   item-&gt;setPixmap( *sw-&gt;<a class="code" href="classSubalbumWidget.html#c02ec35e2bcb4e2e76b545e316bb9333" title="returns a pointer to the backend subalbum">getSubalbum</a>()-&gt;<a class="code" href="classSubalbum.html#9bd87802ff9f634579c35d4a399c1227" title="gets a sized representative image">getRepresentativeImage</a>(<a class="code" href="album_8h.html#455b219d48b21108576f53129be38c32">MEDIUM</a>), false );
<a name="l00551"></a>00551   qApp-&gt;restoreOverrideCursor();
<a name="l00552"></a>00552   <span class="comment">//---------------------------------------------------------</span>
<a name="l00553"></a>00553 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="9540a36db873dcf590e8df6d8b5f2fe9"></a><!-- doxytag: member="TitleWidget::settings" ref="9540a36db873dcf590e8df6d8b5f2fe9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::settings           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pops up settings window. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01174">1174</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="guiTools_8cpp_source.html#l00025">centerWindow()</a>, <a class="el" href="window_8cpp_source.html#l00229">Window::getConfig()</a>, <a class="el" href="titleWidget_8h_source.html#l00267">settingsWindow</a>, <a class="el" href="titleWidget_8cpp_source.html#l01240">settingsWindowClosed()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01175"></a>01175 {
<a name="l01176"></a>01176   <span class="comment">//create window and center if not already present</span>
<a name="l01177"></a>01177   <span class="keywordflow">if</span>(<a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a> == NULL)
<a name="l01178"></a>01178   {
<a name="l01179"></a>01179     <a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a> = <span class="keyword">new</span> <a class="code" href="classConfigurationWidget.html" title="Configuration/Settings Interface.">ConfigurationWidget</a>( <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#ec811812e8330b6a01ee9b424b98935b" title="get setting object">getConfig</a>() );
<a name="l01180"></a>01180     connect( <a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a>, SIGNAL(closed()),
<a name="l01181"></a>01181                   <span class="keyword">this</span>, SLOT(<a class="code" href="classTitleWidget.html#06f77c30ca2b2b4cda079854f2249fad">settingsWindowClosed</a>()));
<a name="l01182"></a>01182     <a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a>-&gt;show();
<a name="l01183"></a>01183     <a class="code" href="guiTools_8cpp.html#83ad2663db4147621f3ff0007e27bbdb">centerWindow</a>(<a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a>);
<a name="l01184"></a>01184   }
<a name="l01185"></a>01185 
<a name="l01186"></a>01186   <a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a>-&gt;raise();
<a name="l01187"></a>01187   <a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a>-&gt;setActiveWindow();
<a name="l01188"></a>01188 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="06f77c30ca2b2b4cda079854f2249fad"></a><!-- doxytag: member="TitleWidget::settingsWindowClosed" ref="06f77c30ca2b2b4cda079854f2249fad" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::settingsWindowClosed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01240">1240</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00267">settingsWindow</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01174">settings()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01241"></a>01241 {
<a name="l01242"></a>01242   <span class="keyword">delete</span> <a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a>;
<a name="l01243"></a>01243   <a class="code" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685" title="Settings dialog pointer.">settingsWindow</a> = NULL;
<a name="l01244"></a>01244 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="6b3aaa010d1f04c8c60078fafb0c70d8"></a><!-- doxytag: member="TitleWidget::storeAnnotations" ref="6b3aaa010d1f04c8c60078fafb0c70d8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::storeAnnotations           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Store annotations. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00398">398</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="titleWidget_8h_source.html#l00246">albumAuthorVal</a>, <a class="el" href="titleWidget_8h_source.html#l00244">albumDescriptionVal</a>, <a class="el" href="titleWidget_8h_source.html#l00242">albumNameVal</a>, <a class="el" href="titleWidget_8h_source.html#l00279">detectModifications</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="subalbum_8cpp_source.html#l00083">Subalbum::getName()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00234">SubalbumsWidget::getSelectedSubalbum()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00099">LayoutWidget::getSubalbums()</a>, <a class="el" href="album_8cpp_source.html#l00177">Album::setAuthor()</a>, <a class="el" href="subalbum_8cpp_source.html#l00115">Subalbum::setDescription()</a>, <a class="el" href="album_8cpp_source.html#l00168">Album::setDescription()</a>, <a class="el" href="subalbum_8cpp_source.html#l00106">Subalbum::setName()</a>, <a class="el" href="album_8cpp_source.html#l00159">Album::setName()</a>, <a class="el" href="titleWidget_8h_source.html#l00255">subalbumDescriptionVal</a>, <a class="el" href="classTitleWidget.html#75597980fefdd43ede4655cd21b2d0e8">subalbumNameChanged()</a>, <a class="el" href="titleWidget_8h_source.html#l00253">subalbumNameVal</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00399"></a>00399 {
<a name="l00400"></a>00400   <span class="comment">//only sync backend album/collection data when detectModifications is enabled</span>
<a name="l00401"></a>00401   <span class="keywordflow">if</span>( !<a class="code" href="classTitleWidget.html#06626730776a06b84970c5eee1ce0eaa">detectModifications</a> ) <span class="keywordflow">return</span>;
<a name="l00402"></a>00402 
<a name="l00403"></a>00403   <span class="comment">//set album annotations</span>
<a name="l00404"></a>00404   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#7da5a41b725e53faa510f2e294dbb79e" title="Sets the album name.">setName</a>        ( <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>-&gt;text()        );
<a name="l00405"></a>00405   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#c0428dd9428150736948ffc6daf32431" title="Sets the album description.">setDescription</a> ( <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>-&gt;text() );
<a name="l00406"></a>00406   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#1a36ff4f8eb2427fcc4a161ed98275c8" title="Sets the album author.">setAuthor</a>      ( <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>-&gt;text()      );
<a name="l00407"></a>00407 
<a name="l00408"></a>00408   <span class="comment">//get subalbum pointer</span>
<a name="l00409"></a>00409   <a class="code" href="classSubalbum.html" title="A subalbum contains photos.">Subalbum</a>* collection = <a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#7de8f9e1b842ec9f7e450f6094fa9755" title="Returns the currently selected subalbum.">getSelectedSubalbum</a>();
<a name="l00410"></a>00410   <span class="keywordflow">if</span>(collection != NULL )
<a name="l00411"></a>00411   {
<a name="l00412"></a>00412     <span class="comment">//store old subalbum name</span>
<a name="l00413"></a>00413     QString oldName =  collection-&gt;<a class="code" href="classSubalbum.html#9d735164fdf19535c1dce8ba995c8a48" title="Gets the Subalbum Name.">getName</a>();
<a name="l00414"></a>00414 
<a name="l00415"></a>00415     <span class="comment">//set name and description</span>
<a name="l00416"></a>00416     collection-&gt;<a class="code" href="classSubalbum.html#8735ad9f854b8019e4351c1536576eb1" title="Sets the Subalbum Name.">setName</a>(  <a class="code" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">subalbumNameVal</a>-&gt;text()   );
<a name="l00417"></a>00417     collection-&gt;<a class="code" href="classSubalbum.html#c8e40e8b636ab289956b5a0568cd296b" title="Sets the Subalbum description.">setDescription</a>(  <a class="code" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">subalbumDescriptionVal</a>-&gt;text()   );
<a name="l00418"></a>00418 
<a name="l00419"></a>00419     <span class="comment">//if subalbum name has changed emit signal</span>
<a name="l00420"></a>00420     <span class="keywordflow">if</span>(oldName.compare( collection-&gt;<a class="code" href="classSubalbum.html#9d735164fdf19535c1dce8ba995c8a48" title="Gets the Subalbum Name.">getName</a>() ) != 0)
<a name="l00421"></a>00421       emit <a class="code" href="classTitleWidget.html#75597980fefdd43ede4655cd21b2d0e8" title="Emitted when user changes subalbum name.">subalbumNameChanged</a>();
<a name="l00422"></a>00422   }
<a name="l00423"></a>00423 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="75597980fefdd43ede4655cd21b2d0e8"></a><!-- doxytag: member="TitleWidget::subalbumNameChanged" ref="75597980fefdd43ede4655cd21b2d0e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::subalbumNameChanged           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when user changes subalbum name. 
<p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1feecf52dce3b33de282fde0e7f35b7b"></a><!-- doxytag: member="TitleWidget::unsetAlbumImage" ref="1feecf52dce3b33de282fde0e7f35b7b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::unsetAlbumImage           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Unsets the <a class="el" href="classAlbum.html" title="An album contains Subalbums.">Album</a> Image. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00519">519</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, and <a class="el" href="album_8cpp_source.html#l00186">Album::setRepresentativeImages()</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00520"></a>00520 {
<a name="l00521"></a>00521   <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#0d274af74a8da73608b3dc70a3a1eb4c" title="Sets the representative image.">setRepresentativeImages</a>( QString::null );
<a name="l00522"></a>00522 }
</pre></div>
<p>

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

<p>
Unsets the <a class="el" href="classSubalbum.html" title="A subalbum contains photos.">Subalbum</a> Image. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00555">555</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="subalbumsWidget_8cpp_source.html#l00232">SubalbumsWidget::getCurrentSelection()</a>, <a class="el" href="window_8cpp_source.html#l00187">Window::getLayout()</a>, <a class="el" href="subalbum_8cpp_source.html#l00086">Subalbum::getRepresentativeImage()</a>, <a class="el" href="layoutWidget_8cpp_source.html#l00099">LayoutWidget::getSubalbums()</a>, <a class="el" href="album_8h_source.html#l00016">MEDIUM</a>, <a class="el" href="subalbum_8cpp_source.html#l00124">Subalbum::setRepresentativeImage()</a>, and <a class="el" href="titleWidget_8h_source.html#l00261">window</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00556"></a>00556 {
<a name="l00557"></a>00557   <a class="code" href="classSubalbumPreviewWidget.html" title="Displays subalbum icon and name.">SubalbumPreviewWidget</a>* item = (<a class="code" href="classSubalbumPreviewWidget.html" title="Displays subalbum icon and name.">SubalbumPreviewWidget</a>*)<a class="code" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327" title="Window pointer.">window</a>-&gt;<a class="code" href="classWindow.html#28288fa350835ef1ddfc8709c5299d1a" title="returns a pointer to the layout object">getLayout</a>()-&gt;<a class="code" href="classLayoutWidget.html#e8f37ccb7560209b1dba692aebad6648" title="Returns a pointer to the subalbums.">getSubalbums</a>()-&gt;<a class="code" href="classSubalbumsWidget.html#a3dd8c5b8baab3e18b64231a47671c1f" title="Returns current selection.">getCurrentSelection</a>();
<a name="l00558"></a>00558   <span class="keywordflow">if</span>(item != NULL &amp;&amp; ((<a class="code" href="classSubalbumPreviewWidget.html" title="Displays subalbum icon and name.">SubalbumPreviewWidget</a>*)item)-&gt;getSubalbum() != NULL)
<a name="l00559"></a>00559   {
<a name="l00560"></a>00560     <a class="code" href="classSubalbum.html" title="A subalbum contains photos.">Subalbum</a>* subalbm =  ((<a class="code" href="classSubalbumPreviewWidget.html" title="Displays subalbum icon and name.">SubalbumPreviewWidget</a>*)item)-&gt;getSubalbum();
<a name="l00561"></a>00561     subalbm-&gt;<a class="code" href="classSubalbum.html#61c23c492eef5def5d3aefa85e785433" title="sets a sized representative image">setRepresentativeImage</a>( QString::null );
<a name="l00562"></a>00562     item-&gt;setPixmap( *subalbm-&gt;<a class="code" href="classSubalbum.html#9bd87802ff9f634579c35d4a399c1227" title="gets a sized representative image">getRepresentativeImage</a>(<a class="code" href="album_8h.html#455b219d48b21108576f53129be38c32">MEDIUM</a>), false );
<a name="l00563"></a>00563   }
<a name="l00564"></a>00564 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="78a626f9617ca7b537fddf77098d66bc"></a><!-- doxytag: member="TitleWidget::updateAlbumAnnotations" ref="78a626f9617ca7b537fddf77098d66bc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::updateAlbumAnnotations           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Updates subalbum annotations. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00425">425</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00258">albm</a>, <a class="el" href="titleWidget_8h_source.html#l00246">albumAuthorVal</a>, <a class="el" href="titleWidget_8h_source.html#l00244">albumDescriptionVal</a>, <a class="el" href="titleWidget_8h_source.html#l00240">albumImage</a>, <a class="el" href="titleWidget_8h_source.html#l00242">albumNameVal</a>, <a class="el" href="titleWidget_8h_source.html#l00279">detectModifications</a>, <a class="el" href="album_8cpp_source.html#l00126">Album::getAuthor()</a>, <a class="el" href="album_8cpp_source.html#l00125">Album::getDescription()</a>, <a class="el" href="album_8cpp_source.html#l00124">Album::getName()</a>, <a class="el" href="album_8cpp_source.html#l00128">Album::getRepresentativeImage()</a>, <a class="el" href="album_8h_source.html#l00017">LARGE</a>, <a class="el" href="ALabel_8cpp_source.html#l00132">ALabel::removePixmap()</a>, <a class="el" href="ALabel_8cpp_source.html#l00077">ALabel::setPixmap()</a>, and <a class="el" href="album_8h_source.html#l00015">SMALL</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00566">refresh()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00426"></a>00426 {
<a name="l00427"></a>00427   <span class="comment">//disable modification detection while updating fields</span>
<a name="l00428"></a>00428   <a class="code" href="classTitleWidget.html#06626730776a06b84970c5eee1ce0eaa">detectModifications</a> = <span class="keyword">false</span>;
<a name="l00429"></a>00429 
<a name="l00430"></a>00430   <span class="comment">//set album annotations</span>
<a name="l00431"></a>00431 
<a name="l00432"></a>00432   <span class="comment">//if no image then remove pixmap</span>
<a name="l00433"></a>00433   <span class="keywordflow">if</span>( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#fa2da20aeb08bf27c10243a8886a32c8" title="Returns the representative image.">getRepresentativeImage</a>(<a class="code" href="album_8h.html#c27c2124ca2aed651e06aba3a1468ecb">LARGE</a>) != NULL)
<a name="l00434"></a>00434     <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a>-&gt;<a class="code" href="classALabel.html#d513cece6e846f2bfa4261dafa270c25" title="animates setting an image">setPixmap</a>( *<a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#fa2da20aeb08bf27c10243a8886a32c8" title="Returns the representative image.">getRepresentativeImage</a>(<a class="code" href="album_8h.html#09c78d2f8feb311dd9fc969a0bf84979">SMALL</a>) );
<a name="l00435"></a>00435   <span class="keywordflow">else</span>
<a name="l00436"></a>00436     <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a>-&gt;<a class="code" href="classALabel.html#e0b0ff246381ec3d2da4e1710ad885c1" title="animates removing an image">removePixmap</a>();
<a name="l00437"></a>00437 
<a name="l00438"></a>00438   <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>-&gt;setText( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#f10928e547a4403df72008364544cea6" title="Gets the album name.">getName</a>() );
<a name="l00439"></a>00439   <a class="code" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">albumNameVal</a>-&gt;setCursorPosition(0);
<a name="l00440"></a>00440   <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>-&gt;setText( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#3bdf12802801aa407d4d97174a1f113e" title="Gets the album description.">getDescription</a>() );
<a name="l00441"></a>00441   <a class="code" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">albumDescriptionVal</a>-&gt;setCursorPosition(0);
<a name="l00442"></a>00442   <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>-&gt;setText( <a class="code" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e" title="Backend album object.">albm</a>-&gt;<a class="code" href="classAlbum.html#bdc580d144c7ba57affa56fc88c36d22" title="Gets the album author.">getAuthor</a>() );
<a name="l00443"></a>00443   <a class="code" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">albumAuthorVal</a>-&gt;setCursorPosition(0);
<a name="l00444"></a>00444 
<a name="l00445"></a>00445   <span class="comment">//enable modification detection</span>
<a name="l00446"></a>00446   <a class="code" href="classTitleWidget.html#06626730776a06b84970c5eee1ce0eaa">detectModifications</a> = <span class="keyword">true</span>;
<a name="l00447"></a>00447 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="857e73e3c89bcb5091bba375255649a9"></a><!-- doxytag: member="TitleWidget::updateMenus" ref="857e73e3c89bcb5091bba375255649a9" args="(bool anySelected=false, bool anyRevertable=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::updateMenus           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>anySelected</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>anyRevertable</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
update begin presentation menu entry - disabled when no photos in album 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01545">1545</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00218">photoMenu</a>, <a class="el" href="titleWidget_8h_source.html#l00291">REMOVE_DESCRIPTIONS</a>, and <a class="el" href="titleWidget_8h_source.html#l00292">REVERT_PHOTOS</a>.</p>

<p>Referenced by <a class="el" href="subalbumWidget_8cpp_source.html#l00263">SubalbumWidget::addImageAction()</a>, <a class="el" href="subalbumsWidget_8cpp_source.html#l00139">SubalbumsWidget::deleteAction()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, and <a class="el" href="layoutWidget_8cpp_source.html#l00174">LayoutWidget::photoStateChangedEvent()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01546"></a>01546 {
<a name="l01547"></a>01547   <span class="comment">//no photos? disable begin presentation command</span>
<a name="l01548"></a>01548 <span class="comment">//  tools-&gt;setItemEnabled( BEGIN_PRESENTATION, albm-&gt;getNumPhotos() != 0 );</span>
<a name="l01549"></a>01549 <span class="comment">//  tools-&gt;setItemEnabled( BEGIN_PRESENTATION_AT, albm-&gt;getNumPhotos() != 0 );  </span>
<a name="l01550"></a>01550 
<a name="l01551"></a>01551   <span class="comment">//none selected? disable removing photo descriptions</span>
<a name="l01552"></a>01552   <a class="code" href="classTitleWidget.html#8056757c1246b3dece481f5b47c261fc" title="Photos menu.">photoMenu</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#0ee367f4e578eacc20044f01a5db3383" title="photos menu item id&amp;#39;s">REMOVE_DESCRIPTIONS</a>, anySelected );
<a name="l01553"></a>01553 
<a name="l01554"></a>01554   <span class="comment">//none revertable? disable revert photos</span>
<a name="l01555"></a>01555   <a class="code" href="classTitleWidget.html#8056757c1246b3dece481f5b47c261fc" title="Photos menu.">photoMenu</a>-&gt;setItemEnabled( <a class="code" href="classTitleWidget.html#0c1797c6011f8866704c05b49689b318">REVERT_PHOTOS</a>, anyRevertable );
<a name="l01556"></a>01556 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="fe13bee199cee2ae3c952e12d6cb760b"></a><!-- doxytag: member="TitleWidget::useAnimation" ref="fe13bee199cee2ae3c952e12d6cb760b" args="(bool val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::useAnimation           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>val</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Use animation for rep images? 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l00373">373</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>References <a class="el" href="titleWidget_8h_source.html#l00240">albumImage</a>, <a class="el" href="ALabel_8h_source.html#l00020">FADE_TRANSITION</a>, <a class="el" href="ALabel_8cpp_source.html#l00067">ALabel::setAnimationMethods()</a>, <a class="el" href="ALabel_8h_source.html#l00016">SLIDE_IN_LEFT</a>, <a class="el" href="ALabel_8h_source.html#l00017">SLIDE_OUT_LEFT</a>, and <a class="el" href="titleWidget_8h_source.html#l00251">subalbumImage</a>.</p>

<p>Referenced by <a class="el" href="window_8cpp_source.html#l00048">Window::Window()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l00374"></a>00374 {
<a name="l00375"></a>00375   <span class="comment">//enable animation</span>
<a name="l00376"></a>00376   <span class="keywordflow">if</span>(val)
<a name="l00377"></a>00377   {
<a name="l00378"></a>00378     <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a>-&gt;<a class="code" href="classALabel.html#e28b036d2f9f34430c7935acb175f9b2" title="alter animation methods">setAnimationMethods</a>( <a class="code" href="ALabel_8h.html#1673506dc1b356a6eb1842af95aec4de">SLIDE_IN_LEFT</a>, <a class="code" href="ALabel_8h.html#4dd1193478481952320d730df65bc522">SLIDE_OUT_LEFT</a>,
<a name="l00379"></a>00379                                                                 <a class="code" href="ALabel_8h.html#0a16979a9daa6a226072cdf1dd627172">FADE_TRANSITION</a>, <a class="code" href="ALabel_8h.html#0a16979a9daa6a226072cdf1dd627172">FADE_TRANSITION</a>);
<a name="l00380"></a>00380     <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>-&gt;<a class="code" href="classALabel.html#e28b036d2f9f34430c7935acb175f9b2" title="alter animation methods">setAnimationMethods</a>( <a class="code" href="ALabel_8h.html#1673506dc1b356a6eb1842af95aec4de">SLIDE_IN_LEFT</a>, <a class="code" href="ALabel_8h.html#4dd1193478481952320d730df65bc522">SLIDE_OUT_LEFT</a>,
<a name="l00381"></a>00381                                                                 <a class="code" href="ALabel_8h.html#0a16979a9daa6a226072cdf1dd627172">FADE_TRANSITION</a>, <a class="code" href="ALabel_8h.html#0a16979a9daa6a226072cdf1dd627172">FADE_TRANSITION</a>);
<a name="l00382"></a>00382   }
<a name="l00383"></a>00383   <span class="comment">//disable animation</span>
<a name="l00384"></a>00384   <span class="keywordflow">else</span>
<a name="l00385"></a>00385   {
<a name="l00386"></a>00386     <a class="code" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">albumImage</a>-&gt;<a class="code" href="classALabel.html#e28b036d2f9f34430c7935acb175f9b2" title="alter animation methods">setAnimationMethods</a>();
<a name="l00387"></a>00387     <a class="code" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">subalbumImage</a>-&gt;<a class="code" href="classALabel.html#e28b036d2f9f34430c7935acb175f9b2" title="alter animation methods">setAnimationMethods</a>();
<a name="l00388"></a>00388   }
<a name="l00389"></a>00389 }
</pre></div>
<p>

</div>
</div><p>
<a class="anchor" name="0a6f3639ae6754822b109705d13a0b6c"></a><!-- doxytag: member="TitleWidget::windowStateChanged" ref="0a6f3639ae6754822b109705d13a0b6c" args="(bool state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TitleWidget::windowStateChanged           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>state</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enables/disables "minimize" window menu entry depending on window state. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8cpp_source.html#l01353">1353</a> of file <a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a>.</p>

<p>Referenced by <a class="el" href="window_8cpp_source.html#l00322">Window::event()</a>, <a class="el" href="window_8cpp_source.html#l00339">Window::hideEvent()</a>, and <a class="el" href="window_8cpp_source.html#l00345">Window::showEvent()</a>.</p>
<div class="fragment"><pre class="fragment"><a name="l01354"></a>01354 { 
<a name="l01355"></a>01355 <span class="comment">//Do nothing </span>
<a name="l01356"></a>01356 }
</pre></div>
<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="85fc109708b6425ee1d1959339cbb8a6"></a><!-- doxytag: member="TitleWidget::about" ref="85fc109708b6425ee1d1959339cbb8a6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAbout.html">About</a>* <a class="el" href="classTitleWidget.html#85fc109708b6425ee1d1959339cbb8a6">TitleWidget::about</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classAbout.html" title="About window widget.">About</a> dialog pointer. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00270">270</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01228">aboutClosed()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01190">aboutProgram()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f348bef020120ae4b9acacc622fcf21e"></a><!-- doxytag: member="TitleWidget::albm" ref="f348bef020120ae4b9acacc622fcf21e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAlbum.html">Album</a>* <a class="el" href="classTitleWidget.html#f348bef020120ae4b9acacc622fcf21e">TitleWidget::albm</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Backend album object. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00258">258</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01131">albumStatistics()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00487">getAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00659">proceedWithLoad()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00676">revertToSaved()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00480">setAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00504">setAlbumImage()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00519">unsetAlbumImage()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00425">updateAlbumAnnotations()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00391">~TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d81b2f98233c40e0c12a927efa5c8526"></a><!-- doxytag: member="TitleWidget::albumAnnotationFrame" ref="d81b2f98233c40e0c12a927efa5c8526" 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="classTitleWidget.html#d81b2f98233c40e0c12a927efa5c8526">TitleWidget::albumAnnotationFrame</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00239">239</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c9129ef685713a76946d72e30db09b4c"></a><!-- doxytag: member="TitleWidget::albumAnnotationGrid" ref="c9129ef685713a76946d72e30db09b4c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QGridLayout* <a class="el" href="classTitleWidget.html#c9129ef685713a76946d72e30db09b4c">TitleWidget::albumAnnotationGrid</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classAlbum.html" title="An album contains Subalbums.">Album</a> annotation grid. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00238">238</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d17384839fe7c4d06f6b42d9eab7c741"></a><!-- doxytag: member="TitleWidget::albumAuthor" ref="d17384839fe7c4d06f6b42d9eab7c741" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQLabel.html">QLabel</a>* <a class="el" href="classTitleWidget.html#d17384839fe7c4d06f6b42d9eab7c741">TitleWidget::albumAuthor</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00245">245</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="513032b7c7b2b19d637c6f55bb482b10"></a><!-- doxytag: member="TitleWidget::albumAuthorVal" ref="513032b7c7b2b19d637c6f55bb482b10" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QLineEdit* <a class="el" href="classTitleWidget.html#513032b7c7b2b19d637c6f55bb482b10">TitleWidget::albumAuthorVal</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00246">246</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00425">updateAlbumAnnotations()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5ffa7cd7792215b062f40bb9c21149f1"></a><!-- doxytag: member="TitleWidget::albumDescription" ref="5ffa7cd7792215b062f40bb9c21149f1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQLabel.html">QLabel</a>* <a class="el" href="classTitleWidget.html#5ffa7cd7792215b062f40bb9c21149f1">TitleWidget::albumDescription</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00243">243</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="41fa3431a5c4d0e729bd973141110200"></a><!-- doxytag: member="TitleWidget::albumDescriptionVal" ref="41fa3431a5c4d0e729bd973141110200" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QLineEdit* <a class="el" href="classTitleWidget.html#41fa3431a5c4d0e729bd973141110200">TitleWidget::albumDescriptionVal</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00244">244</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00425">updateAlbumAnnotations()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7f3e780d280b0263bbd067c993abc817"></a><!-- doxytag: member="TitleWidget::albumImage" ref="7f3e780d280b0263bbd067c993abc817" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classALabel.html">ALabel</a>* <a class="el" href="classTitleWidget.html#7f3e780d280b0263bbd067c993abc817">TitleWidget::albumImage</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00240">240</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00504">setAlbumImage()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00425">updateAlbumAnnotations()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00373">useAnimation()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a47d0bfd934ade0043fd6d91772a1ce5"></a><!-- doxytag: member="TitleWidget::albumName" ref="a47d0bfd934ade0043fd6d91772a1ce5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQLabel.html">QLabel</a>* <a class="el" href="classTitleWidget.html#a47d0bfd934ade0043fd6d91772a1ce5">TitleWidget::albumName</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00241">241</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b3aeafb68934851c1769ff1895f273b2"></a><!-- doxytag: member="TitleWidget::albumNameVal" ref="b3aeafb68934851c1769ff1895f273b2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QLineEdit* <a class="el" href="classTitleWidget.html#b3aeafb68934851c1769ff1895f273b2">TitleWidget::albumNameVal</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00242">242</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00425">updateAlbumAnnotations()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cd024aa9515c75c6f0ada4caf2e8e768"></a><!-- doxytag: member="TitleWidget::albumStats" ref="cd024aa9515c75c6f0ada4caf2e8e768" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAlbumStatistics.html">AlbumStatistics</a>* <a class="el" href="classTitleWidget.html#cd024aa9515c75c6f0ada4caf2e8e768">TitleWidget::albumStats</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classAlbum.html" title="An album contains Subalbums.">Album</a> Statistics dialog pointer. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00264">264</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01131">albumStatistics()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01222">albumStatisticsClosed()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="47c4deb9fce35ffa91775ea984d16d25"></a><!-- doxytag: member="TitleWidget::BEGIN_PRESENTATION" ref="47c4deb9fce35ffa91775ea984d16d25" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#47c4deb9fce35ffa91775ea984d16d25">TitleWidget::BEGIN_PRESENTATION</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
tools menu item id's 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00295">295</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="70658354aadd712d44ef7cdf726bd182"></a><!-- doxytag: member="TitleWidget::BEGIN_PRESENTATION_AT" ref="70658354aadd712d44ef7cdf726bd182" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#70658354aadd712d44ef7cdf726bd182">TitleWidget::BEGIN_PRESENTATION_AT</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00296">296</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f099ad78e415588fd752299d4d89b1ad"></a><!-- doxytag: member="TitleWidget::busy" ref="f099ad78e415588fd752299d4d89b1ad" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classTitleWidget.html#f099ad78e415588fd752299d4d89b1ad">TitleWidget::busy</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Is the program currently busy? helps block other operations. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00276">276</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01246">getBusy()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1dea8d8e22e8050f748260571f563e35"></a><!-- doxytag: member="TitleWidget::cacheSetButtonState" ref="1dea8d8e22e8050f748260571f563e35" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classTitleWidget.html#1dea8d8e22e8050f748260571f563e35">TitleWidget::cacheSetButtonState</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
cached set button state 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00299">299</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="fcbd8766b7755ef197f2f61c62908e01"></a><!-- doxytag: member="TitleWidget::customRecentMenuItems" ref="fcbd8766b7755ef197f2f61c62908e01" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRecentAlbumMenuItem.html">RecentAlbumMenuItem</a>** <a class="el" href="classTitleWidget.html#fcbd8766b7755ef197f2f61c62908e01">TitleWidget::customRecentMenuItems</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00214">214</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01368">populateOpenRecentMenu()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>.</p>

</div>
</div><p>
<a class="anchor" name="06626730776a06b84970c5eee1ce0eaa"></a><!-- doxytag: member="TitleWidget::detectModifications" ref="06626730776a06b84970c5eee1ce0eaa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classTitleWidget.html#06626730776a06b84970c5eee1ce0eaa">TitleWidget::detectModifications</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00279">279</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00449">refreshCollectionAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00425">updateAlbumAnnotations()</a>.</p>

</div>
</div><p>
<a class="anchor" name="a0d5f450b656af27ae6e990acc897412"></a><!-- doxytag: member="TitleWidget::EXPORT_LARGE_IMAGES" ref="a0d5f450b656af27ae6e990acc897412" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#a0d5f450b656af27ae6e990acc897412">TitleWidget::EXPORT_LARGE_IMAGES</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00288">288</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7ec67bec22fb11814f861a60924fd8a3"></a><!-- doxytag: member="TitleWidget::EXPORT_SMALL_WEB_GALLERY" ref="7ec67bec22fb11814f861a60924fd8a3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#7ec67bec22fb11814f861a60924fd8a3">TitleWidget::EXPORT_SMALL_WEB_GALLERY</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00287">287</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6f6ee9cbb8b3312ef0bbb6cd9e8440ec"></a><!-- doxytag: member="TitleWidget::file" ref="6f6ee9cbb8b3312ef0bbb6cd9e8440ec" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPopupMenu* <a class="el" href="classTitleWidget.html#6f6ee9cbb8b3312ef0bbb6cd9e8440ec">TitleWidget::file</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
File menu. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00208">208</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="af5ecd0bdb2e217de18309c007c68050"></a><!-- doxytag: member="TitleWidget::helpMenu" ref="af5ecd0bdb2e217de18309c007c68050" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPopupMenu* <a class="el" href="classTitleWidget.html#af5ecd0bdb2e217de18309c007c68050">TitleWidget::helpMenu</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classWindow.html" title="Top level widget, encapsulates the title widget, the layout widget, and the toolbar...">Window</a> menu, only used in OSX. 
<p>
Help menu 
<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00231">231</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7843c2bdc8f88983736d563f21049d30"></a><!-- doxytag: member="TitleWidget::helpWindow" ref="7843c2bdc8f88983736d563f21049d30" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classHelpWindow.html">HelpWindow</a>* <a class="el" href="classTitleWidget.html#7843c2bdc8f88983736d563f21049d30">TitleWidget::helpWindow</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classHelpWindow.html" title="Help window widget.">HelpWindow</a> pointer. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00273">273</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01206">help()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01234">helpClosed()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4a12a8756feba3a0d890f4c9b084c0c2"></a><!-- doxytag: member="TitleWidget::mainFrame" ref="4a12a8756feba3a0d890f4c9b084c0c2" 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="classTitleWidget.html#4a12a8756feba3a0d890f4c9b084c0c2">TitleWidget::mainFrame</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00235">235</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="9374bc17732932e84431b110edac8382"></a><!-- doxytag: member="TitleWidget::mainGrid" ref="9374bc17732932e84431b110edac8382" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QGridLayout* <a class="el" href="classTitleWidget.html#9374bc17732932e84431b110edac8382">TitleWidget::mainGrid</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Main grid. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00234">234</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cd5fec8ea2b4c6a1fc5d07d37d79a713"></a><!-- doxytag: member="TitleWidget::menu" ref="cd5fec8ea2b4c6a1fc5d07d37d79a713" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMenuBar* <a class="el" href="classTitleWidget.html#cd5fec8ea2b4c6a1fc5d07d37d79a713">TitleWidget::menu</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Menubar file menu and help menu inserted in. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00205">205</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8a8cb3cef531a8c9b366309ef3cbbe21"></a><!-- doxytag: member="TitleWidget::NEW_ALBUM" ref="8a8cb3cef531a8c9b366309ef3cbbe21" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#8a8cb3cef531a8c9b366309ef3cbbe21">TitleWidget::NEW_ALBUM</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00282">282</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="37e307b5c485f9c169235ad205d67e73"></a><!-- doxytag: member="TitleWidget::numRecentMenuItems" ref="37e307b5c485f9c169235ad205d67e73" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#37e307b5c485f9c169235ad205d67e73">TitleWidget::numRecentMenuItems</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00213">213</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01368">populateOpenRecentMenu()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7d044f1db758f6b1b64115288ba8397b"></a><!-- doxytag: member="TitleWidget::OPEN_ALBUM" ref="7d044f1db758f6b1b64115288ba8397b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#7d044f1db758f6b1b64115288ba8397b">TitleWidget::OPEN_ALBUM</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00283">283</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="32942251aac30299296ff4c6ff0bca94"></a><!-- doxytag: member="TitleWidget::openRecent" ref="32942251aac30299296ff4c6ff0bca94" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPopupMenu* <a class="el" href="classTitleWidget.html#32942251aac30299296ff4c6ff0bca94">TitleWidget::openRecent</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open recent submenu. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00211">211</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01368">populateOpenRecentMenu()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="8056757c1246b3dece481f5b47c261fc"></a><!-- doxytag: member="TitleWidget::photoMenu" ref="8056757c1246b3dece481f5b47c261fc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPopupMenu* <a class="el" href="classTitleWidget.html#8056757c1246b3dece481f5b47c261fc">TitleWidget::photoMenu</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Photos menu. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00218">218</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01545">updateMenus()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c81484c3e494c6e302407621683939f4"></a><!-- doxytag: member="TitleWidget::recentAlbums" ref="c81484c3e494c6e302407621683939f4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRecentAlbums.html">RecentAlbums</a> <a class="el" href="classTitleWidget.html#c81484c3e494c6e302407621683939f4">TitleWidget::recentAlbums</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00305">305</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01359">clearOpenRecentMenu()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01540">getRecentAlbums()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00648">loadRecentAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01368">populateOpenRecentMenu()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f8fa7ee24899af8c7737a20425588fcc"></a><!-- doxytag: member="TitleWidget::recentMenuItems" ref="f8fa7ee24899af8c7737a20425588fcc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int* <a class="el" href="classTitleWidget.html#f8fa7ee24899af8c7737a20425588fcc">TitleWidget::recentMenuItems</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00212">212</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01368">populateOpenRecentMenu()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01435">refreshOpenRecentMenu()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0ee367f4e578eacc20044f01a5db3383"></a><!-- doxytag: member="TitleWidget::REMOVE_DESCRIPTIONS" ref="0ee367f4e578eacc20044f01a5db3383" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#0ee367f4e578eacc20044f01a5db3383">TitleWidget::REMOVE_DESCRIPTIONS</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
photos menu item id's 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00291">291</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01545">updateMenus()</a>.</p>

</div>
</div><p>
<a class="anchor" name="0c1797c6011f8866704c05b49689b318"></a><!-- doxytag: member="TitleWidget::REVERT_PHOTOS" ref="0c1797c6011f8866704c05b49689b318" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#0c1797c6011f8866704c05b49689b318">TitleWidget::REVERT_PHOTOS</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00292">292</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l01545">updateMenus()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cb1bc5b77c337250d40714a4e05d22b7"></a><!-- doxytag: member="TitleWidget::REVERT_TO_SAVED_ALBUM" ref="cb1bc5b77c337250d40714a4e05d22b7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#cb1bc5b77c337250d40714a4e05d22b7">TitleWidget::REVERT_TO_SAVED_ALBUM</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00286">286</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f4b971e942e195ae816e4461d7d409da"></a><!-- doxytag: member="TitleWidget::SAVE_ALBUM" ref="f4b971e942e195ae816e4461d7d409da" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#f4b971e942e195ae816e4461d7d409da">TitleWidget::SAVE_ALBUM</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00284">284</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="88195357ad2bf5cd403ad4c9978dd9f2"></a><!-- doxytag: member="TitleWidget::SAVEAS_ALBUM" ref="88195357ad2bf5cd403ad4c9978dd9f2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classTitleWidget.html#88195357ad2bf5cd403ad4c9978dd9f2">TitleWidget::SAVEAS_ALBUM</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00285">285</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01251">setBusy()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e699f341d7f31f34200d4790e8caf685"></a><!-- doxytag: member="TitleWidget::settingsWindow" ref="e699f341d7f31f34200d4790e8caf685" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classConfigurationWidget.html">ConfigurationWidget</a>* <a class="el" href="classTitleWidget.html#e699f341d7f31f34200d4790e8caf685">TitleWidget::settingsWindow</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Settings dialog pointer. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00267">267</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01174">settings()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01240">settingsWindowClosed()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="26605623993dc493176dcfbd134c9761"></a><!-- doxytag: member="TitleWidget::subalbumAnnotationFrame" ref="26605623993dc493176dcfbd134c9761" 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="classTitleWidget.html#26605623993dc493176dcfbd134c9761">TitleWidget::subalbumAnnotationFrame</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00250">250</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00449">refreshCollectionAnnotations()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="838c6b9980ab819e230d3b9936ba4b35"></a><!-- doxytag: member="TitleWidget::subalbumAnnotationGrid" ref="838c6b9980ab819e230d3b9936ba4b35" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QGridLayout* <a class="el" href="classTitleWidget.html#838c6b9980ab819e230d3b9936ba4b35">TitleWidget::subalbumAnnotationGrid</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classSubalbum.html" title="A subalbum contains photos.">Subalbum</a> annotation grid. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00249">249</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b15184934bf70a721e6d364a943c5440"></a><!-- doxytag: member="TitleWidget::subalbumDescription" ref="b15184934bf70a721e6d364a943c5440" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQLabel.html">QLabel</a>* <a class="el" href="classTitleWidget.html#b15184934bf70a721e6d364a943c5440">TitleWidget::subalbumDescription</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00254">254</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7e64cf61fe2491682236d9c81f053d8a"></a><!-- doxytag: member="TitleWidget::subalbumDescriptionVal" ref="7e64cf61fe2491682236d9c81f053d8a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QLineEdit* <a class="el" href="classTitleWidget.html#7e64cf61fe2491682236d9c81f053d8a">TitleWidget::subalbumDescriptionVal</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00255">255</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00449">refreshCollectionAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="be04b3eb44cb6d81a233395229ca61ee"></a><!-- doxytag: member="TitleWidget::subalbumImage" ref="be04b3eb44cb6d81a233395229ca61ee" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classALabel.html">ALabel</a>* <a class="el" href="classTitleWidget.html#be04b3eb44cb6d81a233395229ca61ee">TitleWidget::subalbumImage</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00251">251</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00449">refreshCollectionAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00536">setSubalbumImage()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00373">useAnimation()</a>.</p>

</div>
</div><p>
<a class="anchor" name="31dbc9c22196a64f28cebdc0d6964248"></a><!-- doxytag: member="TitleWidget::subalbumName" ref="31dbc9c22196a64f28cebdc0d6964248" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classQLabel.html">QLabel</a>* <a class="el" href="classTitleWidget.html#31dbc9c22196a64f28cebdc0d6964248">TitleWidget::subalbumName</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00252">252</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d790a28242e54c5299dad8368b41c1c2"></a><!-- doxytag: member="TitleWidget::subalbumNameVal" ref="d790a28242e54c5299dad8368b41c1c2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QLineEdit* <a class="el" href="classTitleWidget.html#d790a28242e54c5299dad8368b41c1c2">TitleWidget::subalbumNameVal</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00253">253</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00449">refreshCollectionAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="15029f6831037063892ec6da9ccb028e"></a><!-- doxytag: member="TitleWidget::tmpDirErrorDesc" ref="15029f6831037063892ec6da9ccb028e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="classTitleWidget.html#15029f6831037063892ec6da9ccb028e">TitleWidget::tmpDirErrorDesc</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00302">302</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7fa66ec0a165452e8332d408604e1d51"></a><!-- doxytag: member="TitleWidget::tmpDirErrorMessage" ref="7fa66ec0a165452e8332d408604e1d51" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="classTitleWidget.html#7fa66ec0a165452e8332d408604e1d51">TitleWidget::tmpDirErrorMessage</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
error message and description when temp directory cannot be created 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00302">302</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00889">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="58aaf5ad3d5d32069da03686e3af0fe6"></a><!-- doxytag: member="TitleWidget::tools" ref="58aaf5ad3d5d32069da03686e3af0fe6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPopupMenu* <a class="el" href="classTitleWidget.html#58aaf5ad3d5d32069da03686e3af0fe6">TitleWidget::tools</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Tools menu. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00221">221</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>.</p>

</div>
</div><p>
<a class="anchor" name="1f32f6d6bf115d2ec6ec5f96dae82327"></a><!-- doxytag: member="TitleWidget::window" ref="1f32f6d6bf115d2ec6ec5f96dae82327" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWindow.html">Window</a>* <a class="el" href="classTitleWidget.html#1f32f6d6bf115d2ec6ec5f96dae82327">TitleWidget::window</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classWindow.html" title="Top level widget, encapsulates the title widget, the layout widget, and the toolbar...">Window</a> pointer. 
<p>

<p>Definition at line <a class="el" href="titleWidget_8h_source.html#l00261">261</a> of file <a class="el" href="titleWidget_8h_source.html">titleWidget.h</a>.</p>

<p>Referenced by <a class="el" href="titleWidget_8cpp_source.html#l01300">createTmpDir()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01282">dropEvent()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00800">exportLargeImages()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00700">exportSmallWebGallery()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00621">loadAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00579">newAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00659">proceedWithLoad()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01272">quitApplication()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00566">refresh()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01147">removeSelectedPhotoDesc()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01169">revertPhotos()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00676">revertToSaved()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00985">saveAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01034">saveAsAlbum()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00492">setAlbumImage()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00524">setSubalbumImage()</a>, <a class="el" href="titleWidget_8cpp_source.html#l01174">settings()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00398">storeAnnotations()</a>, <a class="el" href="titleWidget_8cpp_source.html#l00062">TitleWidget()</a>, and <a class="el" href="titleWidget_8cpp_source.html#l00555">unsetSubalbumImage()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="titleWidget_8h_source.html">titleWidget.h</a><li><a class="el" href="titleWidget_8cpp_source.html">titleWidget.cpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 23 02:34:41 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>