Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 98d6b53e11e983e268c3e19f14e091a0 > files > 4170

kdepim-devel-doc-3.5.9-9mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!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" lang="en_US" xml:lang="en_US">

<head>
  <title>libkdepim: KPIM::KPixmapRegionSelectorWidget Class Reference (libkdepim)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



<style type="text/css">
<!--
hr { display: none; }
#content h2 { margin-left: 0px; }
table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; }
td.mdRow { padding: 8px 20px; }
td.md { font-weight: bold; }
td.mdname1 { font-weight: bold; color: #602020; }
td.mdname { font-weight: bold; color: #602020;  }

-->
</style>

</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>
  <img id="nav_header_logo_right" alt="" align="right" src="../../pimlogo.png" border="0" />

  <div id="nav_header_title" align="left">KDE PIM API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_left" style="text-align: left;">
/ <a href="../../">API Reference</a>
 / <a href=".">libkdepim</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <h2><a name="content"></a>libkdepim</h2>


<!-- Generated by Doxygen 1.5.5 -->
  <div class="navpath"><a class="el" href="namespaceKPIM.html">KPIM</a>::<a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html">KPixmapRegionSelectorWidget</a>
  </div>
<div class="contents">
<h1>KPIM::KPixmapRegionSelectorWidget Class Reference</h1><!-- doxytag: class="KPIM::KPixmapRegionSelectorWidget" --><!-- doxytag: inherits="QWidget" --><code>#include &lt;<a class="el" href="kpixmapregionselectorwidget_8h-source.html">kpixmapregionselectorwidget.h</a>&gt;</code>
<p>
Inherits QWidget.
<p>

<p>
<a href="classKPIM_1_1KPixmapRegionSelectorWidget-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html" title="KPixmapRegionSelectorWidget is a widget that shows a picture and provides the user...">KPixmapRegionSelectorWidget</a> is a widget that shows a picture and provides the user with a friendly way to select a rectangular subregion of the pixmap. 
<p>
NOTE: There are two copies of this .h and the .cpp file, with subtle differences. One copy is in kdelibs/kdeui, and the other copy is in kdepim/libkdepim This is because kdepim has to remain backwards compatible. Any changes to either file should be made to the other.<p>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Antonio Larrosa &lt;<a href="mailto:larrosa@kde.org">larrosa@kde.org</a>&gt; </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>3.4 </dd></dl>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8h-source.html#l00047">47</a> of file <a class="el" href="kpixmapregionselectorwidget_8h-source.html">kpixmapregionselectorwidget.h</a>.</p>
<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="classKPIM_1_1KPixmapRegionSelectorWidget.html#36ae5437f5bc15fd2eedb9fb18847fa0">rotateClockwise</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#aaf3e4b9255fa970a813241853509dfc">rotateCounterclockwise</a> ()</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="classKPIM_1_1KPixmapRegionSelectorWidget.html#de78fce36ab63f9338ea4fd4bc704df8">KPixmapRegionSelectorWidget</a> (QWidget *parent=0L, const char *name=0L)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#aacfd0544addea6be03788f662bd5240">~KPixmapRegionSelectorWidget</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#73da6ca60a3708678a22ea29b4109d80">setPixmap</a> (const QPixmap &amp;pixmap)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QPixmap&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#33bc835389816a3b8b83d2bdd4457d8f">pixmap</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#19df71d2ce7b3ece449475481a52ebce">setSelectedRegion</a> (const QRect &amp;rect)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#f3f09dea961923509f2018d94cd7e43a">selectedRegion</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#8a280111c5b3d66b3034f00298fcf7be">unzoomedSelectedRegion</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#1af347bfd2bd1ced3c611d74de09e7ef">resetSelection</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QImage&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#b4b652f38d3c2273c8c0b3599062c0eb">selectedImage</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#7928265e2eb37bbaa51b72135315708f">setSelectionAspectRatio</a> (int width, int height)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#58ab0c35c150233bc00e9bcd66209cf2">setFreeSelectionAspectRatio</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#c17bb4eba4bcdda7cfaa487fbd3a7a26">setMaximumWidgetSize</a> (int width, int height)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#2e2e4fd4803c0dee5c89b6454ba6a840">rotate</a> (KImageEffect::RotateDirection direction)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual KPopupMenu *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#f1a59a5e14569ff99efd45a62d8e246b">createPopupMenu</a> ()</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="de78fce36ab63f9338ea4fd4bc704df8"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::KPixmapRegionSelectorWidget" ref="de78fce36ab63f9338ea4fd4bc704df8" args="(QWidget *parent=0L, const char *name=0L)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPixmapRegionSelectorWidget::KPixmapRegionSelectorWidget           </td>
          <td>(</td>
          <td class="paramtype">QWidget *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0L</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>0L</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor for a <a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html" title="KPixmapRegionSelectorWidget is a widget that shows a picture and provides the user...">KPixmapRegionSelectorWidget</a>. 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00044">44</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="aacfd0544addea6be03788f662bd5240"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::~KPixmapRegionSelectorWidget" ref="aacfd0544addea6be03788f662bd5240" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPixmapRegionSelectorWidget::~KPixmapRegionSelectorWidget           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor for a <a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html" title="KPixmapRegionSelectorWidget is a widget that shows a picture and provides the user...">KPixmapRegionSelectorWidget</a>. 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00067">67</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="73da6ca60a3708678a22ea29b4109d80"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::setPixmap" ref="73da6ca60a3708678a22ea29b4109d80" args="(const QPixmap &amp;pixmap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::setPixmap           </td>
          <td>(</td>
          <td class="paramtype">const QPixmap &amp;&nbsp;</td>
          <td class="paramname"> <em>pixmap</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the pixmap which will be shown for the user to select a region from. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pixmap</em>&nbsp;</td><td>The pixmap. Must be non-null. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00071">71</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="33bc835389816a3b8b83d2bdd4457d8f"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::pixmap" ref="33bc835389816a3b8b83d2bdd4457d8f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPixmap KPIM::KPixmapRegionSelectorWidget::pixmap           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the original whole pixmap that we're using in this widget as the pixmap the user is selecting a region from. </dd></dl>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8h-source.html#l00072">72</a> of file <a class="el" href="kpixmapregionselectorwidget_8h-source.html">kpixmapregionselectorwidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="19df71d2ce7b3ece449475481a52ebce"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::setSelectedRegion" ref="19df71d2ce7b3ece449475481a52ebce" args="(const QRect &amp;rect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::setSelectedRegion           </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&nbsp;</td>
          <td class="paramname"> <em>rect</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the selected region to be <code>rect</code> (in zoomed pixmap coordinates). 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00091">91</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f3f09dea961923509f2018d94cd7e43a"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::selectedRegion" ref="f3f09dea961923509f2018d94cd7e43a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRect KPixmapRegionSelectorWidget::selectedRegion           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the selected region ( in zoomed pixmap coordinates ). 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00086">86</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="8a280111c5b3d66b3034f00298fcf7be"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::unzoomedSelectedRegion" ref="8a280111c5b3d66b3034f00298fcf7be" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRect KPixmapRegionSelectorWidget::unzoomedSelectedRegion           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the selected region ( in unzoomed, original pixmap coordinates ). 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00391">391</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="1af347bfd2bd1ced3c611d74de09e7ef"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::resetSelection" ref="1af347bfd2bd1ced3c611d74de09e7ef" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::resetSelection           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Resets the selection to use the whole image. 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00080">80</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="b4b652f38d3c2273c8c0b3599062c0eb"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::selectedImage" ref="b4b652f38d3c2273c8c0b3599062c0eb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QImage KPixmapRegionSelectorWidget::selectedImage           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a QImage object with just the region the user selected from the image </dd></dl>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00399">399</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="7928265e2eb37bbaa51b72135315708f"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::setSelectionAspectRatio" ref="7928265e2eb37bbaa51b72135315708f" args="(int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::setSelectionAspectRatio           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the aspect ration that the selected subimage should have. 
<p>
The way to select it, is specifying an example valid <code>width</code> and <code>height</code>. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#58ab0c35c150233bc00e9bcd66209cf2" title="Allows the user to do a selection which has any aspect ratio.">setFreeSelectionAspectRatio()</a> </dd></dl>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00405">405</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="58ab0c35c150233bc00e9bcd66209cf2"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::setFreeSelectionAspectRatio" ref="58ab0c35c150233bc00e9bcd66209cf2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::setFreeSelectionAspectRatio           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allows the user to do a selection which has any aspect ratio. 
<p>
This is the default. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classKPIM_1_1KPixmapRegionSelectorWidget.html#7928265e2eb37bbaa51b72135315708f" title="Sets the aspect ration that the selected subimage should have.">setSelectionAspectRatio()</a> </dd></dl>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00410">410</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="c17bb4eba4bcdda7cfaa487fbd3a7a26"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::setMaximumWidgetSize" ref="c17bb4eba4bcdda7cfaa487fbd3a7a26" args="(int width, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::setMaximumWidgetSize           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the maximum size for the widget. 
<p>
If the image is larger than this (either horizontally or vertically), it's scaled to adjust to the maximum size (preserving the aspect ratio) 
<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00415">415</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="2e2e4fd4803c0dee5c89b6454ba6a840"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::rotate" ref="2e2e4fd4803c0dee5c89b6454ba6a840" args="(KImageEffect::RotateDirection direction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::rotate           </td>
          <td>(</td>
          <td class="paramtype">KImageEffect::RotateDirection&nbsp;</td>
          <td class="paramname"> <em>direction</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Rotates the image as specified by the <code>direction</code> parameter, also tries to rotate the selected region so that it doesn't change, as long as the forced aspect ratio setting is respected, in other case, the selected region is resetted. 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00163">163</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="36ae5437f5bc15fd2eedb9fb18847fa0"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::rotateClockwise" ref="36ae5437f5bc15fd2eedb9fb18847fa0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::rotateClockwise           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Rotates the current image 90º clockwise. 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00202">202</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="aaf3e4b9255fa970a813241853509dfc"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::rotateCounterclockwise" ref="aaf3e4b9255fa970a813241853509dfc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPixmapRegionSelectorWidget::rotateCounterclockwise           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Rotates the current image 90º counterclockwise. 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00207">207</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="f1a59a5e14569ff99efd45a62d8e246b"></a><!-- doxytag: member="KPIM::KPixmapRegionSelectorWidget::createPopupMenu" ref="f1a59a5e14569ff99efd45a62d8e246b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPopupMenu * KPixmapRegionSelectorWidget::createPopupMenu           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a KPopupMenu with the menu that appears when clicking with the right button on the label. 
<p>

<p>Definition at line <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html#l00141">141</a> of file <a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kpixmapregionselectorwidget_8h-source.html">kpixmapregionselectorwidget.h</a><li><a class="el" href="kpixmapregionselectorwidget_8cpp-source.html">kpixmapregionselectorwidget.cpp</a></ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>libkdepim</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classActionBase.html">actionbase</option>,  <option value="classActionEditWidget.html">actioneditwidget</option>,  <option value="classAlarmClient.html">alarmclient</option>,  <option value="classConditionEditWidget.html">conditioneditwidget</option>,  <option value="classGroupItem.html">groupitem</option>,  <option value="classKABC_1_1ResourceNull.html">kabc::resourcenull</option>,  <option value="classKConfigWizard.html">kconfigwizard</option>,  <option value="classKDateEdit.html">kdateedit</option>,  <option value="classKDatePickerPopup.html">kdatepickerpopup</option>,  <option value="classKIncidenceChooser.html">kincidencechooser</option>,  <option value="classKomposer_1_1Core.html">komposer::core</option>,  <option value="classKomposer_1_1KomposerIface.html">komposer::komposeriface</option>,  <option value="classKParts_1_1InfoExtension.html">kparts::infoextension</option>,  <option value="classKParts_1_1SideBarExtension.html">kparts::sidebarextension</option>,  <option value="classKPartsGenericPart.html">kpartsgenericpart</option>,  <option value="classKPartsWidgetPlugin.html">kpartswidgetplugin</option>,  <option value="classKPIM_1_1BroadcastStatus.html">kpim::broadcaststatus</option>,  <option value="classKPIM_1_1ClickLineEdit.html">kpim::clicklineedit</option>,  <option value="classKPIM_1_1CollectingProcess.html">kpim::collectingprocess</option>,  <option value="classKPIM_1_1ConfigManager.html">kpim::configmanager</option>,  <option value="classKPIM_1_1DiffAlgoDisplay.html">kpim::diffalgodisplay</option>,  <option value="classKPIM_1_1DistributionList.html">kpim::distributionlist</option>,  <option value="classKPIM_1_1KMailCompletion.html">kpim::kmailcompletion</option>,  <option value="classKPIM_1_1KPixmapRegionSelectorDialog.html">kpim::kpixmapregionselectordialog</option>,  <option value="classKPIM_1_1KPixmapRegionSelectorWidget.html">kpim::kpixmapregionselectorwidget</option>,  <option value="classKPIM_1_1LdapClient.html">kpim::ldapclient</option>,  <option value="classKPIM_1_1LdapObject.html">kpim::ldapobject</option>,  <option value="classKPIM_1_1LdapSearch.html">kpim::ldapsearch</option>,  <option value="classKPIM_1_1OverlayWidget.html">kpim::overlaywidget</option>,  <option value="classKPIM_1_1PluginLoader.html">kpim::pluginloader</option>,  <option value="classKPIM_1_1ProgressManager.html">kpim::progressmanager</option>,  <option value="classKPIM_1_1ResourceABC.html">kpim::resourceabc</option>,  <option value="classKPIM_1_1SelectionItem.html">kpim::selectionitem</option>,  <option value="classKPIM_1_1ThreadWeaver_1_1Event.html">kpim::threadweaver::event</option>,  <option value="classKPIM_1_1ThreadWeaver_1_1Job.html">kpim::threadweaver::job</option>,  <option value="classKPIM_1_1ThreadWeaver_1_1Thread.html">kpim::threadweaver::thread</option>,  <option value="classKPIM_1_1ThreadWeaver_1_1Weaver.html">kpim::threadweaver::weaver</option>,  <option value="classKPIM_1_1ThreadWeaver_1_1WeaverExtension.html">kpim::threadweaver::weaverextension</option>,  <option value="classKPIM_1_1ThreadWeaver_1_1WeaverThreadLogger.html">kpim::threadweaver::weaverthreadlogger</option>,  <option value="classKPrefsDialog.html">kprefsdialog</option>,  <option value="classKPrefsWid.html">kprefswid</option>,  <option value="classKPrefsWidBool.html">kprefswidbool</option>,  <option value="classKPrefsWidColor.html">kprefswidcolor</option>,  <option value="classKPrefsWidCombo.html">kprefswidcombo</option>,  <option value="classKPrefsWidDate.html">kprefswiddate</option>,  <option value="classKPrefsWidDuration.html">kprefswidduration</option>,  <option value="classKPrefsWidFont.html">kprefswidfont</option>,  <option value="classKPrefsWidInt.html">kprefswidint</option>,  <option value="classKPrefsWidManager.html">kprefswidmanager</option>,  <option value="classKPrefsWidPath.html">kprefswidpath</option>,  <option value="classKPrefsWidRadios.html">kprefswidradios</option>,  <option value="classKPrefsWidString.html">kprefswidstring</option>,  <option value="classKPrefsWidTime.html">kprefswidtime</option>,  <option value="classKRecentAddress_1_1RecentAddresses.html">krecentaddress::recentaddresses</option>,  <option value="classKRegExp3.html">kregexp3</option>,  <option value="classKResourcePrefs.html">kresourceprefs</option>,  <option value="classKRSqueezedTextLabel.html">krsqueezedtextlabel</option>,  <option value="classKSubscription.html">ksubscription</option>,  <option value="classKTimeEdit.html">ktimeedit</option>,  <option value="classKVCardDrag.html">kvcarddrag</option>,  <option value="classKWidgetLister.html">kwidgetlister</option>,  <option value="classLinkLocator.html">linklocator</option>,  <option value="classQStrictUtf7Codec.html">qstrictutf7codec</option>,  <option value="classQUtf7Codec.html">qutf7codec</option>,  <option value="classRuleEditWidget.html">ruleeditwidget</option>,  <option value="classRuleListWidget.html">rulelistwidget</option>,  <option value="classRuleStack.html">rulestack</option>,  <option value="classScorableGroup.html">scorablegroup</option>,  <option value="classSingleActionWidget.html">singleactionwidget</option>,  <option value="classSingleConditionWidget.html">singleconditionwidget</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../akregator/html/index.html">akregator</a></li><li>&nbsp;&nbsp;<a href="../../akregator/src/html/index.html">src</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../certmanager/html/index.html">certmanager</a></li><li>&nbsp;&nbsp;<a href="../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../kalarm/html/index.html">kalarm</a></li><li>&nbsp;&nbsp;<a href="../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../kandy/html/index.html">kandy</a></li><li><a href="../../karm/html/index.html">karm</a></li><li><a href="../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../kgantt/html/index.html">kgantt</a></li><li><a href="../../kioslaves/html/index.html">kioslaves</a></li><li>&nbsp;&nbsp;<a href="../../kioslaves/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../kmail/html/index.html">kmail</a></li><li><a href="../../knotes/html/index.html">knotes</a></li><li><a href="../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../kontact/html/index.html">kontact</a></li><li><a href="../../korganizer/html/index.html">korganizer</a></li><li><a href="../../kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../kpilot/kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../libkcal/html/index.html">libkcal</a></li><li><a href="../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../libkmime/html/index.html">libkmime</a></li><li><a href="../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../libkpimidentities/html/index.html">libkpimidentities</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>