<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>AlbumShaper: HelpWindow Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main 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 List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>HelpWindow Class Reference</h1><!-- doxytag: class="HelpWindow" --><!-- doxytag: inherits="QDialog" --> <p>Help window widget. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="helpWindow_8h_source.html">helpWindow.h</a>></code></p> <div class="dynheader"> Inheritance diagram for HelpWindow:</div> <div class="dynsection"> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for HelpWindow:</div> <div class="dynsection"> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classHelpWindow-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Signals</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#a5c92276a4cb3e4b9fefbd320a7075dfd">closed</a> ()</td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#aeca92a7a47d8f6c5cbd54713da59eb4c">HelpWindow</a> (<a class="el" href="classQWidget.html">QWidget</a> *parent=0, const char *name=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#ac16acebf09487f6ecc473d67a4db1365">~HelpWindow</a> ()</td></tr> <tr><td colspan="2"><h2>Private Slots</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#a4209cb920226ad1ed276b678f00dc206">setPage</a> (<a class="el" href="contents_8h.html#a9906b617670362187e0cb314384d6dcf">HELP_PAGE</a> page)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#af3391adb3ef2e41796c2083113d63cb8">showFirstSelection</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#a46f7c907f060001ccf2026b372164765">showCurrentPage</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#a49721c6e7526ba5602c077f35abfb2e7">reject</a> ()</td></tr> <tr><td colspan="2"><h2>Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#ade58338631180bc323dcd1dcb855adb5">closeEvent</a> (QCloseEvent *e)</td></tr> <tr><td colspan="2"><h2>Private Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classALabel.html">ALabel</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#a8098680ba8804bb9d363691f1b10f140">billboard</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQTextBrowser.html">QTextBrowser</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="contents_8h.html#a9906b617670362187e0cb314384d6dcf">HELP_PAGE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">QMimeSourceFactory * </td><td class="memItemRight" valign="bottom"><a class="el" href="classHelpWindow.html#aa2efbe88869ad75db5dc545eab35e92f">loadingMimeSource</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Help window widget. </p> <p>Definition at line <a class="el" href="helpWindow_8h_source.html#l00026">26</a> of file <a class="el" href="helpWindow_8h_source.html">helpWindow.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="aeca92a7a47d8f6c5cbd54713da59eb4c"></a><!-- doxytag: member="HelpWindow::HelpWindow" ref="aeca92a7a47d8f6c5cbd54713da59eb4c" args="(QWidget *parent=0, const char *name=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">HelpWindow::HelpWindow </td> <td>(</td> <td class="paramtype"><a class="el" href="classQWidget.html">QWidget</a> * </td> <td class="paramname"> <em>parent</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8cpp_source.html#l00039">39</a> of file <a class="el" href="helpWindow_8cpp_source.html">helpWindow.cpp</a>.</p> <p>References <a class="el" href="ALabel_8h_source.html#l00014">APPEAR_IMMEDIATELY</a>, <a class="el" href="contents_8h_source.html#l00026">BILLBOARD</a>, <a class="el" href="helpWindow_8h_source.html#l00046">billboard</a>, <a class="el" href="helpWindow_8h_source.html#l00047">content</a>, <a class="el" href="helpWindow_8h_source.html#l00049">currentPage</a>, <a class="el" href="help_2shortcuts_8cpp_source.html#l00029">Shortcuts::generateHTML()</a>, <a class="el" href="loadSave_8cpp_source.html#l00029">LoadSave::generateHTML()</a>, <a class="el" href="manipulating_8cpp_source.html#l00029">Manipulating::generateHTML()</a>, <a class="el" href="proTools_8cpp_source.html#l00029">ProTools::generateHTML()</a>, <a class="el" href="enhancing_8cpp_source.html#l00029">Enhancing::generateHTML()</a>, <a class="el" href="framing_8cpp_source.html#l00029">Framing::generateHTML()</a>, <a class="el" href="annotating_8cpp_source.html#l00029">Annotating::generateHTML()</a>, <a class="el" href="importing_8cpp_source.html#l00029">Importing::generateHTML()</a>, <a class="el" href="whatsNew_8cpp_source.html#l00029">WhatsNew::generateHTML()</a>, <a class="el" href="config_8cpp_source.html#l00018">IMAGE_PATH</a>, <a class="el" href="helpWindow_8h_source.html#l00051">loadingMimeSource</a>, <a class="el" href="contents_8cpp_source.html#l00058">Contents::minimumSizeHint()</a>, <a class="el" href="helpWindow_8cpp_source.html#l00158">setPage()</a>, <a class="el" href="ALabel_8cpp_source.html#l00077">ALabel::setPixmap()</a>, <a class="el" href="helpWindow_8cpp_source.html#l00175">showFirstSelection()</a>, and <a class="el" href="ALabel_8h_source.html#l00017">SLIDE_OUT_LEFT</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00039"></a>00039 : <a class="code" href="classQDialog.html">QDialog</a>(parent,name) <a name="l00040"></a>00040 { <a name="l00041"></a>00041 <span class="comment">//determine necessary encoding for reading and writing to html files</span> <a name="l00042"></a>00042 QTextStream::Encoding fileEncoding; <a name="l00043"></a>00043 QString savingCharSet; <a name="l00044"></a>00044 QString loadingCharSet; <a name="l00045"></a>00045 <a name="l00046"></a>00046 <span class="comment">//Mac OSX -> Use UTF16</span> <a name="l00047"></a>00047 <span class="preprocessor"> #if defined(Q_OS_MACX)</span> <a name="l00048"></a>00048 <span class="preprocessor"></span> fileEncoding = QTextStream::Unicode; <a name="l00049"></a>00049 savingCharSet = <span class="stringliteral">"utf16"</span>; <a name="l00050"></a>00050 loadingCharSet = <span class="stringliteral">"UTF-16"</span>; <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="comment">//Other UNIX or Windows with Unicode support -> Use UTF8</span> <a name="l00053"></a>00053 <span class="preprocessor"> #elif !defined(Q_WS_WIN) || (defined(Q_WS_WIN) && defined(UNICODE))</span> <a name="l00054"></a>00054 <span class="preprocessor"></span> fileEncoding = QTextStream::UnicodeUTF8; <a name="l00055"></a>00055 savingCharSet = <span class="stringliteral">"utf8"</span>; <a name="l00056"></a>00056 loadingCharSet = <span class="stringliteral">"UTF-8"</span>; <a name="l00057"></a>00057 <a name="l00058"></a>00058 <span class="comment">//Windows without Unicode support (Win95/98/ME) -> Use Latin-1</span> <a name="l00059"></a>00059 <span class="preprocessor"> #else</span> <a name="l00060"></a>00060 <span class="preprocessor"></span> fileEncoding = QTextStream::Latin1; <a name="l00061"></a>00061 savingCharSet = <span class="stringliteral">"latin-1"</span>; <a name="l00062"></a>00062 loadingCharSet = <span class="stringliteral">"latin-1"</span>; <a name="l00063"></a>00063 <span class="preprocessor"> #endif</span> <a name="l00064"></a>00064 <span class="preprocessor"></span> <span class="comment">//-------------------------------------------------------------</span> <a name="l00065"></a>00065 <span class="comment">//generate html pages</span> <a name="l00066"></a>00066 <a class="code" href="classWhatsNew.html#a859b810a0ebcd1009ba09e32bd1f3eae" title="generates the html file">WhatsNew::generateHTML</a> (fileEncoding, savingCharSet); <a name="l00067"></a>00067 <a class="code" href="classImporting.html#a1f54f3fde8effda4573a151c039741c6" title="generates the html file">Importing::generateHTML</a> (fileEncoding, savingCharSet); <a name="l00068"></a>00068 <a class="code" href="classAnnotating.html#a171892c7f268378d11a3fe55f734ce39" title="generates the html file">Annotating::generateHTML</a> (fileEncoding, savingCharSet); <a name="l00069"></a>00069 <a class="code" href="classFraming.html#abe4d2bb35e028658f65f2235a5df28f1" title="generates the html file">Framing::generateHTML</a> (fileEncoding, savingCharSet); <a name="l00070"></a>00070 <a class="code" href="classEnhancing.html#ac74497a217b6f4c2bc9ca12d965601df" title="generates the html file">Enhancing::generateHTML</a> (fileEncoding, savingCharSet); <a name="l00071"></a>00071 <a class="code" href="classProTools.html#a8f6a9c47f5e2a9a2f57f3f03bad08773" title="generates the html file">ProTools::generateHTML</a> (fileEncoding, savingCharSet); <a name="l00072"></a>00072 <a class="code" href="classManipulating.html#a09051df4db5db6f5ef2f0b01d149d04f" title="generates the html file">Manipulating::generateHTML</a>(fileEncoding, savingCharSet); <a name="l00073"></a>00073 <a class="code" href="classLoadSave.html#a446221355a2abd5277f5f77019e3b1c9" title="generates the html file">LoadSave::generateHTML</a> (fileEncoding, savingCharSet); <a name="l00074"></a>00074 <a class="code" href="classShortcuts.html#aaf495353955891b0cb790ce7078f44e2" title="generates the shortcuts html file">Shortcuts::generateHTML</a> (fileEncoding, savingCharSet); <a name="l00075"></a>00075 <a name="l00076"></a>00076 resize( 800, 400 ); <a name="l00077"></a>00077 setPaletteBackgroundColor( QColor(255,255,255) ); <a name="l00078"></a>00078 <a name="l00079"></a>00079 <span class="comment">//set window title</span> <a name="l00080"></a>00080 setCaption( tr(<span class="stringliteral">"Album Shaper Help"</span>)); <a name="l00081"></a>00081 <span class="comment">//--</span> <a name="l00082"></a>00082 <span class="comment">//create billboard widget</span> <a name="l00083"></a>00083 <a class="code" href="classHelpWindow.html#a8098680ba8804bb9d363691f1b10f140">billboard</a> = <span class="keyword">new</span> <a class="code" href="classALabel.html">ALabel</a>( <span class="keyword">this</span>, <span class="stringliteral">"helpBillboard"</span>, NULL, <a name="l00084"></a>00084 <a class="code" href="ALabel_8h.html#abbefd1951dab0ad20e6fccb31470ddb0">APPEAR_IMMEDIATELY</a>, <a class="code" href="ALabel_8h.html#a4dd1193478481952320d730df65bc522">SLIDE_OUT_LEFT</a> ); <a name="l00085"></a>00085 <a class="code" href="classHelpWindow.html#a8098680ba8804bb9d363691f1b10f140">billboard</a>-><a class="code" href="classALabel.html#ad513cece6e846f2bfa4261dafa270c25" title="animates setting an image">setPixmap</a>( QPixmap( QString(<a class="code" href="config_8cpp.html#a59e02362a9a29a755712dc830a3eb513">IMAGE_PATH</a>)+<span class="stringliteral">"helpImages/helpBillboard.png"</span>) ); <a name="l00086"></a>00086 <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> = <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfabe331817ddf8a37be1d59ea66ac17b1b">BILLBOARD</a>; <a name="l00087"></a>00087 connect( <a class="code" href="classHelpWindow.html#a8098680ba8804bb9d363691f1b10f140">billboard</a>, SIGNAL(pixmapRemoved()), <a name="l00088"></a>00088 <span class="keyword">this</span>, SLOT(<a class="code" href="classHelpWindow.html#af3391adb3ef2e41796c2083113d63cb8">showFirstSelection</a>()) ); <a name="l00089"></a>00089 <a name="l00090"></a>00090 <span class="comment">//construct special mime source factory for loading html files for the contents and content frames</span> <a name="l00091"></a>00091 <a class="code" href="classHelpWindow.html#aa2efbe88869ad75db5dc545eab35e92f">loadingMimeSource</a> = <span class="keyword">new</span> QMimeSourceFactory(); <a name="l00092"></a>00092 <a class="code" href="classHelpWindow.html#aa2efbe88869ad75db5dc545eab35e92f">loadingMimeSource</a>->setExtensionType(<span class="stringliteral">"html"</span>,QString(<span class="stringliteral">"text/html;charset=%1"</span>).arg(loadingCharSet) ); <a name="l00093"></a>00093 <a name="l00094"></a>00094 <span class="comment">//create contents widget</span> <a name="l00095"></a>00095 <a class="code" href="classContents.html">Contents</a>* contents = <span class="keyword">new</span> <a class="code" href="classContents.html">Contents</a>(fileEncoding, savingCharSet, <a class="code" href="classHelpWindow.html#aa2efbe88869ad75db5dc545eab35e92f">loadingMimeSource</a>, <span class="keyword">this</span>); <a name="l00096"></a>00096 connect( contents, SIGNAL(<a class="code" href="classHelpWindow.html#a4209cb920226ad1ed276b678f00dc206">setPage</a>(<a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcf" title="Contents window widget.">HELP_PAGE</a>)), <a name="l00097"></a>00097 <span class="keyword">this</span>, SLOT(<a class="code" href="classHelpWindow.html#a4209cb920226ad1ed276b678f00dc206">setPage</a>(<a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcf" title="Contents window widget.">HELP_PAGE</a>)) ); <a name="l00098"></a>00098 <a name="l00099"></a>00099 <span class="comment">//create widget for holding content</span> <a name="l00100"></a>00100 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a> = <span class="keyword">new</span> <a class="code" href="classQTextBrowser.html">QTextBrowser</a>( <span class="keyword">this</span> ); <a name="l00101"></a>00101 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setHScrollBarMode( QScrollView::Auto ); <a name="l00102"></a>00102 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setVScrollBarMode( QScrollView::Auto ); <a name="l00103"></a>00103 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setFrameStyle( QFrame::NoFrame ); <a name="l00104"></a>00104 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setMimeSourceFactory( <a class="code" href="classHelpWindow.html#aa2efbe88869ad75db5dc545eab35e92f">loadingMimeSource</a> ); <a name="l00105"></a>00105 <a name="l00106"></a>00106 <span class="comment">//PLATFORM_SPECIFIC_CODE</span> <a name="l00107"></a>00107 <span class="comment">//mac os x puts in a size grip that can interfere with the updates icon, in order</span> <a name="l00108"></a>00108 <span class="comment">//to avoid this we manually place the size grip ourselves</span> <a name="l00109"></a>00109 <span class="comment">//windows users expect a grip too, but qt doesn't put one in by default. we'll add</span> <a name="l00110"></a>00110 <span class="comment">//it for them too. :-)</span> <a name="l00111"></a>00111 <span class="preprocessor">#if defined(Q_OS_MACX) || defined(Q_OS_WIN)</span> <a name="l00112"></a>00112 <span class="preprocessor"></span> <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setCornerWidget( <span class="keyword">new</span> QSizeGrip(<span class="keyword">this</span>) ); <a name="l00113"></a>00113 <span class="preprocessor">#endif</span> <a name="l00114"></a>00114 <span class="preprocessor"></span> <a name="l00115"></a>00115 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->hide(); <a name="l00116"></a>00116 <span class="comment">//--</span> <a name="l00117"></a>00117 <span class="comment">//place items in grid layout</span> <a name="l00118"></a>00118 QGridLayout* grid = <span class="keyword">new</span> QGridLayout( <span class="keyword">this</span>, 4, 3, 0); <a name="l00119"></a>00119 grid->addMultiCellWidget( <a class="code" href="classHelpWindow.html#a8098680ba8804bb9d363691f1b10f140">billboard</a>, 0,2, 0,0, Qt::AlignHCenter | Qt::AlignTop ); <a name="l00120"></a>00120 grid->addWidget( contents, 1,1 ); <a name="l00121"></a>00121 grid->addMultiCellWidget( <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>, 0,2, 2,2 ); <a name="l00122"></a>00122 <a name="l00123"></a>00123 grid->setRowSpacing( 0, QMAX(<a class="code" href="classHelpWindow.html#a8098680ba8804bb9d363691f1b10f140">billboard</a>->sizeHint().height() - <a name="l00124"></a>00124 contents-><a class="code" href="classContents.html#a4138625616f8cea8113ab41961603522">minimumSizeHint</a>().height(), 0)/2 ); <a name="l00125"></a>00125 grid->setColSpacing( 1, contents-><a class="code" href="classContents.html#a4138625616f8cea8113ab41961603522">minimumSizeHint</a>().width() ); <a name="l00126"></a>00126 grid->setRowStretch( 1, 1 ); <a name="l00127"></a>00127 grid->setColStretch( 2, 1 ); <a name="l00128"></a>00128 <span class="comment">//--</span> <a name="l00129"></a>00129 <span class="comment">//PLATFORM_SPECIFIC_CODE - Close Button</span> <a name="l00130"></a>00130 <span class="preprocessor">#if (!defined(Q_OS_WIN) && !defined(Q_OS_MACX))</span> <a name="l00131"></a>00131 <span class="preprocessor"></span> QPushButton* closeButton = <span class="keyword">new</span> QPushButton( tr(<span class="stringliteral">"Close"</span>), <span class="keyword">this</span> ); <a name="l00132"></a>00132 closeButton->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed ); <a name="l00133"></a>00133 closeButton->setDefault(<span class="keyword">true</span>); <a name="l00134"></a>00134 connect( closeButton, SIGNAL(clicked()), SLOT(close()) ); <a name="l00135"></a>00135 grid->addMultiCellWidget( closeButton, 3,3, 0,2, Qt::AlignCenter ); <a name="l00136"></a>00136 <span class="preprocessor">#endif </span> <a name="l00137"></a>00137 <span class="preprocessor"></span> <span class="comment">//--</span> <a name="l00138"></a>00138 } </pre></div></p> </div> </div> <a class="anchor" id="ac16acebf09487f6ecc473d67a4db1365"></a><!-- doxytag: member="HelpWindow::~HelpWindow" ref="ac16acebf09487f6ecc473d67a4db1365" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">HelpWindow::~HelpWindow </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8cpp_source.html#l00140">140</a> of file <a class="el" href="helpWindow_8cpp_source.html">helpWindow.cpp</a>.</p> <p>References <a class="el" href="helpWindow_8h_source.html#l00051">loadingMimeSource</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00141"></a>00141 { <a name="l00142"></a>00142 <span class="keyword">delete</span> <a class="code" href="classHelpWindow.html#aa2efbe88869ad75db5dc545eab35e92f">loadingMimeSource</a>; <a name="l00143"></a>00143 <a class="code" href="classHelpWindow.html#aa2efbe88869ad75db5dc545eab35e92f">loadingMimeSource</a> = NULL; <a name="l00144"></a>00144 } </pre></div></p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a5c92276a4cb3e4b9fefbd320a7075dfd"></a><!-- doxytag: member="HelpWindow::closed" ref="a5c92276a4cb3e4b9fefbd320a7075dfd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HelpWindow::closed </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00146">closeEvent()</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00152">reject()</a>.</p> </div> </div> <a class="anchor" id="ade58338631180bc323dcd1dcb855adb5"></a><!-- doxytag: member="HelpWindow::closeEvent" ref="ade58338631180bc323dcd1dcb855adb5" args="(QCloseEvent *e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HelpWindow::closeEvent </td> <td>(</td> <td class="paramtype">QCloseEvent * </td> <td class="paramname"> <em>e</em></td> <td> ) </td> <td><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8cpp_source.html#l00146">146</a> of file <a class="el" href="helpWindow_8cpp_source.html">helpWindow.cpp</a>.</p> <p>References <a class="el" href="classHelpWindow.html#a5c92276a4cb3e4b9fefbd320a7075dfd">closed()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00147"></a>00147 { <a name="l00148"></a>00148 <a class="code" href="classHelpWindow.html#ade58338631180bc323dcd1dcb855adb5">QWidget::closeEvent</a>( e ); <a name="l00149"></a>00149 emit <a class="code" href="classHelpWindow.html#a5c92276a4cb3e4b9fefbd320a7075dfd">closed</a>(); <a name="l00150"></a>00150 } </pre></div></p> </div> </div> <a class="anchor" id="a49721c6e7526ba5602c077f35abfb2e7"></a><!-- doxytag: member="HelpWindow::reject" ref="a49721c6e7526ba5602c077f35abfb2e7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HelpWindow::reject </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [private, slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8cpp_source.html#l00152">152</a> of file <a class="el" href="helpWindow_8cpp_source.html">helpWindow.cpp</a>.</p> <p>References <a class="el" href="classHelpWindow.html#a5c92276a4cb3e4b9fefbd320a7075dfd">closed()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00153"></a>00153 { <a name="l00154"></a>00154 <a class="code" href="classHelpWindow.html#a49721c6e7526ba5602c077f35abfb2e7">QDialog::reject</a>(); <a name="l00155"></a>00155 emit <a class="code" href="classHelpWindow.html#a5c92276a4cb3e4b9fefbd320a7075dfd">closed</a>(); <a name="l00156"></a>00156 } </pre></div></p> </div> </div> <a class="anchor" id="a4209cb920226ad1ed276b678f00dc206"></a><!-- doxytag: member="HelpWindow::setPage" ref="a4209cb920226ad1ed276b678f00dc206" args="(HELP_PAGE page)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HelpWindow::setPage </td> <td>(</td> <td class="paramtype"><a class="el" href="contents_8h.html#a9906b617670362187e0cb314384d6dcf">HELP_PAGE</a> </td> <td class="paramname"> <em>page</em></td> <td> ) </td> <td><code> [private, slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8cpp_source.html#l00158">158</a> of file <a class="el" href="helpWindow_8cpp_source.html">helpWindow.cpp</a>.</p> <p>References <a class="el" href="helpWindow_8h_source.html#l00046">billboard</a>, <a class="el" href="contents_8h_source.html#l00026">BILLBOARD</a>, <a class="el" href="helpWindow_8h_source.html#l00049">currentPage</a>, <a class="el" href="ALabel_8cpp_source.html#l00132">ALabel::removePixmap()</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00181">showCurrentPage()</a>.</p> <p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00039">HelpWindow()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00159"></a>00159 { <a name="l00160"></a>00160 <span class="comment">//if billboard stillshown first remove it.</span> <a name="l00161"></a>00161 <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfabe331817ddf8a37be1d59ea66ac17b1b">BILLBOARD</a> ) <a name="l00162"></a>00162 { <a name="l00163"></a>00163 <a class="code" href="classHelpWindow.html#a8098680ba8804bb9d363691f1b10f140">billboard</a>-><a class="code" href="classALabel.html#ae0b0ff246381ec3d2da4e1710ad885c1" title="animates removing an image">removePixmap</a>(); <a name="l00164"></a>00164 <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> = page; <a name="l00165"></a>00165 <a name="l00166"></a>00166 <span class="comment">//show page only once billboard has finished sliding away to the left</span> <a name="l00167"></a>00167 } <a name="l00168"></a>00168 <span class="keywordflow">else</span> <a name="l00169"></a>00169 { <a name="l00170"></a>00170 <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> = page; <a name="l00171"></a>00171 <a class="code" href="classHelpWindow.html#a46f7c907f060001ccf2026b372164765">showCurrentPage</a>(); <a name="l00172"></a>00172 } <a name="l00173"></a>00173 } </pre></div></p> </div> </div> <a class="anchor" id="a46f7c907f060001ccf2026b372164765"></a><!-- doxytag: member="HelpWindow::showCurrentPage" ref="a46f7c907f060001ccf2026b372164765" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HelpWindow::showCurrentPage </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [private, slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8cpp_source.html#l00181">181</a> of file <a class="el" href="helpWindow_8cpp_source.html">helpWindow.cpp</a>.</p> <p>References <a class="el" href="contents_8h_source.html#l00029">ANNOTATING_ALBUMS</a>, <a class="el" href="helpWindow_8h_source.html#l00047">content</a>, <a class="el" href="helpWindow_8h_source.html#l00049">currentPage</a>, <a class="el" href="contents_8h_source.html#l00031">ENHANCING</a>, <a class="el" href="loadSave_8cpp_source.html#l00024">LoadSave::filename()</a>, <a class="el" href="manipulating_8cpp_source.html#l00024">Manipulating::filename()</a>, <a class="el" href="proTools_8cpp_source.html#l00024">ProTools::filename()</a>, <a class="el" href="enhancing_8cpp_source.html#l00024">Enhancing::filename()</a>, <a class="el" href="framing_8cpp_source.html#l00024">Framing::filename()</a>, <a class="el" href="annotating_8cpp_source.html#l00024">Annotating::filename()</a>, <a class="el" href="importing_8cpp_source.html#l00024">Importing::filename()</a>, <a class="el" href="whatsNew_8cpp_source.html#l00024">WhatsNew::filename()</a>, <a class="el" href="help_2shortcuts_8cpp_source.html#l00024">Shortcuts::filename()</a>, <a class="el" href="contents_8h_source.html#l00030">FRAMING</a>, <a class="el" href="contents_8h_source.html#l00028">IMPORTING_AND_ORGANIZING</a>, <a class="el" href="contents_8h_source.html#l00035">KEYBOARD_SHORTCUTS</a>, <a class="el" href="contents_8h_source.html#l00033">MANIPULATING</a>, <a class="el" href="contents_8h_source.html#l00032">PRO_TOOLS</a>, <a class="el" href="contents_8h_source.html#l00034">SAVING_AND_LOADING</a>, and <a class="el" href="contents_8h_source.html#l00027">WHATS_NEW</a>.</p> <p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00158">setPage()</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00175">showFirstSelection()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00182"></a>00182 { <a name="l00183"></a>00183 <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfad79196c8267d2aa80495945c209e7515">KEYBOARD_SHORTCUTS</a> ) <a name="l00184"></a>00184 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classShortcuts.html#afca51b0de213e074a681c9eafe13be1b" title="returns the shortcuts html filename">Shortcuts::filename</a>() ); <a name="l00185"></a>00185 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfa06e752f7f7f6766f797fc1f8b6fd2b69">WHATS_NEW</a> ) <a name="l00186"></a>00186 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classWhatsNew.html#a90b9751270e2459ced93a9c287b4f7be" title="returns the html filename">WhatsNew::filename</a>() ); <a name="l00187"></a>00187 <a name="l00188"></a>00188 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfa84c9bd551ddf11b71a351f03f4a87e8e">IMPORTING_AND_ORGANIZING</a> ) <a name="l00189"></a>00189 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classImporting.html#a9370244378b4d0ff486f4fbda3b5c864" title="returns the html filename">Importing::filename</a>() ); <a name="l00190"></a>00190 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfad7385de62096d6a536a31a3d6e198362">ANNOTATING_ALBUMS</a> ) <a name="l00191"></a>00191 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classAnnotating.html#ad3e66eafc25b6a6111de970f976c251c" title="returns the html filename">Annotating::filename</a>() ); <a name="l00192"></a>00192 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfa2b993c3678439330be0f8b1be9ceb25e">FRAMING</a> ) <a name="l00193"></a>00193 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classFraming.html#a876d3548f79d8a169bfbb1a25848fcf8" title="returns the html filename">Framing::filename</a>() ); <a name="l00194"></a>00194 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfaffe47bcd944fa17e2a5083f8509ddc52">ENHANCING</a> ) <a name="l00195"></a>00195 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classEnhancing.html#ab2b3210b1e19973491756b58e93ccef8" title="returns the html filename">Enhancing::filename</a>() ); <a name="l00196"></a>00196 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfa88da70a25e729357519bfb03a0482f7c">PRO_TOOLS</a> ) <a name="l00197"></a>00197 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classProTools.html#ac4c9c770c8d3f731774aac2662ff6385" title="returns the html filename">ProTools::filename</a>() ); <a name="l00198"></a>00198 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfa0df9883052a98eb7b6f41b483333b6b4">MANIPULATING</a> ) <a name="l00199"></a>00199 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classManipulating.html#aa9b2cacffefc9385a19d1891d47c702d" title="returns the html filename">Manipulating::filename</a>() ); <a name="l00200"></a>00200 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( <a class="code" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">currentPage</a> == <a class="code" href="contents_8h.html#a9906b617670362187e0cb314384d6dcfa9af40cf25698783a60eea7245d0d79e6">SAVING_AND_LOADING</a> ) <a name="l00201"></a>00201 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setSource( <a class="code" href="classLoadSave.html#a1a6a6b88592509d4e7d1050c9ff92df3" title="returns the html filename">LoadSave::filename</a>() ); <a name="l00202"></a>00202 <span class="keywordflow">else</span> <a name="l00203"></a>00203 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setText(<span class="stringliteral">""</span>); <a name="l00204"></a>00204 <a name="l00205"></a>00205 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->setFocus(); <a name="l00206"></a>00206 } </pre></div></p> </div> </div> <a class="anchor" id="af3391adb3ef2e41796c2083113d63cb8"></a><!-- doxytag: member="HelpWindow::showFirstSelection" ref="af3391adb3ef2e41796c2083113d63cb8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HelpWindow::showFirstSelection </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [private, slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8cpp_source.html#l00175">175</a> of file <a class="el" href="helpWindow_8cpp_source.html">helpWindow.cpp</a>.</p> <p>References <a class="el" href="helpWindow_8h_source.html#l00047">content</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00181">showCurrentPage()</a>.</p> <p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00039">HelpWindow()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00176"></a>00176 { <a name="l00177"></a>00177 <a class="code" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">content</a>->show(); <a name="l00178"></a>00178 <a class="code" href="classHelpWindow.html#a46f7c907f060001ccf2026b372164765">showCurrentPage</a>(); <a name="l00179"></a>00179 } </pre></div></p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a8098680ba8804bb9d363691f1b10f140"></a><!-- doxytag: member="HelpWindow::billboard" ref="a8098680ba8804bb9d363691f1b10f140" 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="classHelpWindow.html#a8098680ba8804bb9d363691f1b10f140">HelpWindow::billboard</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8h_source.html#l00046">46</a> of file <a class="el" href="helpWindow_8h_source.html">helpWindow.h</a>.</p> <p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00039">HelpWindow()</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00158">setPage()</a>.</p> </div> </div> <a class="anchor" id="a1be7c8fadcd924980854a701b4f7b689"></a><!-- doxytag: member="HelpWindow::content" ref="a1be7c8fadcd924980854a701b4f7b689" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classQTextBrowser.html">QTextBrowser</a>* <a class="el" href="classHelpWindow.html#a1be7c8fadcd924980854a701b4f7b689">HelpWindow::content</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8h_source.html#l00047">47</a> of file <a class="el" href="helpWindow_8h_source.html">helpWindow.h</a>.</p> <p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00039">HelpWindow()</a>, <a class="el" href="helpWindow_8cpp_source.html#l00181">showCurrentPage()</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00175">showFirstSelection()</a>.</p> </div> </div> <a class="anchor" id="ab2dfa896079f11af06aeb1d2caa379f4"></a><!-- doxytag: member="HelpWindow::currentPage" ref="ab2dfa896079f11af06aeb1d2caa379f4" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="contents_8h.html#a9906b617670362187e0cb314384d6dcf">HELP_PAGE</a> <a class="el" href="classHelpWindow.html#ab2dfa896079f11af06aeb1d2caa379f4">HelpWindow::currentPage</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8h_source.html#l00049">49</a> of file <a class="el" href="helpWindow_8h_source.html">helpWindow.h</a>.</p> <p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00039">HelpWindow()</a>, <a class="el" href="helpWindow_8cpp_source.html#l00158">setPage()</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00181">showCurrentPage()</a>.</p> </div> </div> <a class="anchor" id="aa2efbe88869ad75db5dc545eab35e92f"></a><!-- doxytag: member="HelpWindow::loadingMimeSource" ref="aa2efbe88869ad75db5dc545eab35e92f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QMimeSourceFactory* <a class="el" href="classHelpWindow.html#aa2efbe88869ad75db5dc545eab35e92f">HelpWindow::loadingMimeSource</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="helpWindow_8h_source.html#l00051">51</a> of file <a class="el" href="helpWindow_8h_source.html">helpWindow.h</a>.</p> <p>Referenced by <a class="el" href="helpWindow_8cpp_source.html#l00039">HelpWindow()</a>, and <a class="el" href="helpWindow_8cpp_source.html#l00140">~HelpWindow()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="helpWindow_8h_source.html">helpWindow.h</a></li> <li><a class="el" href="helpWindow_8cpp_source.html">helpWindow.cpp</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>