summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Good riddance Filesystem Widget!Arno2018-04-031-353/+5
| | | | | | 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.
* FSWidget: add configure actionArno2018-04-031-0/+2
|
* FSWidget: Update free space after gatherData()Arno2018-04-031-0/+1
|
* FSWidget: Update status barArno2018-04-031-0/+5
| | | | Show count, size and duration.
* Add visual feedback to FSWidgetArno2018-03-311-0/+1
| | | | | | | | * 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.
* Basic layout for new FSWidgetArno2018-03-301-0/+3
| | | | Just the layout, does absolutely nothing yet.
* Add untar actionArno2018-03-301-0/+4
| | | | | tries to tar xf selected files. If tar was successful, the archive is deleted. Should make archiving pics a bit easier.
* Massive code churn in shemov.cppArno2017-12-291-106/+106
| | | | | | | | | | | Converted everything to the type-safe connect syntax. That unearthed two minor problems with filesystemwidget.cpp: 1. We called a private SLOT in there from class SheMov. Dunno if it works with the old syntax. Anyway, I fixed it. 2. With the new syntax you can't call SLOTS with default arguments, so I had to introduce a helper slot playSelectedWithDefault Since I was already at it, I also replaced Q_FOREACH.
* Guess if the file was reencodedArno2017-12-281-0/+1
| | | | | It's really simple: If we have a file with the same name, but another extension, add it as FT_ORIGIN to the list.
* Get rid of PVAddMapper QSignalMapperArno2017-12-261-7/+2
| | | | | | | One has to ask what it is good for now, maybe totally useless after revamping the slide dialog, but that's for another commit... This also eliminates QSignalMapper from shemov.{h,cpp}
* Get rid of copyCutMapperArno2017-12-261-6/+2
|
* Get rid of the headerMapper QSignalMapperArno2017-12-261-13/+6
| | | | | | | This one was a bit harder, because I made a function return the QSignalMapper, but I could reuse it with a signature change. Just provide the view, too, so we can make the connection inside the function, which now returns void.
* Get rid of QSignalMapper mOpenTimesFSMapperArno2017-12-261-4/+1
| | | | and replace it with a lambda.
* Get rid of QSignalMapper mOpenWithMapperFSArno2017-12-261-20/+4
| | | | Replace it with a lambda as SLOT, as stated in the QT documentation.
* Fix one crash and compile issuesArno2017-07-201-0/+2
| | | | | | | | | | | | Don't access FileName in constructWindowTitle when we don't have a file at mCurPos. That's what crashed us randomly! Also (yes, I know, should be a separate commit) fix warnings about implicit fallthru's in switch statements. The one in SmDirModel actually was a bug, the one in tabChanged is just a nuisance. Also (again), shuffle header inclusion in SmGlobals so Xlib and QT don't clash.
* Hook up Actions for RandomTabArno2016-11-111-0/+6
| | | | Create edit and context menus.
* Add Random file browserArno2016-11-101-0/+7
| | | | | | | | Idea: Select random movies based on a selection of genres and actors in a new tab, so you don't have the agony of choice. This is just the basic layout. The selectors are filled and the buttons are connected, but it doesn't select anything yet.
* Add Next> to NewPicsDialogArno2016-10-161-0/+11
| | | | | | Make archiving various pictures easier. When NewPicsDialog is calles with a directory, the Next> button archives the current pic and selects the next.
* Update about data1.3.0Arno2016-10-011-1/+1
|
* Update free space when event occursArno2016-10-011-0/+1
| | | | | Update free space when we get an inotify event that changes disk space, or when refresh is called.
* Make the SlideDialog do somethinArno2016-03-291-1/+1
| | | | Well, implement functionality. Seems to work as intended.
* Design slide dialogArno2016-03-291-1/+12
| | | | Does nothing yet, just the dialog...
* Call setFsFree after CopyWorker is doneArno2016-03-051-0/+1
| | | | Update free space widget after deleting files from CopyWorker.
* Add separator after Move to USBArno2016-03-051-0/+2
| | | | in both the context menu and the view menu.
* Add "Move to USB..." actionArno2016-03-041-0/+5
| | | | Does nothing yet, just the context menu entry. It compiles, though :)
* Remove slide indicator from status barArno2015-08-281-21/+0
| | | | | Useless, and didn't work anyway since using the control item in pictureviewer.
* Implement shuffle in PictureViewer2 controlsArno2015-08-271-7/+0
| | | | Remove action from context menu.
* Remove PVActions from SheMovArno2015-08-271-46/+0
| | | | Remove actions that are now triggered by the ControlItem.
* Implement slide through all picturesArno2015-08-121-2/+19
| | | | | Wow, that was much more complicated than I first thought, but it seems to work. Maybe it's much more convoluted than it has to be :)
* Usability fixesArno2015-06-071-0/+1
| | | | | | | | | | * start maximized * focus MappingTree when showing NewPicsDialog * Keyboard Shortcuts for FilesystemWidget: CTRL+UP: go to parent dir CTRL+LEFT: go back CTRL+U: unpack * close UnpackDialog when done
* Get rid of Helper::centerDialogArno2015-06-061-1/+0
| | | | | | It's useless if you don't use a tiling window manager. Also, now we have an empty class SmDialog. Didn't replace it yet. Maybe it's useful in the future.
* Resize PictureViewer2Arno2015-06-061-0/+1
| | | | | | Make it possible to resize the PictureViewer2 and get rid of fixed size. Also, make sure that the current picture is redrawn when we get a resize event.
* Fix logic for activating actionsArno2015-03-311-2/+2
| | | | | Well, that happens when you just copy and paste, not understanding what you're doing. Kinda embarrassing...
* Delete emtpy seriesArno2015-03-211-1/+4
| | | | | Enable the delete option in ArchiveTree, but only allow delete when it has no children.
* Implement gotoArchiveArno2015-02-141-0/+23
| | | | | | New context menu item for Filesystemwidget: select the seriespart when goto archive is triggered... Selecting the partId from ArchiveModel was deceptibly simple. Doom impending?
* Center QFileDialogArno2015-02-141-0/+2
| | | | | Center Filedialog in NewMovieWizard::infoPage when adding source files. Also switch to the directory from FSWidget.
* Implement play several timesArno2015-02-141-0/+23
| | | | Add context menu entry for playing movies in a loop or 2..5 times.
* Center on selected directory on startupArno2015-02-131-0/+3
| | | | | | Center on the selected dir in Filemanager on startup. Unfortunately it's not as straight as one would think. scrollTo doesn't work until the widget is painted, so we have to take a little detour...
* Set focus on ArchiveTree after searchArno2015-01-251-0/+1
| | | | | SetFocus() on ArchiveTree after doubleclicking a search result, so we can see the selection even after changing the tab.
* New: search dialogArno2015-01-241-1/+15
|
* Major revamp of the file ManagerArno2014-12-071-0/+1
| | | | | | Nothing is async any more. Didn't work, anyway. Instead show a QProgressDialog when gathering data. Was kinda surprising that processEvents has to be called explicitly... Well, done!
* Added icon and toolbar entry for unpack actionArno2014-07-101-1/+4
|
* Add Skip in PictureViewer2Arno2014-06-071-0/+20
| | | | | PageDown = back 25 PageUp = forward 25
* UnpackArno2014-06-071-0/+4
| | | | Added entry for unpacking archives. For now zip and rar are recognized.
* Delete files from ArchiveArno2014-04-181-0/+5
| | | | Well, the title says it all. KILL THEM!
* Change "Add Covers..." to "Add files..."Arno2014-04-181-2/+2
| | | | Generalize the slot. Make it possible to add movies, too.
* Create new, empty Seriespart by contect menuArno2014-04-071-0/+5
| | | | | Preparation for drag and drop. Also make it possible to delete Seriesparts without files.
* Only activate delete SeriesPart on SeriesPartNodeArno2014-04-041-1/+1
|
* Delete SeriesPartArno2014-04-041-0/+6
| | | | | Make it possible to delete a SeriesPart. This may happen if eg. you download the same clip/movie with a better quality.
* Create toolBar for ArchiveBrowserArno2014-02-151-0/+7
|