| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
As it seems, qApp->activateWindow() is not state of the art any more, so
use QWidget::setActiveWindow(). Whatever...
|
|
|
|
|
|
|
|
|
| |
This is a huge commit. Changes:
* Obviously, make it compile
* Make it run (only scarcely tested)
* get rid of most of clang's warnings
Let's see what surprises are in store...
|
|
|
|
|
| |
First, add a QAction to copy the MD5sum from FSWidget to Clipboard. Then
enhance the SearchDialog to support MD5sums from files_origin *only*.
|
|
|
|
| |
The compiler told me that the interface is deprecated.
|
|
|
|
|
|
|
|
| |
The expression matching is the same as in ShemovCleaner, but here we
have a lot more levels of indirection. The guessing is done
automatically when archiveMovie is invoked. If the directory contains a
file descript.ion, it is parsed and the result injected into the
MetadataEditorWidget.
|
| |
|
|
|
|
|
|
| |
Without this the window manager (e.g. KWin) doesn't know about the
change, so Alt+TAB doesn't work as expected. Very annoying, so here's
the fix!
|
|
|
|
|
|
|
|
| |
Add icons better suited for dark themes and don't draw an ellipse around
the letter when calling Helper::icon and use the theme's text color to
better match the desktop theme.
Just be a good tenant and respect the user's choices where applicable.
|
|
|
|
|
| |
Don't use the dark variant of hardcoded colors. The non-dark version
plays well with a light theme, and even better with a dark one.
|
|
|
|
|
| |
Don't assume we know what color ought to use. Ask the palette where
applicable, but keep the modified configuration options.
|
|
|
|
| |
Lots of code shuffle and headers cleanup, but no functional changes.
|
|
|
|
| |
Use Monospace only where applicable, mostly MD5Sum and numbers.
|
|
|
|
| |
Show files with the same filename *after another* in Viewer.
|
|
|
|
| |
And don't crash on close. Remove deleteLater()!
|
| |
|
|
|
|
| |
Now we can't have multiple VideoViewers, which is what we want :)
|
|
|
|
|
|
|
| |
Clear the ComboBoxes before re-reading the entries, because just adding
them will produce duplicates if configure is called. Closing the
Configuration Dialog would just add the alread configured items to the
list, hence the duplicates.
|
|
|
|
| |
Not used, artifact from the first implementation of VideoViewer.
|
|
|
|
|
| |
Unfortunately, ffmpeg is the only player which doesn't suck too much,
but it won't take more than one file :(
|
|
|
|
| |
Also use the new connect syntax for ProgramConfigurator.
|
|
|
|
|
|
|
| |
Well, well, well. Due to several unforseen circumstances I ventured into
the sources again and implemented a Video player with Qt. Looks very
promising so far. There are some bugs to weed out, but I'm getting
there...
|
| |
|
|
|
|
|
|
| |
Don't clear the model when gathering data. Delete all rows instead to
keep the headers consistent. Also add a visible column for the full
path.
|
|
|
|
| |
for FSWidget and MovieWidget.
|
| |
|
|
|
|
|
| |
Turns out it's more general purpose than I thought. Gonna reuse it for
MovieWidget.
|
| |
|
|
|
|
|
|
|
| |
Use it in the toolbar for FSWidge and hide the menuBar.
Change Helper::icon to accept different foreground colors and wether to
draw the ellipse.
|
| |
|
| |
|
| |
|
|
|
|
| |
Show count, size and duration.
|
|
|
|
|
| |
Fill the submenu from readSettings so we can act on configuration
changes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Select files by CTRL+k, deselect everything with CTRL+k (for kill).
Select all with the global shortcut CTRL+a.
Learned some interesting things: First, QAction shortcuts won't work if
you don't add them to any actions(), even if it has a parent. So
subclass QTreeView for the context menu and add an InvisibleAction enum.
Don't show the QAction if it has that flag in data(). This has a nice
side effect: the context menu isn't shown any more when you right-click
outside the FSView.
Second: The debugger was quite confused with equal SLOT names in
different classes when using the new connect syntax. It dropped me off
in totally wrong classes, confusing me at first, too :(
|
|
|
|
| |
Well, lambdas make life so much easier! Thanks for that :)
|
|
|
|
|
|
|
|
|
| |
Assume that the pictures are identical when the MD5-Sum is. Don't do
that if only the filename is identical. There can be pics with identical
names in the database. Instead, record the md5sum in a custom role.
The idea is to let the user sort it out by comparing all pictures
visually, but that's not yet implemented.
|
| |
|
|
|
|
| |
And remove a lot of cruft... Still much work to be done :(
|
|
|
|
| |
Comes at almost no cost when using Viewer :)
|
|
|
|
|
| |
Use lightweight viewer from ShemovCleaner for this. Unfortunately
PictureViewer2 is overengineered for this.
|
|
|
|
|
|
| |
Unconditionally try to extract all selected files with 7z to the current
directory. Don't try to figure out if 7z is available or if the file is an
archive.
|
|
|
|
| |
Finally make the QComboBox do something.
|
|
|
|
|
| |
Sort size and duration by their actual numbers instead of alphabetically
by the display string.
|
|
|
|
|
| |
Remember column and order when gathering data. Also, set inital sort
column to Name and oder to Qt::AscendinOrder.
|
| |
|
|
|
|
|
| |
Mimic the old behavior, but make the Wizard local to FSWidget. It's only
called from there, so no need to make it global.
|
|
|
|
| |
Also create a helper function to create separator actions.
|
| |
|
|
|
|
|
| |
Use the parent of the current selected dir as starting point when adding
a directory to FSWidget.
|