| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Define USB directory in configuration dialog. Still does nothing...
|
|
|
|
| |
Does nothing yet, just the context menu entry. It compiles, though :)
|
|
|
|
|
|
| |
Preparation for archiving Movies to an USB disk:
Implement CopyWorker: a QThread for copying files in the background. It
compiles, nothing more, so expect bugs!
|
|
|
|
|
|
|
|
| |
When copying a file to a watched directory, this leads to excessive
inotify events. I'm guessing that's the source for the deadlock when
encoding files on othalla. Anyway, it's worth a try.
Also remove a stray qApp->processEvents()
|
|
|
|
| |
Indicate what went wrong when archiving fails.
|
|
|
|
| |
Select all items previously selected when going back()
|
|
|
|
|
| |
Delete the original file if we converted a pic to PNG, but only if the
database transaction succeeded.
|
|
|
|
|
|
|
|
|
|
| |
Automatically converting a damaged file to PNG and updating the archive
is fine as long as we're *in* the archive, but it totally messes things
up if we're browsing the file system.
So check if the image is in the archive path, and only then consider
auto-converting it. Also show a notice in the InfoItem if the file has
been converted.
|
|
|
|
|
|
| |
Don't try to access an empty QList<QVariant>. It comes from the
constructor. There has to be a better way to fix this, but right now it
eludes me...
|
|
|
|
|
| |
Use ImageMagick::Image::ping to determine the size of an image, but only
if the file size is < 400kb to prevent the impression of a deadlock.
|
|
|
|
|
| |
For now, recent is hardcoded to pictures added in the last 6 months.
Maybe it should be configurable...
|
|
|
|
|
| |
Useless, and didn't work anyway since using the control item in
pictureviewer.
|
|
|
|
|
|
| |
* place it bottom right instead of right center
* add proper margins
* use variables for margins and sizes instead of magic numbers
|
|
|
|
|
| |
If a title tag exists in a movie's metadata, extract it with ffmpeg and
put it into mSubtitle when archiving new movies.
|
|
|
|
| |
Remove action from context menu.
|
|
|
|
| |
Remove actions that are now triggered by the ControlItem.
|
| |
|
|
|
|
| |
Call the appropriate functions on keyPressEvent
|
|
|
|
|
| |
When changing from slide through all to slide, reload picture list from
model instead of continuing with current list from all.
|
|
|
|
|
| |
Now the controls actually do something. Not still as promised, but they
kinda work!
|
|
|
|
|
| |
Draw control items in PictureViewer2 at the right centered on the y-
axis.
|
|
|
|
| |
Draw a dummy rounded rectangle on the bottom left for control items.
|
|
|
|
|
| |
Introduce PictureViewerGraphicsScene for upcoming control items in the
scene.
|
|
|
|
| |
Check if the currently shown picture still exists instead of crashing.
|
|
|
|
|
|
| |
This was a hard one. SmDirWatcher raced against the model. Stop and quit
the watcher before actually deleting files. That can take a while if
file operations are in progress, so show the busy cursor.
|
|
|
|
|
| |
Wow, that was much more complicated than I first thought, but it seems
to work. Maybe it's much more convoluted than it has to be :)
|
|
|
|
|
|
|
|
|
| |
Get rid of the progress Dialog in the filesystem widget and replace it
with Qt::WaitCursor. While at it, show the waitcursor in the picture
widget, too.
Also remove the annoying warnings from ImageMagick by defining the
missing constants.
|
|
|
|
|
|
|
|
| |
Well, seems that's Qt's ImageReader got pickier regarding jpeg-files. If
the resulting QPixmap is null and void, try to convert them to png.
This introduces a new dependency to ImageMagic++. I don't like it, but
it works, kinda... I saw random crashes while testing...
|
| |
|
|
|
|
| |
and make it configurable
|
|
|
|
|
|
|
|
|
|
| |
* start maximized
* focus MappingTree when showing NewPicsDialog
* Keyboard Shortcuts for FilesystemWidget:
CTRL+UP: go to parent dir
CTRL+LEFT: go back
CTRL+U: unpack
* close UnpackDialog when done
|
|
|
|
|
|
| |
It's useless if you don't use a tiling window manager. Also, now we have
an empty class SmDialog. Didn't replace it yet. Maybe it's useful in the
future.
|
| |
|
|
|
|
|
|
|
| |
* Position progress bar in the center of the dialog instead of
PictureViewer
* Set title for progress bar
* set appropriate windowTitle for NewPicsDialog
|
|
|
|
| |
Add CTRL+A for new actor to MappingTreeView
|
|
|
|
|
|
|
|
|
|
|
| |
MappingView:
* Key_Right: add mapping
* Ctrl-Key_Right: shift focus to ResultView
* Delete: clear all mappings
ResultView:
* Key_Left: remove mapping
* Ctrl-Key_Left: shift focus to MappingView
|
|
|
|
|
| |
* 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.
|