| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
The size filter filtered more than selectedSize in the statusBar
suggested, because it used a differet size. Fix it by using a #define
everywhere.
|
|
|
|
|
| |
...when moving them to burn. Was too eager removing debug statements
Also behave properly after a model reset.
|
|
|
|
| |
bad, bad, bad girl!
|
| |
|
|
|
|
| |
with context menu...
|
|
|
|
| |
Reimplement move to burn...
|
|
|
|
| |
persist header settings and filters
|
|
|
|
|
| |
* Deactive Archive.* when not in Filemanager
* Remove play selected movie. It was only valid in Filemanager
|
|
|
|
|
| |
Don't reset mBytesRemaining to 0 if the actual number is negative. It
can be < 0 since switching to QItemSelection :)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Filter ArchiveBrowser by Quality and/or size:
* Quality: only show series with a quality less or equal
* Size: only show series still fitting onto the DVD
* Both: only show series with a quality less or equal _and_ still
fitting on the DVD
Use QItemSelection instead of going through the selected items in the
tree. Seems to work somehow...
|
|
|
|
| |
Update item selection count and selected size in statusBar.
|
|
|
|
|
|
| |
First try to reimplement "Move to archive" in another way.
Implement an archive browser showing only Series with local parts in
another tab. This part works for now :)
|
|
|
|
|
| |
Move matchRecursive from ArchiveModel to SmTreeModel so we can use it
here, too.
|
|
|
|
|
|
| |
With some GNOME themes the edit trigger for SmTreeModel is borked. The
current name is mixed with the new one, and one can't recognize
anything. Use a QInputDialog instead.
|
| |
|
|
|
|
|
| |
Use a dialog for renaming files. Craptastic. Dunno why just calling the
editor doesn't work any more, but that's life...
|
|
|
|
| |
Don't crash if file list is empty. Check size of mFiles.
|
|
|
|
|
|
|
|
| |
* Call NewPicsDialog with marked files list
* some more keyboard navigation:
-> Cursor UP and RIGHT - previous
-> Cursor DOWN and LEFT - next
-> DELETE - delete file
|
|
|
|
|
|
|
|
|
| |
* implement Mark Files
* always show all pictures from context
* change navigation:
N -> next
P -> previous
M -> mark/unmark file
|
|
|
|
|
| |
Don't emit needResize after every model SmDirModel-change. It freezes
the GUI. Let the user decide -> add a QAction to the toolBar.
|
|
|
|
| |
check and uncheck the show/hide QAction on showEvent/hideEvent.
|
|
|
|
|
|
| |
* Change fixed width front from "courier" to "Monospace"
* Remove foregroundcolor from SmTreeItem. Wasn't used nor needed, quite
the opposite: it made SheMov deviate from the default style.
|
|
|
|
|
|
|
|
| |
Seems the copy constructor of SmTreeItem was botched. After copying a
rootItem, some children wouldn't show up. I guess it has something to do
with the QHash of the parents.
Replace it with an explictit deep copy function where needed.
|
|
|
|
|
|
|
| |
Use Filename instead of md5sum for re-selecting files after reset. They
are pretty unique in a directory, too. When we're not doing expensive
ops, ie. we are polling, we don't gather the md5sum, so the selection is
lost.
|
|
|
|
|
| |
Save and restore expanded items for Favorites and local files. Added
context menu items for expandAll and collapseAll.
|
|
|
|
| |
Add covers to an already archived movie.
|
|
|
|
|
| |
Add a Splitter between icons and the directory editbox. Save state on
exit and restore it at startup.
|
|
|
|
| |
Add some more icons to to the FilesystemWidget toolbar.
|
|
|
|
|
| |
Clear comboboxes in NewMovieWizard when calling it again. Otherwise
duplicates will pile up :)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes there was a warning that a thread was being destroyed while
still running. This was SmDirWatcher::run(). read() blocks until new
data is ready, so run() never exited.
Fix it by poll()ing the inotify_descriptor. Return immediately if no
data is ready.
Also fix a small memory leak. Delete ConsistencyChecker when the dialog
is destructed.
|
|
|
|
| |
Remove global toolbar and add a toolbar to each tab instead.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Fix FileView + FilesystemWidget.
* Get rid of useless qobject_casts
* Remove hover over movies and directories
* Fix shortcut for (de-)selecting files
|