summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.h
Commit message (Collapse)AuthorAgeFilesLines
* Implemented "Archive selected" actionArno2010-10-031-0/+12
| | | | | New context menu entry in FSWidget: archive selected. The selected files will be inserted into the MovieInfoPage when archiving a movie.
* Fix oddities in NewMovieWizardArno2010-09-111-1/+3
| | | | | | | | | Well, this one should have been easy, but there's always a way to make things complicated. Select proper entries for mPartno and mFileType in NewMovieWizard. Note to self: never ever forget about QObject::blockSignals(bool) again. This is way easier than fiddling around with boolean logic...
* Bugfix in NewMovieWizardArno2010-08-071-4/+6
| | | | | | Make Part no work in NewMovieWizard. The logic for this was totally borked. Well, it was not really present. One could only assign one Part number to all files.
* Reset NewMovieWizardArno2010-07-281-0/+3
| | | | | | | | | | | | | | | | | Well, the point of this commit was to have one NewMovieWizard in memory all the time and just show it when it's needed. For this several things were necessary: 1. implement initializePage() for every QWizardPage. For this I had to implement reset functions in some models. 2. setOption(QWizard::IndependentPages, true) in Wizard constructor. 3. Make NewMovieWizard a member of SheMov... Well, it was, already, but I didn't remove the ptr. The good news: the Wizard works. Bad News: 1. Program crashes in ArchiveViewWizard::currentChanged (see TODOS) 2. Cover files also have a quality Attribute attached.
* First version of NewMovieWizard::acceptArno Moeller2010-07-091-0/+4
| | | | | This version is not tested and may contain some very exiting, new bugs. But it compiles.
* Added actors and genres to NewMovieWizardArno2010-07-041-2/+14
| | | | Implemented 2 new pages for NewMovieWizard: actors and genres.
* Fix MovieInfoPageArno2010-07-041-1/+8
| | | | | | | | | | | | | | | The first page of NewMovieWizard gave me quite a headache. It crashed with a segmentation fault because of exposing mDvdNo via registerField() without actually assigning a QCheckBox to it. The backtrace isn't very helpful in such a case. I also fixed some bugs on the way: 1. use SmTreeItem::setData in SmTreeModel::addRow instead of deleting the old item and creating a new one. This way I don't need to take care of the parent. 2. get data of old item in SmTreeModel::reparent before calling removeRows. This call deletes the item. 3. Fix column alignments in WizardTreeModel for size column
* Started NewMovieWizard for adding moviesArno2010-07-021-0/+79
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