<!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: histogramInterface.cpp File 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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>histogramInterface.cpp File Reference</h1><code>#include <qapplication.h></code><br/> <code>#include <qpainter.h></code><br/> <code>#include <qpixmap.h></code><br/> <code>#include <qimage.h></code><br/> <code>#include <qaccel.h></code><br/> <code>#include <qcursor.h></code><br/> <code>#include "<a class="el" href="histogramInterface_8h_source.html">histogramInterface.h</a>"</code><br/> <code>#include "<a class="el" href="histogramEditor_8h_source.html">histogramEditor.h</a>"</code><br/> <code>#include "../../backend/tools/imageTools.h"</code><br/> <code>#include "../cursors.h"</code><br/> <div class="dynheader"> Include dependency graph for histogramInterface.cpp:</div> <div class="dynsection"> </div> <p><a href="histogramInterface_8cpp_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="histogramInterface_8cpp.html#adbab52be17168e6914dd8ab79ce5fcd2">DRAG_THRESHOLD</a> 5</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="histogramInterface_8cpp.html#a7de3a77a1aace94056e3bbf410a94648">COLOR_BAR_MARGIN</a> 2</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="histogramInterface_8cpp.html#a7fe30b41da5cfd303bd5b87305aae9c5">COLOR_BAR_BORDER</a> 2</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="histogramInterface_8cpp.html#ac048e12ca829cb014d17cd1badcd2e84">COLOR_BAR_HEIGHT</a> 6</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="histogramInterface_8cpp.html#a915fea918ff9711fb8aad5029f4a7844">HISTOGRAM_HEIGHT</a> ( <a class="el" href="blur_8cpp.html#ad12fc34ce789bce6c8a05d8a17138534">height</a>() - COLOR_BAR_BORDER - 2*COLOR_BAR_MARGIN - COLOR_BAR_HEIGHT )</td></tr> </table> <hr/><h2>Define Documentation</h2> <a class="anchor" id="a7fe30b41da5cfd303bd5b87305aae9c5"></a><!-- doxytag: member="histogramInterface.cpp::COLOR_BAR_BORDER" ref="a7fe30b41da5cfd303bd5b87305aae9c5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define COLOR_BAR_BORDER 2</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="histogramInterface_8cpp_source.html#l00031">31</a> of file <a class="el" href="histogramInterface_8cpp_source.html">histogramInterface.cpp</a>.</p> <p>Referenced by <a class="el" href="histogramInterface_8cpp_source.html#l00286">HistogramInterface::minimumSizeHint()</a>, and <a class="el" href="histogramInterface_8cpp_source.html#l00155">HistogramInterface::paintEvent()</a>.</p> </div> </div> <a class="anchor" id="ac048e12ca829cb014d17cd1badcd2e84"></a><!-- doxytag: member="histogramInterface.cpp::COLOR_BAR_HEIGHT" ref="ac048e12ca829cb014d17cd1badcd2e84" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define COLOR_BAR_HEIGHT 6</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="histogramInterface_8cpp_source.html#l00032">32</a> of file <a class="el" href="histogramInterface_8cpp_source.html">histogramInterface.cpp</a>.</p> <p>Referenced by <a class="el" href="histogramInterface_8cpp_source.html#l00286">HistogramInterface::minimumSizeHint()</a>, and <a class="el" href="histogramInterface_8cpp_source.html#l00155">HistogramInterface::paintEvent()</a>.</p> </div> </div> <a class="anchor" id="a7de3a77a1aace94056e3bbf410a94648"></a><!-- doxytag: member="histogramInterface.cpp::COLOR_BAR_MARGIN" ref="a7de3a77a1aace94056e3bbf410a94648" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define COLOR_BAR_MARGIN 2</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="histogramInterface_8cpp_source.html#l00030">30</a> of file <a class="el" href="histogramInterface_8cpp_source.html">histogramInterface.cpp</a>.</p> <p>Referenced by <a class="el" href="histogramInterface_8cpp_source.html#l00286">HistogramInterface::minimumSizeHint()</a>, and <a class="el" href="histogramInterface_8cpp_source.html#l00155">HistogramInterface::paintEvent()</a>.</p> </div> </div> <a class="anchor" id="adbab52be17168e6914dd8ab79ce5fcd2"></a><!-- doxytag: member="histogramInterface.cpp::DRAG_THRESHOLD" ref="adbab52be17168e6914dd8ab79ce5fcd2" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define DRAG_THRESHOLD 5</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="histogramInterface_8cpp_source.html#l00028">28</a> of file <a class="el" href="histogramInterface_8cpp_source.html">histogramInterface.cpp</a>.</p> <p>Referenced by <a class="el" href="selectionInterface_8cpp_source.html#l00351">SelectionInterface::mouseActionByPosition()</a>, <a class="el" href="histogramInterface_8cpp_source.html#l00307">HistogramInterface::mousePressEvent()</a>, <a class="el" href="histogramInterface_8cpp_source.html#l00291">HistogramInterface::nearBoundary()</a>, and <a class="el" href="splitViewInterface_8cpp_source.html#l00287">SplitViewInterface::nearSplitPoint()</a>.</p> </div> </div> <a class="anchor" id="a915fea918ff9711fb8aad5029f4a7844"></a><!-- doxytag: member="histogramInterface.cpp::HISTOGRAM_HEIGHT" ref="a915fea918ff9711fb8aad5029f4a7844" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define HISTOGRAM_HEIGHT ( <a class="el" href="blur_8cpp.html#ad12fc34ce789bce6c8a05d8a17138534">height</a>() - COLOR_BAR_BORDER - 2*COLOR_BAR_MARGIN - COLOR_BAR_HEIGHT )</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="histogramInterface_8cpp_source.html#l00033">33</a> of file <a class="el" href="histogramInterface_8cpp_source.html">histogramInterface.cpp</a>.</p> <p>Referenced by <a class="el" href="histogramInterface_8cpp_source.html#l00155">HistogramInterface::paintEvent()</a>.</p> </div> </div> </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>