Re: branches/extragear/graphics/digikam/utilities/setup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: branches/extragear/graphics/digikam/utilities/setup

kunal ghosh
Gilles,
My other commit adds a new page in Configuration Widget of Digikam.
 
1. Right now the script manager is static, but my next commit would be to create a method in SetupScriptManager class to
return a QGroupBox widget for every script tarball that is placed in a folder ~/.digikam/scripts would this approach be right ?

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
is terminated and then started again.

PS. The tarball contents i assume are, scriptname.tar.gz / scriptname.desktop scriptname.js 

2. There is a plasma script console, 
qdbus org.kde.plasma-desktop /MainApplication showInteractiveConsole
Which is quite suited in our case , for prototyping new scripts . Any comments ?

3.For debugging scripts, the Script Manager would have a debug button next to every script name, this would pop up 
a QScriptDebugger window . Is this approach right ?

This commit need to be backported to trunk. Thanks in advance

Gilles Caulier

2010/7/19 Kunal Ghosh <[hidden email]>:
> SVN commit 1151380 by kunalghosh:
>
> 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 \;\)
>
>  M  +2 -2      setupmisc.cpp
>
>
> --- branches/extragear/graphics/digikam/utilities/setup/setupmisc.cpp #1151379:1151380
> @@ -101,13 +101,13 @@
>     d->stringComparisonType      = new KComboBox(stringComparisonHbox);
>     d->stringComparisonType->addItem(i18nc("method to compare strings", "Natural"), AlbumSettings::Natural);
>     d->stringComparisonType->addItem(i18nc("method to compare strings", "Normal"),  AlbumSettings::Normal);
> -    d->stringComparisonType->setToolTip(i18n("Sets the way in which strings are compared inside digiKam. "
> +    d->stringComparisonType->setToolTip(i18n("<qt>Sets the way in which strings are compared inside digiKam. "
>                     "This eg. influences the sorting of the tree views.<br/>"
>                     "<b>Natural</b> tries to compare strings in a way that regards some normal conventions "
>                     "and will eg. result in sorting numbers naturally even if they have a different number of digits.<br/>"
>                     "<b>Normal</b> uses a more technical approach. "
>                     "Use this style if you eg. want to entitle albums with ISO dates (201006 or 20090523) "
> -                    "and the albums should be sorted according to these dates."));
> +                    "and the albums should be sorted according to these dates.</qt>"));
>
>     // --------------------------------------------------------
>
>



--
regards
-------
Kunal Ghosh
Dept of Computer Sc. & Engineering.
Sir MVIT
Bangalore,India

Blog:kunalghosh.wordpress.com
Website:www.kunalghosh.net46.net



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel