summaryrefslogtreecommitdiffstats
path: root/filewidget.h
Commit message (Collapse)AuthorAgeFilesLines
* Add preview for videosArno2016-11-271-0/+2
| | | | | | Grab 4 frames from a video and display them in the Viewer. First frame is @00:01:00, last at length - 1 minute, and the other two are in between: length / 4 * 2 and 3 (hardcoded).
* Add free space widget to status barArno2016-11-271-0/+3
| | | | Red is used, green is free, obviously...
* New feature: Add OriginArno2016-11-101-2/+7
| | | | | | | | | | | | Since SheMov now displays origin files (i.e. source files for a reencode), add an option here to add origin files for already archived movies. We guess the archived movie from the filename by cutting off the extension and look it up in the files table. If we find an archived movie with that filename, mark the source blue. Deactive "Add" if we don't find one or if we already have an origin.
* Always select and set current first rowArno2016-09-161-0/+1
|
* Implement Copy&Paste for FileWidgetArno2016-09-041-1/+5
| | | | While at it, do the context menu, too...
* Make QActions local to FileWidgetArno2016-09-041-10/+26
| | | | Introduce Globals singleton for global actions.
* Add ProgressBar to status barArno2016-09-041-0/+3
| | | | | | | | Indicate progress of gathering data in status bar Also (yes, I know, should be a separate commit) fix keyboard navigation by getting rid of ShemovCleaner::keyPressEvent and replace it with buddies in QTabWidget.
* Delete directories recursivelyArno2016-09-041-0/+2
|
* Add toolbar to FileWidgetArno2016-09-041-0/+3
|
* Add menuBar to FileWidgetArno2016-09-041-3/+10
|
* Implement delete filesArno2016-09-041-0/+1
|
* Move some code around: prep for actionsArno2016-09-041-1/+3
| | | | | | * rename itemDoubleClicked to itemSelected * turn cd and fileData into functions * Bugfix: actually exec() mQFiles when gathering data!
* Navigate by keyboardArno2016-09-041-0/+5
| | | | | | | * Enter -> itemDoubleClicked * CTRL-S -> filter * CTRL-D -> select directory * CTRL-F -> focus files
* Usability fixes for FileWidgetArno2016-09-041-5/+3
| | | | | | | * Use GroupBoxes * Don't clear filevew if browing is cancelled * processEvents() when gathering data * filter the view instead of selecting items when searching/filtering
* Display duration and num. of selected FilesArno2016-09-041-3/+12
| | | | | | | | When selecting files in FileWidget, calculate the total duration and display it in the status bar. Also count the selected Files and show them. Update status bar on changing tabs.
* Add FileDisplayArno2016-09-031-1/+4
| | | | | When doubleclicking on a file already present in DB show a dialog with the series name, actors and genres.
* Implement doubleClicked in FileWidgetArno2016-09-031-2/+3
| | | | | | | Navigate through the filesystem by doubleclicking directories. Rename enums from Row to Column, since it *are* columns. I'm not very good at naming things...
* Fix Video sortingArno2016-09-031-3/+5
| | | | | | | | | | Show directories in FileWidget and always put ".." first, then the directories by creating a new QSortFilterProxyModel. For this the file attribute is needed for every column, so use QList<QStandardItem*> instead of individual QStandardItem*s. Use enums to access columns.
* FileWidget enhancementsArno2016-09-031-1/+9
| | | | | | | * add distinct icons for files presenet or non present in DB and non- video files, make it sortable * read and save settings * save geometry of ShemovCleaner
* Basic Version of FileWidgetArno2016-09-021-0/+37
It checks the DB for md5sums and colors the files accordingly. As I said: very basic!