summaryrefslogtreecommitdiffstats
path: root/shemovcleaner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Another round of Clang fixes...Arno2022-04-161-4/+4
|
* Make free space label readable againArno2022-04-161-19/+2
| | | | Remove background colors and just show the numbers.
* Make it compile with qt6Arno2022-04-161-1/+1
| | | | | | | *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 :)
* Fix race in updateCopyingArno2019-11-231-6/+6
| | | | | | | | | | If the storage is fast enough, passing a bool to updateCopying does not suffice. Then the SIGNAL with inProgress == true could arrive *after* the work is already done, leaving the copy indicator in an inconsitent state. So check the QThread directly by ->isRunning() instead of passing a bool.
* Clang fixes for ShemovCleanerArno2018-12-091-3/+3
|
* Gather data when FileCopier is doneArno2018-07-301-0/+1
|
* Cancel copying when clicking on status bar itemArno2018-07-301-0/+18
|
* Give some indication that we're copyingArno2018-07-301-0/+28
| | | | | Add a new label to the statusBar: When it's green the FileCopier is idle, when working, show the count.
* Remove useless ProgressBarArno2018-06-131-6/+0
| | | | No need for the ProgressBar in the status line any more...
* Implement alternating row colorsArno2018-02-031-0/+4
| | | | | | | | | | | | | | | 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.
* Remove search and actor WidgetsArno2018-02-021-25/+0
| | | | Replacement: SearchDialog
* Use type-safe connect syntaxArno2018-01-191-12/+12
|
* Refresh favorite dirs after configuringArno2018-01-191-0/+3
| | | | | Update favorite dirs when adding or removing favorite directories. Also try to keep the current selection.
* Add splash screenArno2017-06-171-3/+17
|
* Implement searchArno2017-02-111-0/+1
| | | | Yippie! It finally does something!
* Read and write search settingsArno2017-02-111-0/+1
| | | | Yay! Still does nothing!
* Create GUI for search widgetArno2017-02-111-0/+7
| | | | Does nothing yet, just the GUI, connections and actions...
* Change window titleArno2016-11-271-0/+5
| | | | Set window title to Tabname and dir if the current tab is changed.
* Add free space widget to status barArno2016-11-271-0/+47
| | | | Red is used, green is free, obviously...
* Update about dataArno2016-10-031-1/+9
| | | | And fix it for a perl build script...
* Timeout statusBarMessageArno2016-10-011-1/+1
| | | | Impose an arbitrary timeout of 10 seconds on status bar messages.
* Give feedback on gathering dataArno2016-09-221-0/+5
| | | | | | | Use the ProgressBar when gathering torrent data from a directory with many entries. Sprinkle processEvents() here and there to show the progress.
* Set min width for selected itemsArno2016-09-221-0/+2
| | | | Set arbitrary width for selected items in statusBar to 80 and center it.
* Always select and set current first rowArno2016-09-161-2/+4
|
* Remember and restore last tab on exitArno2016-09-161-0/+17
|
* Add menuBar and toolBar for ActorWidgetArno2016-09-161-1/+1
| | | | as promised...
* Basic ActorWidget doneArno2016-09-161-1/+8
| | | | Next: Menubar and Toolbar...
* Add Help menuArno2016-09-051-1/+17
| | | | Doesn't really help at all, just 2 about dialogs.
* Ignore closeEventArno2016-09-051-0/+3
| | | | | Actually don't quit and ignore the closeEvent if "No" is clicked on exit.
* Set fixed height for ProgressBarArno2016-09-051-0/+1
| | | | Confine it to 150x10, the default was just too ugly.
* Make actions localArno2016-09-051-61/+0
| | | | | Define actions in their respective Widgets instead of MainWindow and fix the menus and toolbars accordingly.
* Implement Copy&Paste for FileWidgetArno2016-09-041-1/+0
| | | | While at it, do the context menu, too...
* Make QActions local to FileWidgetArno2016-09-041-51/+21
| | | | Introduce Globals singleton for global actions.
* Add ProgressBar to status barArno2016-09-041-29/+9
| | | | | | | | Indicate progress of gathering data in status bar Also (yes, I know, should be a separate commit) fix keyboard navigation by getting rid of ShemovCleaner::keyPressEvent and replace it with buddies in QTabWidget.
* Add toolbar to FileWidgetArno2016-09-041-0/+11
|
* Add menuBar to FileWidgetArno2016-09-041-0/+32
|
* Remove select Folder from Edit menuArno2016-09-041-2/+0
| | | | It's in the file menu alread, were it belongs...
* Navigate Tabs by ALT+Left+RightArno2016-09-041-0/+28
|
* Navigate by keyboardArno2016-09-041-0/+1
| | | | | | | * Enter -> itemDoubleClicked * CTRL-S -> filter * CTRL-D -> select directory * CTRL-F -> focus files
* Display duration and num. of selected FilesArno2016-09-041-0/+22
| | | | | | | | When selecting files in FileWidget, calculate the total duration and display it in the status bar. Also count the selected Files and show them. Update status bar on changing tabs.
* Make ffprobe and mkvinfo configurableArno2016-09-031-12/+14
| | | | Need ffprobe for video file infos, maybe mkvinfo, too...
* FileWidget enhancementsArno2016-09-031-0/+10
| | | | | | | * add distinct icons for files presenet or non present in DB and non- video files, make it sortable * read and save settings * save geometry of ShemovCleaner
* Basic Version of FileWidgetArno2016-09-021-0/+3
| | | | | | It checks the DB for md5sums and colors the files accordingly. As I said: very basic!
* Added copyToClipboard where applicableArno2016-08-281-1/+19
|
* Added configration dialogArno2016-08-201-0/+43
| | | | | Database connection options are now configurable. Hopefully it doesn't end up in an infinite loop if the credentials are not corrent...
* Revamped ShemovCleaner to a QTabWidgetArno2016-08-201-253/+71
| | | | | | | | | | | 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!
* Implement file searchArno2016-08-201-14/+37
| | | | | Search for a regular expression in all files of all torrents and select them.
* Present torrent files as a treeArno2016-08-201-1/+1
| | | | | | | | | | | | A torrent info dictionary has two modes: single and multi files. When in multi-mode, the name-entry is the directory containing the files. Represent it as a tree. During testing I discovered a fatal bug in the torrent parser: If we encounter an invalid string, we have to move mPos forward, else we will loop indefinitely until we're OOM. I also added some icons for folders, files and trackers.
* Added torrent supportArno2016-08-191-0/+21
| | | | | | | | The BEncode parser is loosely based on this: https://github.com/jif/Bencode/blob/master/bencode.cpp Not perfect, but enough to display all the essential data in the shiny new TorrentDisplay dialog.
* Implemented MoveFiles and a status barArno2016-08-171-4/+36
| | | | Should be 2 commits, but who cares?