[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: "Mark Gaiser" <markg85 () gmail ! com>
Date: 2011-10-31 21:27:51
Message-ID: 20111031212751.5573.37488 () vidsolbach ! de
[Download RAW message or body]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103009/
-----------------------------------------------------------
(Updated Oct. 31, 2011, 9:27 p.m.)
Review request for KDE Runtime and Plasma.
Description
-------
Hi,
I found it very strange that QIcon::fromTheme was "just working". Sadly in =
KDE'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: "fromTheme" which allows you to get the icons from the the=
me 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 work =
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 />
<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 Oct. 31, 2011, 9:27 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 "just working". Sadly in \
KDE'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: \
"fromTheme" which allows you to get the icons from the theme 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?</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