<!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>Vidalia: TorMapWidgetInputHandler.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.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</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> <li><a href="dirs.html"><span>Directories</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 class="navpath"><a class="el" href="dir_b47abd1aad201a152869566145babb61.html">src</a> » <a class="el" href="dir_695ba8f8357372e02d38c40b3c6dbe81.html">vidalia</a> » <a class="el" href="dir_3776330d706700e272fa8df738fecea6.html">network</a> </div> </div> <div class="contents"> <h1>TorMapWidgetInputHandler.cpp File Reference</h1><code>#include "<a class="el" href="_tor_map_widget_input_handler_8h_source.html">TorMapWidgetInputHandler.h</a>"</code><br/> <code>#include <MarbleWidget.h></code><br/> <code>#include <MarbleMap.h></code><br/> <code>#include <MarbleModel.h></code><br/> <code>#include <ViewParams.h></code><br/> <code>#include <ViewportParams.h></code><br/> <code>#include <QTimer></code><br/> <code>#include <QMouseEvent></code><br/> <code>#include <QWheelEvent></code><br/> <code>#include <QPersistentModelIndex></code><br/> <p><a href="_tor_map_widget_input_handler_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="_tor_map_widget_input_handler_8cpp.html#aeae83309bb94e99cec993ca00a3bef8e">MAP_ZOOM_STEP</a> 40</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_tor_map_widget_input_handler_8cpp.html#ad40e54b67187272354d552a11959ba81">MIN_DRAG_THRESHOLD</a> 3</td></tr> </table> <hr/><h2>Define Documentation</h2> <a class="anchor" id="aeae83309bb94e99cec993ca00a3bef8e"></a><!-- doxytag: member="TorMapWidgetInputHandler.cpp::MAP_ZOOM_STEP" ref="aeae83309bb94e99cec993ca00a3bef8e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MAP_ZOOM_STEP 40</td> </tr> </table> </div> <div class="memdoc"> <p>Amount to zoom in or out when responding to mouse double clicks. This value was taken from MarbleMap.cpp. </p> <p>Definition at line <a class="el" href="_tor_map_widget_input_handler_8cpp_source.html#l00030">30</a> of file <a class="el" href="_tor_map_widget_input_handler_8cpp_source.html">TorMapWidgetInputHandler.cpp</a>.</p> <p>Referenced by <a class="el" href="_tor_map_widget_input_handler_8cpp_source.html#l00044">TorMapWidgetInputHandler::eventFilter()</a>.</p> </div> </div> <a class="anchor" id="ad40e54b67187272354d552a11959ba81"></a><!-- doxytag: member="TorMapWidgetInputHandler.cpp::MIN_DRAG_THRESHOLD" ref="ad40e54b67187272354d552a11959ba81" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define MIN_DRAG_THRESHOLD 3</td> </tr> </table> </div> <div class="memdoc"> <p>Number of units the mouse must be clicked and dragged before it will force a map rotation and repaint. </p> <p>Definition at line <a class="el" href="_tor_map_widget_input_handler_8cpp_source.html#l00035">35</a> of file <a class="el" href="_tor_map_widget_input_handler_8cpp_source.html">TorMapWidgetInputHandler.cpp</a>.</p> <p>Referenced by <a class="el" href="_tor_map_widget_input_handler_8cpp_source.html#l00044">TorMapWidgetInputHandler::eventFilter()</a>.</p> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Aug 30 22:58:55 2010 for Vidalia by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>