| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* Make sure that we don't add pictures without mapping
* Let the windowmanager position the progress dialog
|
|
|
|
| |
Remove all remnants of PictureViewer size.
|
|
|
|
|
|
| |
Make it possible to resize the PictureViewer2 and get rid of fixed size.
Also, make sure that the current picture is redrawn when we get a resize
event.
|
|
|
|
|
|
|
|
|
|
| |
Removing files didn't work as expected: It removed files more or less at
random, because the indexes were from the proxy and weren't mapped back
to the source.
While at it, make it possible to remove several files at once and change
the label of the button to make clear that the files are only removed
from the view.
|
|
|
|
| |
A set of attributes can now be saved and loaded in NewPicsDialog.
|
|
|
|
|
| |
Add button to save the position of the NewPicsDialog and move it there
when we show()
|
|
|
|
|
|
|
| |
ResultView
Usability fix: When selecting a mapping in the result view, select it in
the source tree, too.
|
|
|
|
|
| |
Well, that happens when you just copy and paste, not understanding what
you're doing. Kinda embarrassing...
|
|
|
|
|
|
| |
When calling NewPicsDialog from PictureViewer, move it to the top left
corner to not cover the pic itself. Also, select all pics from current
directory when no files are marked.
|
| |
|
|
|
|
|
| |
Enable the delete option in ArchiveTree, but only allow delete when it
has no children.
|
|
|
|
|
|
| |
It crashed when used on directories, because naturally md5sum was empty.
So recurse through directories, collect files and check if we have a DB-
Entry. If so, move the files back to archive. If not, skip them.
|
|
|
|
|
|
| |
New context menu item for Filesystemwidget: select the seriespart when
goto archive is triggered... Selecting the partId from ArchiveModel was
deceptibly simple. Doom impending?
|
|
|
|
|
| |
Center Filedialog in NewMovieWizard::infoPage when adding source files.
Also switch to the directory from FSWidget.
|
|
|
|
| |
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
|