summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make it run with Qt6Arno2022-04-151-3/+3
| | | | | | | | | This is a huge commit. Changes: * Obviously, make it compile * Make it run (only scarcely tested) * get rid of most of clang's warnings Let's see what surprises are in store...
* Make SearchDialog parentlessArno2020-11-221-2/+2
| | | | Don't raise SearchDialog every time MainWindow is clicked.
* Layout for enhanced search dialogArno2020-07-251-0/+1
| | | | | Add Actor and Title search. This commit only makes visual changes and moves some code around. The search itself is not implemented yet.
* Use QStorageInfo instead of vfs.hArno2019-11-221-15/+6
| | | | | Use Qt instead of Posix to make it compile with Windows. Actually, this made the code easier, too.
* Resurrect search dialogArno2018-11-241-4/+7
| | | | | Add it to the global menu and make it accessible by CTRL+f when the focus is on the main window.
* Some more GUI changes to better fit dark themesArno2018-11-241-1/+1
|
* Dark theme GUI changesArno2018-11-241-2/+2
| | | | | | | | Add icons better suited for dark themes and don't draw an ellipse around the letter when calling Helper::icon and use the theme's text color to better match the desktop theme. Just be a good tenant and respect the user's choices where applicable.
* Use palette colors where applicableArno2018-11-231-1/+2
| | | | | Don't assume we know what color ought to use. Ask the palette where applicable, but keep the modified configuration options.
* Get rid of createMenus()Arno2018-09-291-11/+0
|
* Fix 0 as nullptr and remove commented out codeArno2018-09-291-1/+1
|
* Fix implicit conversionsArno2018-09-291-5/+5
| | | | Thanks, clang!
* Finally get rid of menuBar()!!!!Arno2018-09-291-17/+3
|
* Implement custom Video playerArno2018-08-261-0/+1
| | | | | | | 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...
* Remove menu bar from archive browserArno2018-07-211-85/+4
| | | | | Well, quite some code churn. Localize QActions and remove them from SheMov. Put them in a tool bar and the context menu, the usual.
* Fix headere view for PictureListViewArno2018-07-201-7/+0
| | | | Make the headers great again!
* Remove the menuBar() from picture archiveArno2018-07-141-127/+1
| | | | | | | The journey started innocent enough, but turned out to be a commit that should have been severals. In the end, the picture archive has no menuBar() any more, as expected, but it's also impossible to call the slide dialog. Will fix that soon.
* Rename PictureView to PictureListViewArno2018-07-141-7/+8
| | | | | Rename it to make clear(er) that it is a TreeView, not a picture viewer. Also, remove it from pictureswidget.{h,cpp} into a separate file.
* Remove unused local variable dvdMountArno2018-07-141-1/+0
| | | | Leftover from a cleanup.
* Fix window titleArno2018-07-141-0/+4
| | | | for FSWidget and MovieWidget.
* MovieWidget: don't show menuBar()Arno2018-04-051-7/+2
| | | | Also, remove some left over menus from old ArchiveView.
* Weed out old archive view and archivecontrollerArno2018-04-051-176/+0
| | | | | Unfortunately, it is so convoluted code that there's most likely a lot of cruft left, so call it work in progress...
* First implementation of MovieWidgetArno2018-04-031-0/+7
| | | | | It's the replacement for the archive viewer thingy. Just keep it simple and stupid. For now it shows series data.
* Add a menu with global actions to SmGlobalsArno2018-04-031-32/+56
| | | | | | | 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.
* 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.