summaryrefslogtreecommitdiffstats
path: root/shemov.pro
Commit message (Collapse)AuthorAgeFilesLines
* Edit genres and actorsArno2011-02-191-2/+4
| | | | Added dialog for editing actors and genres.
* Revamp statisticsdialogArno2011-02-121-1/+0
| | | | | | Once again redesign the statisticsdialog. Switch back from WebKit and HTML/CSS graph bars to a QWidget. Never forget about QPainter::translate() again :)
* Finished metadataArno2011-01-271-2/+4
| | | | | Created a modes for metadata, revamped NewMovieWizard to use the model and created a MetadataWidget to edit and display metadata.
* Remove MessageDialogArno2010-12-221-2/+0
| | | | Remove all references of MessageDialog, including files :)
* Moved class PictureViewerInfoItemArno2010-12-161-2/+0
| | | | | PictureViewerInfoItem is only used in PictureViewer, so no need for a sepearte file.
* Removed obsolete class filesArno2010-11-261-2/+0
| | | | | class TextEnterDialog was removed some time ago, maybe with commitd617e06. Remove files also.
* First try on ConsistencyCheckerArno2010-10-311-2/+4
| | | | | | | Well, it works, so let's shit it :) Unfortunately the database is inconsistent, so add a checker for that. Still needs some work, though. Eg. display errors seperately and make it possible to delete stray files. Also the Filesystem check must be implemented.
* Created general purpose HoverWidgetArno2010-10-161-2/+4
| | | | | | This commit outsources the HoverWindow to a seperate file and makes it possible to set a pixmap to the window. Also the cursor offset is only calculated once in SmGlobals.
* Implemented hover for SeriesTreeWidgetArno2010-10-161-1/+1
| | | | | SeriesTreeWidget show a popup window with the movies assigned to the series when hovering over a series entry.
* Implement FilePropertiesDialogArno2010-07-311-10/+6
| | | | | | | | | | | Implemented a dialog for file properties. When the mime type says it's a video, fork ffprobe to read the properties of all streams and show them in a QTreeView powered by a SmTreeModel. If the mime type is image, use QImage to read some properties and show them in the same dialog. This commit introduces the new class FilePropertiesDialog. I also had to implement a copy constructor for SmTreeItem. It obsoletes classes ActorWidget, ActorModel and MoviePropertiesDialog.
* Fixed StatisticsDialogArno2010-07-251-4/+1
| | | | | | | adapted StatisticsDialog to the new database schema and make it use WebKit and HTML to display the graph bars. This change obsoleted the classes ActorCountModel and GraphBarWidget.
* Act on doubleClick in FileTreeWidgetArno2010-07-241-2/+2
| | | | | | | | | | | | | When doubleclicking a picture in FileTreeWidget the pictureViewer is shown. Doubleclicking a movie file launches the default movie player. Since PictureViewer is now used in FileSystemWidget and ArchiveTreeView a global instance is needed. The appropriate place for this is a singleton. Since we already had a singleton for QAbstractItemModels I renamed it to SmGlobals and added a function to return a PictureViewer object. Renaming it was quite easy thanks to QtCreator's ability to rename variable names.
* Big code cleanupArno2010-07-231-42/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hopefully removed all code connected to ArchiveViewWidget in this tree. Files removed ({h,cpp}): *archiveeditdialog *listeditor *covereditor *archivefilewidget *addmoviewizard *archivefileview *archiveproxy *sizedelegate *archivedidelegate *archiveitemeditdialog *coveritem *movieitem *moviemodel *moviemodelsingleton *listmodel *listmodelsingleton *archiveviewwidget *archiveiteminfoedit *archiveitemcoveredit *fileinfoitem *fileinfomodel See added file TODOS for stuff that needs fixes.
* Started NewMovieWizard for adding moviesArno2010-07-021-2/+4
| | | | | | | | Finished GUI for first page of NewMovieWizard. To make things easier I added two new member functions to SmTreeModel: -QModelIndex find() to find items by value of a column -void reparent() to remove an item from one parent and add it to another
* Actors and genre editArno2010-06-261-2/+4
| | | | | | | | | | | | | | | | | | Implemented widgets for actor and genre editing of movies. Created new MappingTableWidget for both genres and actors and revamped ArchiveTreeView to show 2 widgets below the FilesTreeView separated by a splitter. While testing the new setup several bugs were fixed: -an SQL syntax error in FilesTreeModel -fixed SmModelSingleton to properly work with table names I also changed the signature of MappingTableModel::addMapping for the ease of use and added MappingTableModel::removeMapping. MappingTableModel got 2 new convenience functions: 1. bool contains(QString) to check if an item is already present 2. QModelIndex find() to get the index of a specific value from the model.
* New model: MappingTableModelArno2010-06-251-2/+4
| | | | | | | | | Implemented new Model for Mapping tables. This model is intended to replace the old ListModel and Singleton. MappingTableModel is derived from SmTreeModel and can be accessed using SmModelSingleton. It's quite dynamic building its queries, and has yet to be tested. Hopefully I got it right the first time :)
* Start making FilesView workArno2010-06-231-4/+6
| | | | | Introduced filestreewidget, just like seriestreewidget. The connection is still missing, though.
* Singleton cleanupArno2010-06-231-4/+2
| | | | | | | | | | The SmUberModel class wasn't needed at all, so I removed it. Instead I renamed SmUmberModelSingleton into a real singleton for all QAbstractItemModel*, though right now it only supports the SeriesTreeModel and FileTreeModel. But it should eventually evolve into a singleton for all QAbstractItemModel *. For this I renamed the class SmUberModelSingleton to SmModelSingleton.
* Started implementation of FilesTreeModelArno2010-06-201-2/+4
| | | | | | No visible representation yet. Implemented setData for quality and dvdno, but not tested yet. Dunno yet if anything else has to be editable.
* Treemodel DevelopmentArno2010-06-161-2/+4
| | | | | | | | | | -Changed the database schema. Attached quality to files -Subclassed SmTreeModel for SeriesTreeModel -Made SmTreeModel virtual for that Well, it seems there is a serious problem with the database schema. Curiously everything inside the model works beside the db update. Seems I have it wrong with the fks :(
* Implemented SeriesTreeWidgetArno2010-06-131-2/+4
| | | | | | | | | Implemented a widget for showing series in a tree. Also implemented filtering and sorting for this widget. Some bugfixes and enhancements: -Show dildo as DecorationRole in SeriesWidget -removed Quality from SeriesWidget
* Created basic ArchiveTreeViewArno2010-06-121-2/+4
| | | | | Implemented Widget for archive tree view. It's very basic and does nothing.
* Created singleton for SmUberModelArno2010-06-121-2/+4
| | | | Implemented a singleton for SmUberModel.
* Finished SmTreeModel, started SmUberModelArno2010-06-061-2/+4
| | | | | kinda finished the treemodel. Don't really know if it's complete yet. More programming will show :)
* Started Treemodel for ArchiveArno2010-06-031-2/+6
| | | | Implemented generic SmTreeItem, started on generic SmTreeModel.
* Get rid of obsolete classesArno2010-05-291-4/+0
| | | | | Get rid of EditArchiveItemDialog and CoverArchiveEditor. The functionality of the classes is implemented in ArchiveItemEditDialog.
* Implement new ArchiveItemEditDialogArno2010-05-291-2/+4
| | | | | | | | | | | | | | | | 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-291-2/+4
| | | | | | 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-281-2/+4
| | | | | Added new widget to edit movies already in archive. ArchiveItemInfoEdit is designed to be part of a QTabWidget.
* Implemented PictureViewer classArno2010-05-241-2/+6
| | | | | | | 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.
* Use singletons for modelsArno2010-05-221-2/+8
| | | | | Created singletons for the ListModel* and MovieModel*. There should only be one of each and they were passed around quite a lot.
* Cleanup archive extractionArno2010-05-141-2/+0
| | | | | Removed the code for archive extraction. Never used it, never liked it and really never worked properly.
* Got rid of crypto++ dependencyArno2010-05-121-2/+0
| | | | Replaced calls to crypto++ with QCryptographicHash
* Redesign of ConfigurationDialogArno2010-05-101-2/+4
| | | | | Revamped ConfigurationDialog for more than one movie player or picture viewers. Introduced a new widget ProgramConfigurator.
* -turned QualityStats into general purpose class GraphBarWidgetam2009-11-281-67/+72
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@429 f440f766-f032-0410-8965-dc7d17de2ca0
* -changed editarchiveitemdialog to actorwidgetam2009-11-091-2/+4
| | | | | | | -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-081-2/+6
| | | | | | | -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-061-2/+6
| | | | | | | | | | -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
* -started statistics. It compiles, but does nothing at all yetam2009-09-051-2/+4
| | | | | | | -implemented aboutShemov and aboutQt git-svn-id: file:///var/svn/repos2/shemov/trunk@405 f440f766-f032-0410-8965-dc7d17de2ca0
* -started properties dialog, does nothing atm, but compiles :)am2009-07-311-2/+4
| | | | git-svn-id: file:///var/svn/repos2/shemov/trunk@396 f440f766-f032-0410-8965-dc7d17de2ca0
* -Finished CoverArchiveEditor (finally, don't like that piece of code, too ↵am2009-07-221-2/+6
| | | | | | | | | | complicated) -It's now possible to manually add a movie w/o a file -Some usability fixes git-svn-id: file:///var/svn/repos2/shemov/trunk@394 f440f766-f032-0410-8965-dc7d17de2ca0
* -Made CoverItem behave consistentam2009-07-211-2/+6
| | | | | | | | | | -get QModelIndex from MovieModel by movieId -ArchiveView: added delegates for dvd and size, MovieItem now returns size as int -Finished EditArchiveItemDialog -Reverted covereditor, it became too convoluted git-svn-id: file:///var/svn/repos2/shemov/trunk@393 f440f766-f032-0410-8965-dc7d17de2ca0
* -started on editing the archiveam2009-07-201-2/+4
| | | | | | | | | | -big probs with the covers, I'll stop for now, can't think straight any more -changes to MovieModel -changes to MovieItem -modified CoverEditor to allow adding files (untested) git-svn-id: file:///var/svn/repos2/shemov/trunk@392 f440f766-f032-0410-8965-dc7d17de2ca0
* -added ActorRole in MovieModelam2009-07-191-4/+10
| | | | | | | | -Fixed bug in MovieItem returning data and filling the model -Started on archive viewing git-svn-id: file:///var/svn/repos2/shemov/trunk@391 f440f766-f032-0410-8965-dc7d17de2ca0
* Huge changes:am2009-07-171-2/+12
| | | | | | | | | | | | | | -Created an application icon and one for archives -implemented database configuration dialog -implemented listeditor -implemented covereditor -implemented md5sum helper -implemented archivefilewidget -Debugging spree: fixed SQL-statements and ListModel git-svn-id: file:///var/svn/repos2/shemov/trunk@389 f440f766-f032-0410-8965-dc7d17de2ca0
* -Finished ConfigurationDialog->pathsam2009-07-131-2/+4
| | | | | | | | -Implemented ExtractorDialog (untested) -started work on extractor menus git-svn-id: file:///var/svn/repos2/shemov/trunk@386 f440f766-f032-0410-8965-dc7d17de2ca0
* -implemented cover rename and templatesam2009-07-121-2/+4
| | | | | | | -started on configurationdialog git-svn-id: file:///var/svn/repos2/shemov/trunk@385 f440f766-f032-0410-8965-dc7d17de2ca0
* -added messagedialogam2009-07-081-2/+4
| | | | | | | -worked on keyboard navigation and selecting items, items can now be selected like in mc git-svn-id: file:///var/svn/repos2/shemov/trunk@380 f440f766-f032-0410-8965-dc7d17de2ca0
* -implemented sorting in fileviewam2009-07-061-2/+2
| | | | | | | -implemented location bar git-svn-id: file:///var/svn/repos2/shemov/trunk@378 f440f766-f032-0410-8965-dc7d17de2ca0
* -added some artworkam2009-07-061-2/+14
| | | | | | | -started implementing FilesystemView git-svn-id: file:///var/svn/repos2/shemov/trunk@377 f440f766-f032-0410-8965-dc7d17de2ca0