Sophie

Sophie

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

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: scaledPreviewInterface.h Source File</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><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&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>scaledPreviewInterface.h</h1><a href="scaledPreviewInterface_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//==============================================</span>
<a name="l00002"></a>00002 <span class="comment">//  copyright            : (C) 2003-2005 by Will Stokes</span>
<a name="l00003"></a>00003 <span class="comment">//==============================================</span>
<a name="l00004"></a>00004 <span class="comment">//  This program is free software; you can redistribute it </span>
<a name="l00005"></a>00005 <span class="comment">//  and/or modify it under the terms of the GNU General </span>
<a name="l00006"></a>00006 <span class="comment">//  Public License as published by the Free Software </span>
<a name="l00007"></a>00007 <span class="comment">//  Foundation; either version 2 of the License, or  </span>
<a name="l00008"></a>00008 <span class="comment">//  (at your option) any later version.         </span>
<a name="l00009"></a>00009 <span class="comment">//==============================================</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#ifndef GUI_EDITING_SCALEDPREVIEWINTERFACE_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define GUI_EDITING_SCALEDPREVIEWINTERFACE_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 <span class="preprocessor">#include "<a class="code" href="splitViewInterface_8h.html">splitViewInterface.h</a>"</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="comment">//=====================================</span>
<a name="l00018"></a>00018 <span class="comment"></span><span class="comment">//=====================================</span>
<a name="l00019"></a><a class="code" href="classScaledPreviewInterface.html">00019</a> <span class="keyword">class </span><a class="code" href="classScaledPreviewInterface.html">ScaledPreviewInterface</a> : <span class="keyword">public</span> <a class="code" href="classSplitViewInterface.html" title="A split view interface provides a means to show before and after versions of an image...">SplitViewInterface</a>
<a name="l00020"></a>00020 {
<a name="l00021"></a>00021 Q_OBJECT
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="keyword">public</span>:
<a name="l00025"></a>00025   <a class="code" href="classScaledPreviewInterface.html#651c282cf645a7ae3c0aa94b65ddd0f3" title="Creates layout.">ScaledPreviewInterface</a>(QString imageFilename, <a class="code" href="classQWidget.html">QWidget</a> *parent=0, <span class="keyword">const</span> <span class="keywordtype">char</span>* name=0);
<a name="l00026"></a>00026 
<a name="l00027"></a>00027   <span class="keyword">virtual</span> QSize <a class="code" href="classScaledPreviewInterface.html#7331eb3f50d9c94119ac54921b53e0b4">sizeHint</a>() <span class="keyword">const</span>;
<a name="l00028"></a>00028   <span class="keyword">virtual</span> QSize <a class="code" href="classScaledPreviewInterface.html#0c43655b1865dd28675b5f6c91ad923a">minimumSizeHint</a>() <span class="keyword">const</span>;
<a name="l00029"></a>00029 <span class="comment">//----------------------</span>
<a name="l00030"></a>00030 <span class="keyword">protected</span>:
<a name="l00031"></a>00031   <span class="keywordtype">void</span> <a class="code" href="classScaledPreviewInterface.html#4b4cad80179680e463fb744ad96b7044">resizeEvent</a>( QResizeEvent * );
<a name="l00032"></a>00032   <span class="comment">//----------------------</span>
<a name="l00033"></a>00033 <span class="keyword">private</span>:
<a name="l00035"></a><a class="code" href="classScaledPreviewInterface.html#5f5636330ff2bea73e7009fb480d2d85">00035</a>   QImage <a class="code" href="classScaledPreviewInterface.html#5f5636330ff2bea73e7009fb480d2d85" title="Full screen version of image.">fullScreenImage</a>;
<a name="l00036"></a>00036   
<a name="l00038"></a><a class="code" href="classScaledPreviewInterface.html#cae7f5c1a2c7fb16cf8a8f6662cd603f">00038</a>   QSize <a class="code" href="classScaledPreviewInterface.html#cae7f5c1a2c7fb16cf8a8f6662cd603f" title="original image dimensions">origImageSize</a>;  
<a name="l00039"></a>00039 <span class="comment">//----------------------</span>
<a name="l00040"></a>00040 signals:
<a name="l00041"></a>00041   <span class="comment">//emited when the widget is resized indicating</span>
<a name="l00042"></a>00042   <span class="comment">//adjusted image needs to be reset</span>
<a name="l00043"></a>00043   <span class="keywordtype">void</span> <a class="code" href="classScaledPreviewInterface.html#9c372a097f0005c7e27c7e3d1a84e7fd">resized</a>();
<a name="l00044"></a>00044   <span class="comment">//----------------------</span>
<a name="l00045"></a>00045 };
<a name="l00046"></a>00046 <span class="comment">//======================</span>
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 <span class="preprocessor">#endif //GUI_EDITING_SCALEDPREVIEWINTERFACE_H</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 23 02:34:27 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>