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

List:       kde-panel-devel
Subject:    Re: Review Request 122332: KQuickControls IconDialog
From:       "David Edmundson" <david () davidedmundson ! co ! uk>
Date:       2015-03-24 9:44:38
Message-ID: 20150324094438.18119.42517 () mimi ! kde ! org
[Download RAW message or body]

--===============2819113197053476676==
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/122332/#review77990
-----------------------------------------------------------

Ship it!


+1 from me.

Remember I asked you to shove in a test qml file in the repo somewhere that launches \
the dialog.

- David Edmundson


On March 23, 2015, 6:53 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122332/
> -----------------------------------------------------------
> 
> (Updated March 23, 2015, 6:53 p.m.)
> 
> 
> Review request for Plasma and Daniel Vrátil.
> 
> 
> Repository: kdeclarative
> 
> 
> Description
> -------
> 
> This patch adds KQuickControls wrapper around KIconDialog similar to how the \
> ColorDialog and other QtQuick Dialogs work. This can be used, for instance, in \
> Kickoff's config UI to provide a picker for a custom item. 
> It is an initial draft and lacks for example window modality as I couldn't figure \
> out how QtQuick Dialogs do that (some PlatformDialogHelper magic inside) and I'm \
> also not sure about the lifecycle/ownership of the dialog, I've seen a lot of fixes \
> for issues in that area on Review Board. 
> 
> Diffs
> -----
> 
> src/qmlcontrols/kquickcontrolsaddons/CMakeLists.txt d5713a0 
> src/qmlcontrols/kquickcontrolsaddons/icondialog.h PRE-CREATION 
> src/qmlcontrols/kquickcontrolsaddons/icondialog.cpp PRE-CREATION 
> src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin.cpp cee2360 
> 
> Diff: https://git.reviewboard.kde.org/r/122332/diff/
> 
> 
> Testing
> -------
> 
> For testing I added a button to Kickoff that allows to open the dialog and the \
> button icon source is bound to the dialog's iconName property. Didn't test the icon \
> source/user/custom path stuff. 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
> 


--===============2819113197053476676==
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/122332/">https://git.reviewboard.kde.org/r/122332/</a>
  </td>
    </tr>
   </table>
   <br />



 <p>Ship it!</p>



 <pre style="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;">+1 \
from me.</p> <p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Remember I asked you to shove in a test qml file in \
the repo somewhere that launches the dialog.</p></pre>  <br />









<p>- David Edmundson</p>


<br />
<p>On March 23rd, 2015, 6:53 p.m. UTC, Kai Uwe Broulik wrote:</p>








<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 Plasma and Daniel Vrátil.</div>
<div>By Kai Uwe Broulik.</div>


<p style="color: grey;"><i>Updated March 23, 2015, 6:53 p.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kdeclarative
</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;">This patch adds KQuickControls wrapper around \
KIconDialog similar to how the ColorDialog and other QtQuick Dialogs work. This can \
be used, for instance, in Kickoff's config UI to provide a picker for a custom \
item.</p> <p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">It is an initial draft and lacks for example window \
modality as I couldn't figure out how QtQuick Dialogs do that (some \
PlatformDialogHelper magic inside) and I'm also not sure about the \
lifecycle/ownership of the dialog, I've seen a lot of fixes for issues in that area \
on Review Board.</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;">For testing I added a button to Kickoff that allows to \
open the dialog and the button icon source is bound to the dialog's iconName \
property. Didn't test the icon source/user/custom path stuff.</p></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>src/qmlcontrols/kquickcontrolsaddons/CMakeLists.txt <span style="color: \
grey">(d5713a0)</span></li>

 <li>src/qmlcontrols/kquickcontrolsaddons/icondialog.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>src/qmlcontrols/kquickcontrolsaddons/icondialog.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>src/qmlcontrols/kquickcontrolsaddons/kquickcontrolsaddonsplugin.cpp <span \
style="color: grey">(cee2360)</span></li>

</ul>

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






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







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


--===============2819113197053476676==--


[Attachment #3 (text/plain)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


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

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