| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Also, remove some left over menus from old ArchiveView.
|
|
|
|
|
| |
Unfortunately, it is so convoluted code that there's most likely a lot
of cruft left, so call it work in progress...
|
|
|
|
|
| |
Update database on accpet()
Yes, I know that some code could be shared, but I want to keep it clean.
|
|
|
|
| |
Only removes items from the view, does nothing to the database yet.
|
|
|
|
|
|
|
| |
Only adds items to the view, doesn't do any changes to the database yet.
Had to implement a custom InputDialog, because the standard InputDialog
doesn't have a setter for the completer.
|
|
|
|
| |
Actors and Genres.
|
| |
|
|
|
|
|
| |
Try to replace all those editing dialogs with one exhausting dialog. For
now, it's just the layout. It does nothing yet.
|
| |
|
| |
|
|
|
|
| |
Also, play the movie on doubleclick if it's available.
|
|
|
|
|
| |
Turns out it's more general purpose than I thought. Gonna reuse it for
MovieWidget.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also remove Favorites from selection. Should be an option with random
player, if at all.
|
| |
|
| |
|
|
|
|
|
| |
It's the replacement for the archive viewer thingy. Just keep it simple
and stupid. For now it shows series data.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Get rid of FilesystemWidget and helper classes. The SmDirWatcher was
useful, once, I guess, nice to implement it by foot, but with the
current workflow it isn't needed any more.
|
| |
|
| |
|
| |
|
|
|
|
| |
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
|