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

List:       kde-core-devel
Subject:    Re: Review Request: Add fromTheme property to QIconItem in
From:       "Commit Hook" <null () kde ! org>
Date:       2011-11-02 20:34:32
Message-ID: 20111102203432.7326.94018 () vidsolbach ! de
[Download RAW message or body]

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103009/#review7883
-----------------------------------------------------------


This review has been submitted with commit 67b24ecc2694e462a913284c16f3679a=
2e6851ab by Mark Gaiser to branch master.

- Commit Hook


On Nov. 1, 2011, 6:43 p.m., Mark Gaiser wrote:
> =

> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103009/
> -----------------------------------------------------------
> =

> (Updated Nov. 1, 2011, 6:43 p.m.)
> =

> =

> Review request for KDE Runtime and Plasma.
> =

> =

> Description
> -------
> =

> Hi,
> =

> I found it very strange that QIcon::fromTheme was "just working". Sadly i=
n KDE's brand new PlasmaComponents it was simply impossible to use the syst=
em icons without using plasma to view the QML. This patch adds a property t=
o QIconItem named: "fromTheme" which allows you to get the icons from the t=
heme you currently use. This patch alone isn't helping a lot of people but =
i have a second patch ready for PlasmaComponents.Button to make use of this.
> =

> Oke to commit?
> =

> =

> Diffs
> -----
> =

>   plasma/declarativeimports/qtextracomponents/qiconitem.h 9972a98 =

>   plasma/declarativeimports/qtextracomponents/qiconitem.cpp d72381e =

> =

> Diff: http://git.reviewboard.kde.org/r/103009/diff/diff
> =

> =

> Testing
> -------
> =

> Tested it with a bunch of different icons in and it all just seems to wor=
k fine.
> =

> =

> Thanks,
> =

> Mark Gaiser
> =

>


[Attachment #3 (text/html)]

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





 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This review has been \
submitted with commit 67b24ecc2694e462a913284c16f3679a2e6851ab by Mark Gaiser to \
branch master.</pre>  <br />







<p>- Commit</p>


<br />
<p>On November 1st, 2011, 6:43 p.m., Mark Gaiser wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for KDE Runtime and Plasma.</div>
<div>By Mark Gaiser.</div>


<p style="color: grey;"><i>Updated Nov. 1, 2011, 6:43 p.m.</i></p>






<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;">Hi,

I found it very strange that QIcon::fromTheme was &quot;just working&quot;. Sadly in \
KDE&#39;s brand new PlasmaComponents it was simply impossible to use the system icons \
without using plasma to view the QML. This patch adds a property to QIconItem named: \
&quot;fromTheme&quot; which allows you to get the icons from the theme you currently \
use. This patch alone isn&#39;t helping a lot of people but i have a second patch \
ready for PlasmaComponents.Button to make use of this.

Oke to commit?</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;">Tested it with a bunch of different icons in and it all just seems to \
work fine.</pre>  </td>
 </tr>
</table>




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

 <li>plasma/declarativeimports/qtextracomponents/qiconitem.h <span style="color: \
grey">(9972a98)</span></li>

 <li>plasma/declarativeimports/qtextracomponents/qiconitem.cpp <span style="color: \
grey">(d72381e)</span></li>

</ul>

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




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








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



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

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