KDEREVIEW: StackFolder plasma applet

Albert Astals Cid aacid at kde.org
Thu Nov 8 00:04:15 GMT 2012


El Dimecres, 7 de novembre de 2012, a les 13:24:30, Ural Mullabaev va 
escriure:
> Hello all!

Hi
 
> Let me introduce you our applet - StackFolder. It has been moved to
> kdereview to get into kdeplasma-addons. StackFolder is a plasmoid that
> provides fast and convenient access to most frequently used files and
> directories. To start working with a folder in StackFolder, drag it from
> Dolphin to the panel and in the pop-up menu choose "Stack Folder".
> Initially StackFolder was based on FolderView applet. We developed new
> smooth user interface in QML. StackFolder is a PopupApplet that allows to
> browse folders and quickly access files in them as well as instantly
> preview a wide range of different file types (including pictures, video and
> audio) via tight integration with another ROSA utility - KLook. We thought
> over many small but useful features like StackFolder's icon animation on
> addition of new file in download folder or files sorting by addition date.
> 
> https://projects.kde.org/projects/kdereview/stackfolder
> http://wiki.rosalab.ru/en/index.php/What_is_StackFolder
> http://www.youtube.com/watch?v=DnH13y_FlHU

Code comments:
 * You still have two uncommented qDebug, please turn them into kDebug or 
comment them
 * In proxymodel.cpp you do
     const QDateTime time1 = QDateTime::fromString(dirModel-
>data(left).toString(), "dd.MM.yy HH:mm");
 (and the same for time2). That is wrong, since that string comes from
     KDateTime dt = item.time(KFileItem::ModificationTime);
     return KGlobal::locale()->formatDateTime(dt);
in kdirmodel.cpp, it happens to work for your locale but you should use 
klocale or k/qdatetime locale aware reading not string based one.

Behaviour comment (note i haven't had time to try it):
 * How does it work with the keyboard?

Cheers,
  Albert

> 
> Regards,
> Ural Mullabaev
> Rosa Laboratory
> www.rosalab.com




More information about the kde-core-devel mailing list