summaryrefslogtreecommitdiffstats
path: root/smtreemodel.h
Commit message (Collapse)AuthorAgeFilesLines
* Implemented dialog for showing movies without coversArno2010-11-271-1/+2
| | | | | | | | | Implemented a new dialog to show movies without covers. The view is a QTreeView with another model. While working on the model several shortcomings of SmTreeModel were resolved. findValue() now takes another argument to indicate the column the returned QModelIndex() should represent. Also, itemAt() was promoted from private to protected. It's quite useful for derived classes.
* Started NewMovieWizard for adding moviesArno2010-07-021-0/+2
| | | | | | | | 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
* Treemodel DevelopmentArno2010-06-161-4/+8
| | | | | | | | | | -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 SmTreeModel::parentArno2010-06-121-1/+2
| | | | | Forgot to implement SmTreeModel::parent. Thus it was a pure abstract class and not instantiable.
* Finished SmTreeModel, started SmUberModelArno2010-06-061-0/+22
| | | | | kinda finished the treemodel. Don't really know if it's complete yet. More programming will show :)
* Started Treemodel for ArchiveArno2010-06-031-0/+27
Implemented generic SmTreeItem, started on generic SmTreeModel.