| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Add context menu entry for playing movies in a loop or 2..5 times.
|
|
|
|
|
|
| |
Center on the selected dir in Filemanager on startup. Unfortunately it's
not as straight as one would think. scrollTo doesn't work until the
widget is painted, so we have to take a little detour...
|
|
|
|
| |
selectAll() on search term and focus it when showing the search dialog
|
|
|
|
|
| |
SetFocus() on ArchiveTree after doubleclicking a search result, so we
can see the selection even after changing the tab.
|
| |
|
| |
|
|
|
|
|
| |
Show the total duration again. QVariant().toInt() with a float results
in 0, it seems...
|
| |
|
|
|
|
|
|
| |
They don't play nice together. Crap... AutoRefresh should be a thread,
but that opens another shebang of problems, I guess. So don't show the
dialog for now.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove debug statements from SmDirWatcher
* Don't crash on parentDir when current Dir is already deleted
* Fix PicFilesModel MappingQuery. It needlessly referenced the table
pics in FROM causing an expensive full table scan!
* Fix findRecursive in PicFilesModel: Stupid typo!
* Give SmDirWatcher a separate DB-Connection. One Thread, one Connection
* Remove several includes
This should have been 6 commits, but that's how debugging works :(
|
| |
|
|
|
|
| |
Add a default value in db schema instead of doing it in the logic.
|
|
|
|
|
| |
Delete last remnants of this class (includes and files). It's not needed
any more.
|
|
|
|
|
|
|
|
| |
Split it up into a small QTreeView and a QTextEdit for the comment.
QTreeView and horizontal scrollbars don't seem to play nice together. Qt
never displays the bar even if ElideText is set to none. So add a
QToolTip for the Subject/Name, since it's most likely not displayed
completely.
|
|
|
|
| |
Use real old name for reencode origin
|
|
|
|
|
| |
Remove always failing query for enabled metadata. That checkbox is
gone...
|
|
|
|
| |
Don't try to access non-present fields. Weed them out!
|
|
|
|
|
|
| |
Nothing is async any more. Didn't work, anyway. Instead show a
QProgressDialog when gathering data. Was kinda surprising that
processEvents has to be called explicitly... Well, done!
|
|
|
|
|
|
| |
Make it possible to add parent files to files, so we can identify
already downloaded files even if we reencoded them. Record the md5sum in
a new table files_origin.
|
|
|
|
|
| |
Select the previously selected dir in FileView when going up in the
directory hierarchy.
|
| |
|
|
|
|
|
| |
Don't just sort alphabetically. Also regard the Series No. by extracting
it via a RegExp.
|
| |
|
|
|
|
|
|
|
|
| |
Since that commit we not only recorded leaves for Mappings, but also the
nodes. This is plain wrong, since we build the path/tree ourselves where
it matters (e.g. MappingTreeItem).
Fix it by checking recursively if the MappingItem has children.
|
|
|
|
|
|
|
|
|
|
| |
Resurrect the indented MappingItem. There's some recursion involved, but
actually it ain't so hard if you have a template :)
This adventure uncovered a bug in NewPicsDialog: Right now we also
record the nodes (not just the leaves) for the Mappings. This bug was
introduced by commit dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e and will
be fixed in one of the next commits.
|
| |
|
|
|
|
|
| |
removeRows and insertRows is buggy. Unfortunately I can't figure out
how... So make it easy and reset the model on inserts and removals.
|
| |
|
|
|
|
|
| |
This was a difficult one. Got lost in the Semantics of QThread once
again, but just 2 days later it works :)
|
|
|
|
|
|
| |
Fix the lookup of a new child, so it will select the right child if we
have more than one child with the same name. Do it by looking up the id
instead of the name.
|
|
|
|
|
|
|
| |
Well, I hope this fixes the crashes for good. String comparison for
looking up the parents really wasn't a prudent thing to do...
Use the ParentIds instead.
|
|
|
|
|
| |
MappingTreeModel::treeFromPath() never worked as intended, so replace it
by displaying mappings in a QTextTable.
|
|
|
|
|
| |
PageDown = back 25
PageUp = forward 25
|
| |
|
|
|
|
| |
Added entry for unpacking archives. For now zip and rar are recognized.
|
|
|
|
| |
Show ProgressDialog when checksumming and archiving pictures
|
|
|
|
| |
Well, the title says it all. KILL THEM!
|
|
|
|
|
| |
Long standing bug, I guess. Select and show the doubleClicked picture
instead of just loading all the others and showing the first one.
|
|
|
|
| |
Generalize the slot. Make it possible to add movies, too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Well, this was actually a bit of a drag. You have read the docs very
carefully to get it right. For one, don't construct the drag object in
mousePressEvent if you also want a double click, otherwise you end up
with very weird behavior.
Same goes for the receiving end. Differentiate between dragEnterEvent
and dragMoveEvent, otherwise you'll only be able to drop items if you
hit the right row on entering.
There are some artefacts during the drag, but I guess that's a Qt bug.
Didn't bother to look into it.
|
|
|
|
|
| |
Preparation for drag and drop. Also make it possible to delete
Seriesparts without files.
|
|
|
|
|
| |
Arrange Seriespartsname different so the default implementation of
QSortfilterProxyModel can handle the sorting.
|
|
|
|
|
| |
Fix sorting in ArchiveTree and make it possible to enter zero in
NewMovieWizard.
|
| |
|
|
|
|
|
| |
Make it possible to delete a SeriesPart. This may happen if eg. you
download the same clip/movie with a better quality.
|
| |
|
| |
|
|
|
|
|
| |
These constants are used all over the place and aren't really specific
to ArchiveModel, so use the preprocessor.
|
|
|
|
|
| |
Picture: show in PictureViewer
Movie: show preview
|
| |
|