summaryrefslogtreecommitdiffstats
path: root/archivecontroller.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Kinda fix display of metadataArno2016-11-061-13/+58
| | | | | | | | If a seriespart is selected in the tree, display a summary. When a file is selected, display the actual metadata. It's much more consistent. Before, the metadata of the first *item in the selected list was displayed.
* Revamp Comments and MetadataArno2016-11-061-43/+25
| | | | | | | | Make it a QTextEdit (again?) with HTML content: * A table for metadata * A paragraph for the comment(s) Also add a stretch factor to the containing widget giving it more space.
* Fix logic for activating actionsArno2015-03-311-1/+1
| | | | | Well, that happens when you just copy and paste, not understanding what you're doing. Kinda embarrassing...
* Delete emtpy seriesArno2015-03-211-1/+3
| | | | | Enable the delete option in ArchiveTree, but only allow delete when it has no children.
* New: search dialogArno2015-01-241-0/+10
|
* Make metadata icon configurableArno2014-12-101-1/+1
|
* Revamped MetadataWidgetArno2014-12-101-4/+44
| | | | | | | | Split it up into a small QTreeView and a QTextEdit for the comment. QTreeView and horizontal scrollbars don't seem to play nice together. Qt never displays the bar even if ElideText is set to none. So add a QToolTip for the Subject/Name, since it's most likely not displayed completely.
* Show doubleClicked pictureArno2014-04-181-0/+1
| | | | | Long standing bug, I guess. Select and show the doubleClicked picture instead of just loading all the others and showing the first one.
* Change "Add Covers..." to "Add files..."Arno2014-04-181-2/+2
| | | | Generalize the slot. Make it possible to add movies, too.
* Implement Drag and Drop in Movie ArchiveArno2014-04-101-0/+7
| | | | | | | | | | | | | | Well, this was actually a bit of a drag. You have read the docs very carefully to get it right. For one, don't construct the drag object in mousePressEvent if you also want a double click, otherwise you end up with very weird behavior. Same goes for the receiving end. Differentiate between dragEnterEvent and dragMoveEvent, otherwise you'll only be able to drop items if you hit the right row on entering. There are some artefacts during the drag, but I guess that's a Qt bug. Didn't bother to look into it.
* Replace ArchiveModel::FileType with #defineArno2014-02-151-8/+8
| | | | | These constants are used all over the place and aren't really specific to ArchiveModel, so use the preprocessor.
* Improve PictureViewer2Arno2013-10-121-1/+13
| | | | | | | | | * implement Mark Files * always show all pictures from context * change navigation: N -> next P -> previous M -> mark/unmark file
* Implement addCoversArno2013-09-211-0/+18
| | | | Add covers to an already archived movie.
* Preview fixesArno2013-09-141-2/+4
| | | | | * Don't show the mapping item in preview, because it has none. * Use qApp->showOverrideCursor() instead of QWidget::cursor()
* Enhance previewArno2013-08-221-0/+2
| | | | | | * Show time when snapshot was taken. * Align the snapshots properly. * Show BusyCursor when generating preview.
* Fix previewArno2013-08-161-6/+16
| | | | | * Show :/picgone.png if movie is not available * Show cover if preview is called on a picture
* Implement previewArno2013-08-111-0/+14
| | | | Show 4 frames of the selected movie in PictureViewer2.
* Implement file properties dialogArno2013-07-281-0/+11
| | | | | | | | Show file properties in Filemanager and Archive, if the file is available. Also get rid of the palette stuff in SmGlobals. Just call setPalette() early enough and set it in SmTreeView.
* Simplify icon managementArno2013-07-271-5/+2
| | | | Introduce SmGlobals::iconFor to retrieve the configured item.
* Read JSON from ffprobeArno2013-07-271-0/+26
| | | | | | | | | | | | | | | | Use JSON output from ffprobe instead of string parsing to get some kind of type safety. For doing that, some changes were needed in FileView: Use delegates for displaying Duration and Bitrate instead of mangling output in Qt::Displayrole. To reuse code, move all delegates from the new Archive to a separate file. And, of course, the initial objective: Show the accumulated size and duration of selected files in the status bar from the experimental archive.
* Use new icon schemeArno2013-07-261-2/+11
| | | | | | | Use new icon configuration consistently in: * Filemanager * NewMovieWizard * Experimental view
* Dis/enable QActions for ContextMenuArno2013-07-121-0/+10
| | | | Handle actions dependent on type node.
* Get rid of useless SimpleModel againArno2013-07-101-3/+12
| | | | | QStandardItemModel is much better than a poorly derived QStringListModel...
* Show actors, genres and metadata when selecting a seriesArno2013-07-091-0/+16
| | | | We're getting there, slowly, but steadily :)
* Make new archive workArno2013-07-081-1/+6
| | | | | | | | | | Well, this is a huge commit. Should be severals, but who knew... First and foremost feature: Make NewMovieWizard work with the experimental model. This change obsoleted a lot of code. Also, the old archive won't work with with the new Wizward... There are most probably many other features I forgot about.
* Implement actions for ArchiveFileViewArno2013-07-071-1/+141
| | | | | * make files double-clickable * implement edit actions for files
* Lots of Display ChangesArno2013-07-061-0/+1
| | | | | | | | | * Save header states * Implement delegates for columns * unify size and duration to 1 column * colorize View ... and lots of other things I forgot :)
* Basic ArchiveFilesModel and ArchiveControllerArno2013-07-061-0/+54
Implement a new file model for the archive. It's quite basic at this stage, but finally something happens when clicking the archive tree. Also, implement the interaction (signal -> slot) between the views and models in an explicit controller to prevent the mess from the old archive.