| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
*BIG FAT WARNING*
Took me a while to figure it out, but the database connection only works
with MINGW64 instead of MINGW32! With the latter loading the SQL Plugin
fails! That said, off to brighter shores :)
|
|
|
|
| |
No need for the ProgressBar in the status line any more...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Once again, surprisingly difficult, as you can see on the number of
changed files.
Coding the configuration options wasn't that difficult, but actually
using them was. As it turned out, the default style on Windows doesn't
use QApplication::palette() at all, though it does honor
setAlternatingRowColors(). It just doesn't use the palette colors, but
style sheets. Took me a while to figure out.
So, there's always another layer of indirection: First, add all
QTreeViews to Globals::views, then create a helper to set the style
sheet.
|
|
|
|
|
| |
Get rid of Q_FOREARCH, use type safe connect syntax, remove members that
don't have to be members, the usual.
|
|
|
|
|
| |
Apparently that function is deprecated in Qt 5.10. As suggested, use
QFileInfo::birthTime() instead.
|
|
|
|
|
|
|
|
|
|
| |
This was a bit more complicated than thought. Just calling
writeHeaderData unconditionally doesn't work, because it saves the
headers on startup, when the widget isn't visible yet, so all columns
have the same width. Fix it by checking if we're visible first.
That almost worked. Almost, because after startup some columns had a
different height! Setting uniformRowHeights() to true helped.
|
|
|
|
|
| |
Just as before: delete the files and remove them from the view without a
full parse.
|
|
|
|
| |
Just move the files and remove them from the view without a full parse.
|
|
|
|
| |
Red is used, green is free, obviously...
|
|
|
|
|
| |
Remember selected items after refreshing the torrent view. Also
correctly! select the first torrent on startup.
|
|
|
|
| |
Don't care if it's the same file...
|
|
|
|
|
| |
Guess the subtitle from the torrent filename. It's more or less an
arbitrary set of strings and regexes that can't be configured.
|
| |
|
|
|
|
| |
It'll take a long time, so give the user a chance to cancel.
|
|
|
|
|
|
|
| |
Use the ProgressBar when gathering torrent data from a directory with
many entries.
Sprinkle processEvents() here and there to show the progress.
|
|
|
|
| |
Sort files by DateTime instead of string comparison.
|
| |
|
|
|
|
| |
Revamp gatherData() to use Enums for colums, roles and data.
|
|
|
|
| |
For an explanation see commit eaaa0c165b83aba1227304eb1074098ac0028ae8
|
|
|
|
|
| |
Define actions in their respective Widgets instead of MainWindow and fix
the menus and toolbars accordingly.
|
| |
|
|
|
|
|
| |
Database connection options are now configurable. Hopefully it doesn't
end up in an infinite loop if the credentials are not corrent...
|
|
It's a rather large commit. After renaming ShemovCleaner to
TorrentWidget, I had to recreate ShemovCleaner as MainWindow with a
single Tab.
Then I created QActions for everything, including a QToolBar, a QMenu
and a contetext Menu. For that the button bar at the bottom had to go.
Oh, and I added some icons for the actions!
|