summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Started Treemodel for ArchiveArno2010-06-035-2/+158
| | | | Implemented generic SmTreeItem, started on generic SmTreeModel.
* Bugfix: Data corruption in ArchiveItemInfoEditArno2010-05-301-1/+1
| | | | Allow more than 10 Dvds in dvd spinbox of ArchiveItemInfoEdit.
* Implemented copying of movie dataArno2010-05-307-1/+59
| | | | | Added function to copy actors, covers, genre, dvd and quality to other parts of the same movie if movie has multiple files.
* Bugfix: clear actors in ArchiveEditItemDialogArno2010-05-301-0/+1
| | | | | Clear actors when showing ArchiveEditItemDialog, otherwise they keep piling up :)
* Get rid of obsolete classesArno2010-05-299-529/+0
| | | | | Get rid of EditArchiveItemDialog and CoverArchiveEditor. The functionality of the classes is implemented in ArchiveItemEditDialog.
* Implemented ArchiveItemEditDialog::accept()Arno2010-05-293-3/+126
| | | | | | | | | Now the update button from ArchiveItemEditDialog actually updates something. The cover handling is much cleaner than in CoverArchiveEditor on first glance. This means I can get rid of CoverArchiveEditor and EditArchiveItemDialog at last.
* Implement new ArchiveItemEditDialogArno2010-05-2910-26/+159
| | | | | | | | | | | | | | | | Use ArchiveItemEditDialog instead of EditArchiveItemDialog. The latter will soon be obsolete and removed. Terrible naming, though. This commit is not as atomic as I want it to be, but it can't be helped. I had to fix several bugs in ArchveItemInfoEdit and ArchiveItemCoverEdit on the way: -Fix layout of ArchiveItemCoverEdit -Make white background of warning label in ArchiveItemCoverEdit work -Add function to ArchiveItemInfoEdit to init the ActorModel and FileInfoModel -Add function to ArchiveItemInfoEdit to return selected actors Beware: The update button still does nothing!
* Implemented ArchiveItemCoverEditArno2010-05-293-2/+272
| | | | | | Implemented Widget in preparation for the new ArchiveItemEditDialog. It's still quite convoluted, but I can't think of a better way to do this.
* Redesign of editing archive itemsArno2010-05-283-2/+251
| | | | | Added new widget to edit movies already in archive. ArchiveItemInfoEdit is designed to be part of a QTabWidget.
* Make directory browsing optional for PictureViewerArno2010-05-282-3/+8
| | | | | | Make directory browsing optional in preparation for new ArchiveItemEditDialog. There will be a button to view the selected picture, but it needn't be able to browse the directory of the picture.
* Bugfix: set Margins of CoverEditor to 0Arno2010-05-281-0/+1
| | | | | Set margins for mainlayout of Covereditor to 0, otherwise the layout of a widget embedding the covereditor gets cluttered.
* Bugfix for commit 8827510ec55eda169340b5414bd60eb3ba3bfb79 et al.Arno2010-05-242-5/+6
| | | | | | Remove duplicate QLabels in ArchiveEditDialog after given commit. Also readd ListModel to genre QComboBox in the dialog. Seems I deleted a little to much.
* Close PictureViewer on exitArno2010-05-242-0/+3
| | | | Close PictureViewer window when exiting SheMov.
* Save PictureViewer positionArno2010-05-241-0/+3
| | | | Save and restore PictureViewer position on exit and startup.
* Implemented PictureViewer classArno2010-05-249-10/+317
| | | | | | | Don't call an external program for showing a picture. When an image is doubleclicked a new windows shows the picture. Pictures can still be opened in an exteral program by using the "Open with..." context menu item.
* Added cover page to AddMovieWizardArno2010-05-233-39/+106
| | | | Finished AddMovieWizard. Added one last page to add covers to movie.
* Bugfix: margins in ListEditorArno2010-05-234-13/+13
| | | | | Fix layout of AddMovieWizard. The ListEditor-Widget must have margins set to 0 to be laid out properly in a QWizardPage.
* Bugfix: delete from ArchiveArno2010-05-221-4/+2
| | | | | Don't care if file really exists on fileysystem when deleting something from the archive. Otherwise we can't delete archived files.
* Wizard for adding movies manuallyArno2010-05-223-0/+244
| | | | | Created a QWizard for adding movies manually. Works as expected, but cover management has to be added as last page.
* Use singletons for modelsArno2010-05-2211-34/+136
| | | | | Created singletons for the ListModel* and MovieModel*. There should only be one of each and they were passed around quite a lot.
* Fix bug in setFsFree()Arno2010-05-141-3/+3
| | | | | Make height of QLabel dependent on font size instead of its own heigt. The latter makes it grow in height from every call to setFsFree().
* Fix calls to setFsFree()Arno2010-05-141-2/+4
| | | | | Move connect() to constructor and also recalculate free space after removing files by connecting to rowsRemoved(QModelIndex,int,int).
* Cleanup archive extractionArno2010-05-147-198/+0
| | | | | Removed the code for archive extraction. Never used it, never liked it and really never worked properly.
* Cleanup ConfigurationDialogArno2010-05-142-164/+26
| | | | | | | | | Major cleanup of ConfigurationDialog. Got rid of the expand paths madness on startup. Since we now have decent session management we don't need it any more. Also got rid of the extraction settings. Next part will be to remove the corresponding functions.
* Bugfix: ProgramConfiguratorArno2010-05-141-0/+4
| | | | When adding a program select it in QComboBox afterwards.
* Added "Play selected" and "Open with" to ArchiveViewWidgetArno2010-05-144-43/+130
| | | | | | | | | | | | | | | Implemented "Play selected movies" and "Open with" functions in ArchiveViewWidget. Also fixed a potential crash when re-creating the "Open with"-submenus. It's not possible to remove actions from an ActionGroup while iterating over the group with foreach. The ActionGroup is modified when calling removeAction() thus throwing the iterator of the loop off. Solution: First remove the actions from the ActionGroup and then delete the ActionGroup itself. The QObject destructor will take care of the contained Actions.
* Revamped ArchiveViewWidget context menuArno2010-05-142-12/+15
| | | | | Add separators to ArchiveViewWidget->fileView() contextmenu using QActions and by integers during construction of QMenu.
* Discard QDirModelArno2010-05-129-56/+28
| | | | QDirModel is deprecated by the Nokia guys. Use QFileSystemModel instead.
* Re-added Rename File to FileView contenxt menuArno2010-05-121-0/+1
| | | | Forgot it the first time.
* Solved issue with mRefreshA in FilesystemWidgetArno2010-05-123-35/+11
| | | | | | | | | | FilesystemWidget needs a pointer to the QAction triggering a refresh to disable it under certain circumstances. The current solution was to search the actions() of a child widget for a specific string in QAction::data(). Don't like it. Now SheMov sets the refresh action via a member function of FilesystemWidget.
* Got rid of crypto++ dependencyArno2010-05-122-25/+22
| | | | Replaced calls to crypto++ with QCryptographicHash
* Bugfix in ProgramConfiguratorArno2010-05-121-3/+1
| | | | Forgot to connect the Update button with his slot.
* Implemented "Open with"Arno2010-05-122-10/+19
| | | | | | The contextmenu of Fileview got an "Open with" submenu containing all configured programs. Opening files does not depend on MIME-types. That means a movie can be opened with a pictureviewer and vice versa.
* Revamp actions for FilesystemWidgetArno2010-05-115-54/+85
| | | | | | | Make actions for FilesystemWidget more Qt-like. Wrapped Rename menu into an Action and got rid of the ugly findAction(). Use signal instead. Also added actions for OpenWith.
* Make use of new Config-Values for programsArno2010-05-112-10/+44
| | | | | | Double click and playSelected() now uses the default from a list of several program. If no default program is set, the first element in the Hash is used.
* Redesign of ConfigurationDialogArno2010-05-105-61/+298
| | | | | Revamped ConfigurationDialog for more than one movie player or picture viewers. Introduced a new widget ProgramConfigurator.
* Implemented read/write settings at startup/exitArno2010-05-104-27/+90
| | | | | | | The window position and size is now written to disk on exit and read on startup. Also, the expanded directories from the tree are saved and restored. This means I can get rid of this ugly expand dirs on startup thing. Never liked it very much.
* -turned QualityStats into general purpose class GraphBarWidgetam2009-11-286-180/+286
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@429 f440f766-f032-0410-8965-dc7d17de2ca0
* -MoviePropertiesDialog now uses ActorModel and QTreeview for displaying actorsam2009-11-222-19/+19
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@428 f440f766-f032-0410-8965-dc7d17de2ca0
* -fixed bug in cover file handlingam2009-11-221-5/+10
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@427 f440f766-f032-0410-8965-dc7d17de2ca0
* -fixed small bug in actormodelam2009-11-221-0/+7
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@426 f440f766-f032-0410-8965-dc7d17de2ca0
* -fixed bug with md5sums in archiveeditdialogam2009-11-152-9/+6
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@425 f440f766-f032-0410-8965-dc7d17de2ca0
* -fixed move to burn dir to use the right directoriesam2009-11-091-14/+9
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@424 f440f766-f032-0410-8965-dc7d17de2ca0
* -changed editarchiveitemdialog to actorwidgetam2009-11-096-73/+154
| | | | | | | -added actor statistics git-svn-id: file:///var/svn/repos2/shemov/trunk@423 f440f766-f032-0410-8965-dc7d17de2ca0
* -removed a lot of qDebug() includesam2009-11-0818-74/+445
| | | | | | | -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
* -made burnDir configurable via ConfigurationDialogam2009-11-0610-96/+296
| | | | | | | | | | -revamped archivedialog to make it more intuitive -added simple listModel without database access (should be renamed) -actorlist in archivedialog now is a QTreeView -changed mFileList in achiveFileWidget git-svn-id: file:///var/svn/repos2/shemov/trunk@421 f440f766-f032-0410-8965-dc7d17de2ca0
* -implemented play selected filesam2009-10-244-0/+35
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@420 f440f766-f032-0410-8965-dc7d17de2ca0
* -Made manual add work againam2009-10-242-14/+34
| | | | | | | -Recognize matrovka containers as movies git-svn-id: file:///var/svn/repos2/shemov/trunk@419 f440f766-f032-0410-8965-dc7d17de2ca0
* -Removed some qDebug() statementsam2009-09-165-27/+24
| | | | | | | | | | -Removed filtering of extractor output (not tested) -Changed SelectionMode of filemanager to ExtendedSelection -Fixed bug in SheMov::setFreeFS -Size of selected files is now shown in filemanager git-svn-id: file:///var/svn/repos2/shemov/trunk@407 f440f766-f032-0410-8965-dc7d17de2ca0
* -implemented statistics for quality distributionam2009-09-064-7/+86
| | | | | | | -filter bar in archiveview can now be activated by pressing enter git-svn-id: file:///var/svn/repos2/shemov/trunk@406 f440f766-f032-0410-8965-dc7d17de2ca0