<div class="gmail_quote"><div>Gilles,</div><div>My other commit adds a new page in Configuration Widget of Digikam.</div><div> </div><div>1. Right now the script manager is static, but my next commit would be to create a method in SetupScriptManager class to</div>
<div>return a QGroupBox widget for every script tarball that is placed in a folder ~/.digikam/scripts would this approach be right ?</div><div><br></div><div>Also how do i make it persistent ? As in , if a script is loaded and enabled it should remain loaded and enabled even if digikam</div>
<div>is terminated and then started again.</div><div><br></div><div>PS. The tarball contents i assume are, scriptname.tar.gz / scriptname.desktop scriptname.js </div><div><br></div><div>2. There is a plasma script console, </div>
<div>qdbus org.kde.plasma-desktop /MainApplication showInteractiveConsole</div><div>Which is quite suited in our case , for prototyping new scripts . Any comments ?</div><div><br></div><div>3.For debugging scripts, the Script Manager would have a debug button next to every script name, this would pop up </div>
<div>a QScriptDebugger window . Is this approach right ?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This commit need to be backported to trunk. Thanks in advance<br>
</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Gilles Caulier<br>
<br>
2010/7/19 Kunal Ghosh <<a href="mailto:kunal.t2@gmail.com">kunal.t2@gmail.com</a>>:<br>
> SVN commit 1151380 by kunalghosh:<br>
><br>
> Fixed a trivial bug, tool tip of "String comparison type" under Settings\-\>Configure Digikam\-\>Miscellaneous is enclosed with \<qt\> tag, so now the tooltip is well formatted \;\)<br>
><br>
>  M  +2 -2      setupmisc.cpp<br>
><br>
><br>
> --- branches/extragear/graphics/digikam/utilities/setup/setupmisc.cpp #1151379:1151380<br>
> @@ -101,13 +101,13 @@<br>
>     d->stringComparisonType      = new KComboBox(stringComparisonHbox);<br>
>     d->stringComparisonType->addItem(i18nc("method to compare strings", "Natural"), AlbumSettings::Natural);<br>
>     d->stringComparisonType->addItem(i18nc("method to compare strings", "Normal"),  AlbumSettings::Normal);<br>
> -    d->stringComparisonType->setToolTip(i18n("Sets the way in which strings are compared inside digiKam. "<br>
> +    d->stringComparisonType->setToolTip(i18n("<qt>Sets the way in which strings are compared inside digiKam. "<br>
>                     "This eg. influences the sorting of the tree views.<br/>"<br>
>                     "<b>Natural</b> tries to compare strings in a way that regards some normal conventions "<br>
>                     "and will eg. result in sorting numbers naturally even if they have a different number of digits.<br/>"<br>
>                     "<b>Normal</b> uses a more technical approach. "<br>
>                     "Use this style if you eg. want to entitle albums with ISO dates (201006 or 20090523) "<br>
> -                    "and the albums should be sorted according to these dates."));<br>
> +                    "and the albums should be sorted according to these dates.</qt>"));<br>
><br>
>     // --------------------------------------------------------<br>
><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>regards<br>-------<br>Kunal Ghosh<br>Dept of Computer Sc. & Engineering.<br>Sir MVIT<br>Bangalore,India<br><br>Blog:<a href="http://kunalghosh.wordpress.com">kunalghosh.wordpress.com</a><br>
Website:<a href="http://www.kunalghosh.net46.net">www.kunalghosh.net46.net</a><br><br><br>