summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix NewPicsDialogArno2013-03-171-1/+1
| | | | another QFilesystemModel:: fix. Use SmDirModel instead.
* Fix size displayArno2013-03-171-3/+1
| | | | We have the size in SmDirModel now. Use it!
* Another QFileSystemModel::FilePathRole fixArno2013-03-171-1/+1
| | | | Make hovering work again...
* Fix QFileSystemModel::FilePathRole usageArno2013-03-172-2/+3
| | | | | Make NewMovieWizard work again and fix QFileSystemModel::FilePathRole usage. QFileSystemModel::FilePathRole -> SmDirModel::FullPathRole
* Fix create FolderArno2013-03-172-6/+7
| | | | Don't let createFolder crash b/c of wrong model.
* Icons for SmDirModelArno2013-03-175-21/+113
| | | | | Made Icons for SmDirModel configurable. For now it's folders, movies, pictures and others.
* Make SmDirModel/SmDirWatcher do somethingArno2013-03-176-15/+47
| | | | I think I got it working! It does what I want it to do :)
* Made CTRL++ work againArno2013-03-161-2/+5
| | | | Maybe even more intiuitive this time using unix shell globs...
* First shot at SmDirModelArno2013-03-1612-74/+400
| | | | | | | | 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...
* Fix iconArno2013-03-052-2/+2
| | | | Miss-spelled foldericon (folderIcon) in mappingtablewidget.cpp model.
* Port to Qt5Arno2013-03-0349-266/+269
| | | | | | | | * 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 :)
* Remember state of mShowBurnFilesAArno2013-02-092-2/+6
|
* Fix display of series name in archiveArno2013-02-091-5/+4
| | | | | | | When hovering or showing the series name in the status bar, the code unconditionally assumed that any series has a series number. Since the introduction of subtitles this is not true any more. Just let the model figure it out by getting an index for the Name column.
* Fix setting data in ArchiveArno2013-02-091-15/+4
| | | | | Somehow editing data in the archive tree was b0rked after recent updates. It just updated the first selected item.
* Usability: SeriesTreeViewArno2013-02-084-2/+11
| | | | | Switch back to normal view when in burn view and a series is selected in SeriesTree.
* Refresh view properly after setting DVD no.Arno2013-02-082-14/+19
|
* Fix "suggest file for burning"Arno2013-02-083-37/+26
| | | | | | Don't use a SQL-Query to find files. Traverse the model instead. Also check if the resulting index is already selected. All in all, make it usable again.
* Revamp MoveToBurnArno2013-02-083-16/+20
| | | | | | Only move selected files + covers to burn directory, not the entire series. Makes suggestForBurn more accurate, and we can kinda trust the selected size :)
* Change sort orderArno2013-02-072-3/+3
| | | | | Change sort order when selecting files for burning... Alphabetically is not very useful here...
* Revamp Show all Files ActionArno2013-02-079-13/+35
| | | | | Change action to show all local movies, no favorites, no pictures, to ease selection of files to burn.
* Filter out favoritesArno2013-02-061-1/+1
| | | | | Filter out favorites when showing all files. Makes it easier to select files for burning.
* Move to archiveArno2013-01-274-1/+15
| | | | | Add menu entry to move files back to archive. Needed when move to burn directory copies more files than expected.
* Fix crash in deleting Files from ArchiveArno2013-01-043-5/+5
| | | | | | The QModelIndexList must be a QList<QPersistentModelIndex> to prevent crashes when removeRows is called. The current QModelIndex could already be invalid.
* Allow moving files from one Series to anotherArno2012-12-309-1/+116
| | | | | Allow moving files from one SeriesPart to another. Had to add another global variable for this.
* Allow adding files to existing Seriesparts with subtitlesArno2012-12-301-16/+26
| | | | | With siterips it's possible to have several files with the same subtitle. Now we ask if we want to add to it or cancel.
* More fallout from the MappingTreeModel fixArno2012-11-173-2/+5
| | | | | Forgot to fix the Edit widget... While at it, refresh the view if mappings changed in PicturesWidget.
* Yet another MappingTreeModel fixArno2012-11-173-11/+11
| | | | | Forgot to fix/rename MappingTreeResultModel... Adding pictures works again :)
* Finally { fix MappingTreeModel }!!!Arno2012-11-174-21/+14
| | | | | | | I think I did it! Fixed MappingTreeModel to make it usable, avoid all the traps with the insane column and variable names! Now we can actually have the same mapping with different parents! Yay! Hope it won't come back and bite me!
* More renaming and database cleanupArno2012-11-162-5/+5
| | | | | | | | | | | | | Rename: * drop table pics_mappings * rename pics_mappings2 to pics_mappings (no column renames) Cleanup: * drop tables and sequences: pics_attributes* * drop tables and sequences: pics_actors* * drop tables and sequences: pics_themes* Still works!
* More renaming: mappings_parentsArno2012-11-163-10/+10
| | | | | | | | | | | Rename: * drop table mappings_parents * rename mappings_parents2 to mapping_parents * drop the s after mapping on column names * rename FK imapping_id to idescription_id * rename ParentId(Role) to MappingParentId(Role) Well, it still works (tm) :)
* Renaming continued!Arno2012-11-164-19/+19
| | | | Rename enum also! _THAT_ should help, I hope!
* Rename table mappings to more fitting mapping_descriptionArno2012-11-162-26/+26
| | | | | | | | | | | | Well, many errors are a result of the very confusing naming scheme. We have tables: * mappings, more correctly mapping_descriptions * mapping_parents2, mapping_parents will be eliminated * mapping_types, maybe right, not sure. This commit renames mappings (_the_ mapping table) to mapping_descriptions. Hope I didn't miss anything. No functional change, BTW.
* Usability: Make archiving pics easierArno2012-11-166-2/+39
| | | | | | | | | | | To make archiving pictures from different sources easier, add a NewPicsDialog to PictureViewer. Add shortcuts to show the dialog and adding pics to it. After adding all pics with the same mappping, just click OK and add them to the archive. Shortcuts: Meta+s: Show NewPicsDialog Meta+a: Add current pic
* Fix subtitle usageArno2012-11-041-1/+4
| | | | Only use subtitles when part no is not set.
* Fix Splash1.1.0Arno2012-11-012-6/+19
| | | | Actually display splash screen and show what we're doing.
* Bugfix: fix sorting with subtitlesArno2012-10-271-5/+3
| | | | Sort by subtitle string when there's no partno in SeriesTreeWidget.
* Usability: disable subtitle when partNo is selectedArno2012-10-271-4/+14
| | | | | | Found several parts in the database which had both a subtitle and a partno -> wrong! Prevent it by disabling and clearing the subtitle field when hasPartno is checked.
* Fix display of caption when hoveringArno2012-10-273-19/+14
| | | | | Well, centering and sizing text is a bitch when operating with QPixmaps and QImages...
* Bugfixes: don't select dirs and don't crash on write settingsArno2012-10-275-6/+15
| | | | | | | Only select files when archiving pics from filemanager. While at it, I noticed a crash on close when no item is selected in PicturesWidget. So check if MappingData is valid on writing settings. Best way is MappingData::isValid(), and for that I needed a explicit constructor.
* Fix archiving picturesArno2012-10-278-50/+64
| | | | | | Well, what can I say. Lost in recursion and parent pointers. This commit actually boils down to using the proper database tables and inserting the right values. 'Nuff said...
* Make headers in PictureView configurableArno2012-10-205-3/+54
| | | | | Save state of QHeaderView and restore it on startup. Maybe it's time for a SmTreeView Class implementing these generic functions...
* Usability: return something if series part is invalidArno2012-10-201-2/+2
| | | | Return "(none)" for readability's sake when we have a single part movie.
* Make header menu generation genericArno2012-10-202-13/+20
| | | | Preparation for making PicturesWidget's tree headers configurable.
* Fix centering image on sceneArno2012-10-201-5/+6
| | | | | Use Qt-functions for centering pics in PictureViewer2 and fix distance to window borders.
* Always select all PicsArno2012-10-201-0/+1
| | | | | Select all pics from current node when doubleclicking a file in pictures tab.
* Make PictureViewer2 size configurableArno2012-10-207-16/+77
| | | | | | | | Several bug fixes on the way: * set fixed size policy for PictureViewer2 -> makes resizing much easier * don't set Y-offset when showing a pic. The scene takes care of it * don't deliver SIGNAL configChanged() twice to PictureViewer2 * center Widget on current screen when calling Helper::centerWidget
* Usability: ConfigurationDialog -> picturesArno2012-10-204-49/+20
| | | | | | Replace checkbox for showing info items at all with a "do not show" position in the combobox. While at it, remove unused SideBySide position.
* Keep current Pic when adding files to PicViewer2Arno2012-10-195-24/+13
| | | | | | | Try to get the position of the current picture after adding and clearing the file list of PictureViewer2. While thinking of using std::find for this I realized that the operator()-functions in Helper:: weren't used any more, so remove them and the <algorithm> includes.
* Usability: MappingTreeWidgetArno2012-10-101-2/+11
| | | | | Try to select newly added mapping. Only try, because it will fail if we have two children with the same name. The first will win.
* SeriesTreeModel fixArno2012-10-107-225/+17
| | | | | | | | | * make it possible to delete whole series again. No code fix, just the database layout: add on delete cascade to metadata * get rid of propertiesdialog.{cpp,h}. It was useless and called from the "Edit.." context menu. Code bloat, I guess... * Do something useful when calling "Edit...". Rename Series or ask for a new SeriesPart