| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* show busy cursor when gathering data
* emit statusbarMessage() when gathering data
The latter shows a summary with the time it has taken to gather data,
the SQL query count and the number of files analyzed.
|
| |
|
|
|
|
|
|
| |
* replace add and remove icons with generated '+' and '-' icons
* rearrange top widgets: directories at the left, center toolbar and
filters at the right.
|
|
|
|
|
|
|
|
|
|
|
| |
First, look for md5 in files and files_origin. Then look for the complete
filename in files, and finally for the filename without suffix in files_origin.
If we have a match, note it in the new column "Presence". Matches from
files are displayed green, matches from files_orgin blue.
This implementation tries to execute as few QSqlQueries as possible by
using goto for performance. We only want to know if the file is somewhere
present, so skip the remaining queries once we have a match.
|
|
|
|
|
|
| |
* add programmatically rendered icons
* make text Qt::black
* set rootIsDecorated to false
|
|
|
|
| |
Not pretty, but we're getting there.
|
|
|
|
|
|
|
| |
Also safe and restore them. What I found out: setting the insert policy
on QComboBoxes is totally useless when you insert items
programmatically. So I implemented inserting items sorted on my own and
generalized it for the dir and filter combobox, thanks to lambdas...
|
|
|
|
|
| |
Still doesn't read anything from the filesystem, but now you can add and
remove directories. Also, the settings are saved.
|
|
Just the layout, does absolutely nothing yet.
|