[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gwenview-devel
Subject:    Re: Review Request 129922: Adding Fit to width
From:       Eldin_Gagulić <eldin.gagulic () openmailbox ! org>
Date:       2017-03-19 16:00:08
Message-ID: 20170319160008.13256.58716 () mimi ! kde ! org
[Download RAW message or body]

--===============2438909720211085487==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129922/
-----------------------------------------------------------

(Updated March 19, 2017, 4 p.m.)


Review request for Gwenview.


Changes
-------

Fix issue with "Keep same zoom and position" option


Repository: gwenview


Description
-------

Hi,

I found it useful to have Fit to Width option for things I use gwenview for, so I \
added it. It's allmost completely copied code from Fit option, with few exceptions. \
If you think it will be useful add it.

P.S. I never contribute for KDE before.


Diffs (updated)
-----

  lib/documentview/abstractdocumentviewadapter.h 4fc9b135 
  lib/documentview/abstractimageview.h f7dd32ea 
  lib/documentview/abstractimageview.cpp f01b341d 
  lib/documentview/documentview.h b9f436e0 
  lib/documentview/documentview.cpp 28415d3b 
  lib/documentview/documentviewcontroller.h 26e8f9c6 
  lib/documentview/documentviewcontroller.cpp 40e29cbc 
  lib/documentview/documentviewsynchronizer.h 0a7c9da2 
  lib/documentview/documentviewsynchronizer.cpp 89b0b61f 
  lib/documentview/rasterimageview.cpp 5c4f5514 
  lib/documentview/rasterimageviewadapter.h b6221271 
  lib/documentview/rasterimageviewadapter.cpp af9bbd46 
  lib/documentview/svgviewadapter.h eae9a03a 
  lib/documentview/svgviewadapter.cpp 5069b777 
  lib/zoomwidget.h d5de70b9 
  lib/zoomwidget.cpp cae63b6e 

Diff: https://git.reviewboard.kde.org/r/129922/diff/


Testing
-------

Compiles, runs. Tested with couple of raster and svg images.


Thanks,

Eldin Gagulić


--===============2438909720211085487==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit




<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">  \
<tr>  <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/129922/">https://git.reviewboard.kde.org/r/129922/</a>
  </td>
    </tr>
   </table>
   <br />




<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for Gwenview.</div>
<div>By Eldin Gagulić.</div>


<p style="color: grey;"><i>Updated March 19, 2017, 4 p.m.</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Fix issue with "Keep same zoom and position" \
option</p></pre>  </td>
 </tr>
</table>







<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
gwenview
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Hi,</p> <p style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: inherit;">I found it useful to \
have Fit to Width option for things I use gwenview for, so I added it. It's allmost \
completely copied code from Fit option, with few exceptions. If you think it will be \
useful add it.</p> <p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">P.S. I never contribute for KDE \
before.</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Compiles, runs. Tested with couple of raster and svg \
images.</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> \
(updated)</h1> <ul style="margin-left: 3em; padding-left: 0;">

 <li>lib/documentview/abstractdocumentviewadapter.h <span style="color: \
grey">(4fc9b135)</span></li>

 <li>lib/documentview/abstractimageview.h <span style="color: \
grey">(f7dd32ea)</span></li>

 <li>lib/documentview/abstractimageview.cpp <span style="color: \
grey">(f01b341d)</span></li>

 <li>lib/documentview/documentview.h <span style="color: grey">(b9f436e0)</span></li>

 <li>lib/documentview/documentview.cpp <span style="color: \
grey">(28415d3b)</span></li>

 <li>lib/documentview/documentviewcontroller.h <span style="color: \
grey">(26e8f9c6)</span></li>

 <li>lib/documentview/documentviewcontroller.cpp <span style="color: \
grey">(40e29cbc)</span></li>

 <li>lib/documentview/documentviewsynchronizer.h <span style="color: \
grey">(0a7c9da2)</span></li>

 <li>lib/documentview/documentviewsynchronizer.cpp <span style="color: \
grey">(89b0b61f)</span></li>

 <li>lib/documentview/rasterimageview.cpp <span style="color: \
grey">(5c4f5514)</span></li>

 <li>lib/documentview/rasterimageviewadapter.h <span style="color: \
grey">(b6221271)</span></li>

 <li>lib/documentview/rasterimageviewadapter.cpp <span style="color: \
grey">(af9bbd46)</span></li>

 <li>lib/documentview/svgviewadapter.h <span style="color: \
grey">(eae9a03a)</span></li>

 <li>lib/documentview/svgviewadapter.cpp <span style="color: \
grey">(5069b777)</span></li>

 <li>lib/zoomwidget.h <span style="color: grey">(d5de70b9)</span></li>

 <li>lib/zoomwidget.cpp <span style="color: grey">(cae63b6e)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/129922/diff/" style="margin-left: \
3em;">View Diff</a></p>






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



  </div>
 </body>
</html>


--===============2438909720211085487==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic