Hi all,
Today i have hacked KMail and extracted a little implementation to add a welcome page when user select the root folder on "My Album" and "My Tags view" Originaly, this folder are always displayed empty and are not managed by database. I think this is a good place to show a nice KDE like "Welcome page". This sound like more user friendly than an empty page, especially when digiKam is started at the first time. There is a screenshot with this page in action at this url : http://digikam3rdparty.free.fr/Screenshots/digikam0.9.0-welcomepage.png The patch against svn to test it is here : http://digikam3rdparty.free.fr/misc.tarballs/welcomepage.patch Paco, Marcel, Achim : The implementation is very simple and isn't intrusive with digiKam core. All page content is implemented like an HTML+CSS+PNG file in digikam/data/about folder on svn. Only a simple wrapper is added on digikamview.cpp to check if user select root folder, and all the rest is implemented into albumwidgetstack.cpp to show the page. The page content is very simple to update. All strings are in a new method on albumwidgetstack.cpp file. Note : to use this patch, please checkout svn before to get digikam/about/data content. The only little problem with this implementation are i18n. If i commit the source code now, new strings will be added to .po files... What do you think about ? Gilles Caulier _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
On Friday, 24. November 2006 18:57, Caulier Gilles wrote:
> Hi all, > > Today i have hacked KMail and extracted a little implementation to add a > welcome page when user select the root folder on "My Album" and "My Tags > view" Then we need a 'My date' and 'My search' root node too, for consistency [AFAIR there is a bugreport to remove 'My album' and 'my tags' for consistency.] > > Originaly, this folder are always displayed empty and are not managed by > database. I think this is a good place to show a nice KDE like "Welcome > page". This sound like more user friendly than an empty page, especially when > digiKam is started at the first time. > > There is a screenshot with this page in action at this url : > > http://digikam3rdparty.free.fr/Screenshots/digikam0.9.0-welcomepage.png Nice! Just s/for KDE desktop// digikam works with gnome desktop too. > > The patch against svn to test it is here : > > http://digikam3rdparty.free.fr/misc.tarballs/welcomepage.patch > > Paco, Marcel, Achim : > > The implementation is very simple and isn't intrusive with digiKam core. All > page content is implemented like an HTML+CSS+PNG file in digikam/data/about > folder on svn. Only a simple wrapper is added on digikamview.cpp to check if > user select root folder, and all the rest is implemented into > albumwidgetstack.cpp to show the page. > > The page content is very simple to update. All strings are in a new method on > albumwidgetstack.cpp file. > > Note : to use this patch, please checkout svn before to get digikam/about/data > content. > > The only little problem with this implementation are i18n. If i commit the > source code now, new strings will be added to .po files... As 0.9 final is still at least 3 weeks in the future, it should be no problem to get the 'go ahead' from kde-i18n-doc. Achim > > What do you think about ? > > Gilles Caulier > > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > > -- To me vi is Zen. To use vi is to practice zen. Every command is a koan. Profound to the user, unintelligible to the uninitiated. You discover truth everytime you use it. -- [hidden email] _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Gilles Caulier-2
> There is a screenshot with this page in action at this url :
> > http://digikam3rdparty.free.fr/Screenshots/digikam0.9.0-welcomepage.png Looks nice. > > Paco, Marcel, Achim : > > The implementation is very simple and isn't intrusive with digiKam core. > All page content is implemented like an HTML+CSS+PNG file in > digikam/data/about folder on svn. Only a simple wrapper is added on > digikamview.cpp to check if user select root folder, and all the rest is > implemented into > albumwidgetstack.cpp to show the page. > > The page content is very simple to update. All strings are in a new method > on albumwidgetstack.cpp file. > > Note : to use this patch, please checkout svn before to get > digikam/about/data content. > > The only little problem with this implementation are i18n. If i commit the > source code now, new strings will be added to .po files... > > What do you think about ? I dont know about i18n rules. Apart from that, it looks good, so commit if you think it's right ;-) Marcel > > Gilles Caulier _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Le Vendredi 24 Novembre 2006 23:16, Marcel Wiesweg a écrit :
> > There is a screenshot with this page in action at this url : > > > > http://digikam3rdparty.free.fr/Screenshots/digikam0.9.0-welcomepage.png > > Looks nice. > > > Paco, Marcel, Achim : > > > > The implementation is very simple and isn't intrusive with digiKam core. > > All page content is implemented like an HTML+CSS+PNG file in > > digikam/data/about folder on svn. Only a simple wrapper is added on > > digikamview.cpp to check if user select root folder, and all the rest is > > implemented into > > albumwidgetstack.cpp to show the page. > > > > The page content is very simple to update. All strings are in a new > > method on albumwidgetstack.cpp file. > > > > Note : to use this patch, please checkout svn before to get > > digikam/about/data content. > > > > The only little problem with this implementation are i18n. If i commit > > the source code now, new strings will be added to .po files... > > > > What do you think about ? > > I dont know about i18n rules. > Apart from that, it looks good, so commit if you think it's right ;-) Well, normally, we have frozen i18n now. We must trying to unchange strings in implementation until final release. But i think than to have this Welcome Page give a more user friendly application. It's look like other main KDE project (here i compare to Kmail) Following Achim tip, I will contact kde-i18n-doc to see if this change can be done now without cause any problems with translator jobs. Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
On Friday 24 November 2006 23:28, Caulier Gilles(UNTRUSTED, sender is
<digikam-devel-bounces-+caulier.gilles=[hidden email]>) wrote: > Le Vendredi 24 Novembre 2006 23:16, Marcel Wiesweg a écrit : > > > There is a screenshot with this page in action at this url : > > > > > > http://digikam3rdparty.free.fr/Screenshots/digikam0.9.0-welcomepage.png > > > > Looks nice. > > > > > Paco, Marcel, Achim : > > > > > > The implementation is very simple and isn't intrusive with digiKam > > > core. All page content is implemented like an HTML+CSS+PNG file in > > > digikam/data/about folder on svn. Only a simple wrapper is added on > > > digikamview.cpp to check if user select root folder, and all the rest > > > is implemented into > > > albumwidgetstack.cpp to show the page. > > > > > > The page content is very simple to update. All strings are in a new > > > method on albumwidgetstack.cpp file. > > > > > > Note : to use this patch, please checkout svn before to get > > > digikam/about/data content. > > > > > > The only little problem with this implementation are i18n. If i commit > > > the source code now, new strings will be added to .po files... > > > > > > What do you think about ? > > > > I dont know about i18n rules. > > Apart from that, it looks good, so commit if you think it's right ;-) > > Well, normally, we have frozen i18n now. We must trying to unchange strings > in implementation until final release. > > But i think than to have this Welcome Page give a more user friendly > application. It's look like other main KDE project (here i compare to > Kmail) > > Following Achim tip, I will contact kde-i18n-doc to see if this change can > be done now without cause any problems with translator jobs. kde-i18n-doc team said than It's too late to post a lot of changes before final release. I will commit this patch later than 0.9.0-final. Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |