summaryrefslogtreecommitdiffstats
path: root/filesystemfileproxy.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Good riddance Filesystem Widget!Arno2018-04-031-89/+0
| | | | | | Get rid of FilesystemWidget and helper classes. The SmDirWatcher was useful, once, I guess, nice to implement it by foot, but with the current workflow it isn't needed any more.
* Clean up filesystemfileproxy.cppArno2018-01-011-6/+0
| | | | Remove unneccessary includes and forward declarations.
* Fix Style issuesArno2013-10-121-1/+2
| | | | | | * Change fixed width front from "courier" to "Monospace" * Remove foregroundcolor from SmTreeItem. Wasn't used nor needed, quite the opposite: it made SheMov deviate from the default style.
* Another alignment fixArno2013-05-241-1/+2
| | | | Also align VCenter in filesystemfileproxy
* Put duration and size in one Field (SmDirModel)Arno2013-04-061-2/+2
| | | | | Consolidate duration and size in one Field, like in the archive, to be consistent. Also rename the Role and Field accordingly.
* Final inotify!Arno2013-03-211-4/+3
| | | | | | | | | | | | | | | | | | | | A huge commit, I know, but it was definitely worth it! It makes the homebrew FilesystemModel work! It's divided up into two threads: 1. The Watcher: it reacts on inotify events and dispatches them to: 2. The Collector: this thread gathers the data and emits the SIGNALS to the the view. Now we can actually refresh the View, not possible with QFileSystemModel, and the data reloads in almost real time without blocking the GUI. Unfortunately this uncovered some bugs I had to fix: 1. Helper::md5sum: Don't crash if read fails with -1 2. SmTreeModel::addRow is broken. Even after 5h I couldn't figure out how or why, so I brute forced it. Reset the moded when a file is added. 3. Get rid of a lot of unneeded #include's I guess that's about it...
* First shot at SmDirModelArno2013-03-161-29/+30
| | | | | | | | Gotta take a break here. Hopefully this will end up in a custom QFilesystemModel, but I'm hitting so many bugs on the way. Some things haven't worked for ages, I guess. Anyway, the watcher doesn't do anythying right now, still fixing bugs...
* Port to Qt5Arno2013-03-031-1/+1
| | | | | | | | * Change #include to qt5 * Fix missing QX11Info * use explicit constructor for QVariant(QColor) * use beginResetModel() and endResetModel() instead of reset(). The latter was removed. Hopefully it still works :)
* Added ".." entry to FileViewArno2010-10-311-0/+20
| | | | | | Show ".." entry in FileView and make it go to the parent directory. Had to work around QT Bug 14760: NoDot doesn't work so the "." entry has to be filtered in filterAcceptsRow()
* Change display in FSWidgetArno2010-10-031-0/+28
| | | | | | | | Display "Date modified" field in FSWidget as dd-mm-yyyy. Also show mime- I guess I should subclass QFileSystemModel instead of reimplementing data() in the proxy, because sorting by mimetype doesn't work as expected. Unfortunately the reason eludes me...
* Discard QDirModelArno2010-05-121-3/+3
| | | | QDirModel is deprecated by the Nokia guys. Use QFileSystemModel instead.
* -removed a lot of qDebug() includesam2009-11-081-1/+0
| | | | | | | -turned the Fileinformation into a QTreeview, created a model for that git-svn-id: file:///var/svn/repos2/shemov/trunk@422 f440f766-f032-0410-8965-dc7d17de2ca0
* -implemented sorting in fileviewam2009-07-061-0/+32
| | | | | | | -implemented location bar git-svn-id: file:///var/svn/repos2/shemov/trunk@378 f440f766-f032-0410-8965-dc7d17de2ca0
* -added some artworkam2009-07-061-0/+14
-started implementing FilesystemView git-svn-id: file:///var/svn/repos2/shemov/trunk@377 f440f766-f032-0410-8965-dc7d17de2ca0