| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Made ArchiveTreeView work and took a look at it. Right now flat
view seems to be the better alternative.
|
|
|
|
|
| |
Implemented Widget for archive tree view. It's very basic and does
nothing.
|
|
|
|
| |
Implemented a singleton for SmUberModel.
|
|
|
|
|
|
| |
Implemented SmUberModel::populateSeriesModel(). Created a new
QSqlDatabase with hardcoded access data for refactoring. This will
change once the new schema is working.
|
|
|
|
|
| |
Forgot to implement SmTreeModel::parent. Thus it was a pure abstract
class and not instantiable.
|
|
|
|
|
|
|
|
| |
Created a new database schema and implemented a migration script
to migrate data from the old schema to the new one.
The new schema is more "modular". Actors and files, including
covers are assigned to series parts.
|
|
|
|
|
| |
kinda finished the treemodel. Don't really know if it's complete yet.
More programming will show :)
|
|
|
|
| |
Implemented generic SmTreeItem, started on generic SmTreeModel.
|
|
|
|
| |
Allow more than 10 Dvds in dvd spinbox of ArchiveItemInfoEdit.
|
|
|
|
|
| |
Added function to copy actors, covers, genre, dvd and quality to other
parts of the same movie if movie has multiple files.
|
|
|
|
|
| |
Clear actors when showing ArchiveEditItemDialog, otherwise they keep
piling up :)
|
|
|
|
|
| |
Get rid of EditArchiveItemDialog and CoverArchiveEditor. The
functionality of the classes is implemented in ArchiveItemEditDialog.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 Widget in preparation for the new ArchiveItemEditDialog.
It's still quite convoluted, but I can't think of a better way to do
this.
|
|
|
|
|
| |
Added new widget to edit movies already in archive. ArchiveItemInfoEdit
is designed to be part of a QTabWidget.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Set margins for mainlayout of Covereditor to 0, otherwise the layout of
a widget embedding the covereditor gets cluttered.
|
|
|
|
|
|
| |
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 window when exiting SheMov.
|
|
|
|
| |
Save and restore PictureViewer position on exit and startup.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Finished AddMovieWizard. Added one last page to add covers to movie.
|
|
|
|
|
| |
Fix layout of AddMovieWizard. The ListEditor-Widget must have margins
set to 0 to be laid out properly in a QWizardPage.
|
|
|
|
|
| |
Don't care if file really exists on fileysystem when deleting something
from the archive. Otherwise we can't delete archived files.
|
|
|
|
|
| |
Created a QWizard for adding movies manually. Works as expected, but
cover management has to be added as last page.
|
|
|
|
|
| |
Created singletons for the ListModel* and MovieModel*. There should only
be one of each and they were passed around quite a lot.
|
|
|
|
|
| |
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().
|
|
|
|
|
| |
Move connect() to constructor and also recalculate free space after
removing files by connecting to rowsRemoved(QModelIndex,int,int).
|
|
|
|
|
| |
Removed the code for archive extraction. Never used it, never liked it
and really never worked properly.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
When adding a program select it in QComboBox afterwards.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add separators to ArchiveViewWidget->fileView() contextmenu using
QActions and by integers during construction of QMenu.
|
|
|
|
| |
QDirModel is deprecated by the Nokia guys. Use QFileSystemModel instead.
|
|
|
|
| |
Forgot it the first time.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Replaced calls to crypto++ with QCryptographicHash
|
|
|
|
| |
Forgot to connect the Update button with his slot.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Revamped ConfigurationDialog for more than one movie player or picture
viewers. Introduced a new widget ProgramConfigurator.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
git-svn-id: file:///var/svn/repos2/shemov/trunk@429 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
| |
git-svn-id: file:///var/svn/repos2/shemov/trunk@428 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
| |
git-svn-id: file:///var/svn/repos2/shemov/trunk@427 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
| |
git-svn-id: file:///var/svn/repos2/shemov/trunk@426 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
| |
git-svn-id: file:///var/svn/repos2/shemov/trunk@425 f440f766-f032-0410-8965-dc7d17de2ca0
|
|
|
|
| |
git-svn-id: file:///var/svn/repos2/shemov/trunk@424 f440f766-f032-0410-8965-dc7d17de2ca0
|