139 Commits

Author SHA1 Message Date
Alfred Reynolds
833e7ef915 - Add the ability to parse the RSS feeds from reddit groups (in particular the image feed groups like EarthPorn) and display them 2021-08-22 15:10:26 +12:00
Alfred Reynolds
3557b6041f - Update .pro file with new source and headers 2021-08-22 11:36:00 +12:00
Alfred Reynolds
94373e6671 - Add stretch key to scheduler entries
- Fix change logic on pathentry to detect correct
2021-08-22 09:55:47 +12:00
Alfred Reynolds
66d619f49e - Add a "scheduler" key to the config file that lets you define multiple image selectors and time windows they are valid for 2021-08-21 15:58:16 +12:00
Alfred Reynolds
de7af88e53 - Add support for display time windows for images in folder.options
- the times are defined in a JSON array with start and end times, if inside the window the image is valid to display
2021-08-12 17:40:56 +12:00
Alfred Reynolds
6784a5dcb3 - Move the folder/app configuration logic into its own file 2021-08-12 16:12:13 +12:00
Alfred Reynolds
9a5b78cbfd - Update documentation with details on the configuration file 2021-08-11 14:19:45 +12:00
Alfred Reynolds
24a4a07593 - Change the object ownership semantics to take ownership of unique_ptr's rather than references
- Add helper functions for setting up config
- Add support for dynamically updating more config options (path related ones in particular)
2021-08-11 14:01:18 +12:00
Alfred Reynolds
8ac20f4b43 - Add support for loading configuration via a file rather than the command line
- Added "-c" command line option to look for config file "slide.options.json" in. Otherwise looks in ~/.config/slide/slide.options.json or /etc/slide/slide.options.json
- Added code to reload config options at runtime (when the image is scheduled to update)
2021-08-10 18:20:33 +12:00
Alfred Reynolds
2e96ea4814 - improve support for on the fly rotation of our window. Schedule the image update for a future frame so we don't block right away and clear the current image. This also fixes loading multiple images during a rotation as it takes time for geometry changes to apply to QT 2021-08-06 17:29:28 +12:00
Alfred Reynolds
a2c452fdcd - Switch to using QGuiApplication::primaryScreen for screen size (desktopwidget is deprecated)
- connect() to the geometryChanged and orientationChanged screen calls to detect changes
2021-08-06 16:50:54 +12:00
Alfred Reynolds
eac73d618b - Remove _t postfix from struct defns
- Remove inline header function definitions
- Change assorted functions to return structs rather than modifying an argument
2021-08-05 19:50:07 +12:00
Alfred Reynolds
ceadcf7a54 - Update docs with new monitor aspect ratio details 2021-08-05 11:54:39 +12:00
Alfred Reynolds
e8e4a2a1ce - Add new aspect mode EImageAspect_Monitor , match the aspect of the monitor
- Added code to make sure the QMainWindow matches the screen size, dynamic rotation of the monitor caused incorrect screen sizes
2021-08-03 17:56:29 +12:00
Alfred Reynolds
096a68636c - Change display options to be passed down from the window, and have the imageselector pass a struct back that contains image metadata
- Added ImageDisplayOptions_t to control user controllable options for how we show an image (aspect filtering, stretching)
- Added ImageDetails_t to encapsulate image metadata along with its image options
2021-08-03 14:14:11 +12:00
Alfred Reynolds
e09c4d4f9f - fix build after merge 2021-08-03 09:18:34 +12:00
alfred-reynolds
c3086ab4ce Merge branch 'NautiluX-master' into folder_options 2021-08-02 21:16:02 +12:00
alfred-reynolds
ce008ea53a Merge branch 'master' of https://github.com/NautiluX/slide into NautiluX-master 2021-08-02 21:15:11 +12:00
Manuel Dewald
687a2eb91a Add instructions to exit 2021-08-02 11:00:56 +02:00
Manuel Dewald
c35b865a0b Merge pull request #24 from pepe82sh/master
Fixing issues with displays smaller than the window size
2021-08-02 10:55:02 +02:00
Manuel Dewald
e3435c5153 refactor image filtering 2021-08-02 10:53:54 +02:00
alfred-reynolds
bd1fac1de3 Merge branch 'NautiluX:master' into folder_options 2021-08-02 20:53:50 +12:00
Manuel Dewald
854b498a67 Merge pull request #37 from alfred-reynolds/master
Add support for filtering images by aspect ratio
2021-08-02 10:52:25 +02:00
Alfred Reynolds
ceaae5fcc9 - fixup code from master merge 2021-08-01 13:49:35 +12:00
Alfred Reynolds
1a9c013c29 Merge branch 'master' into folder_options 2021-08-01 13:48:25 +12:00
Alfred Reynolds
e238719740 - fix --stretch mode, we need to make sure the background texture matches the screen size, so when we composite the foreground in the drawForeground() we fil the screen 2021-08-01 13:46:19 +12:00
Alfred Reynolds
5eaf7ee539 - Add support for per folder image display options. The file called options.json contains json keys to control image options when displaying files in this folder. Currently a singled option, fitAspectAxisToWindow, is supported
- Remove duplicated image rotation reading code, have the image selector logic just pass this up via the per image options
2021-08-01 13:05:43 +12:00
Alfred Reynolds
c29e228ae0 - Add image list display type, you provide a comma delimited list of fully qualified path names to display 2021-08-01 11:27:22 +12:00
Alfred Reynolds
75c50a4209 - Implement aspect ratio checking for the shuffle and sorted image list modes 2021-07-31 14:42:13 +12:00
Alfred Reynolds
455a794669 - Remove "_" prefix on members
- Remove aspect check getBlurredBackground as it is not needed
2021-07-31 14:18:01 +12:00
alfred-reynolds
4132f65b2e - fix comment
Co-authored-by: Manuel Dewald <github@manueldewald.de>
2021-07-31 13:59:05 +12:00
Alfred Reynolds
019b9406bc - If you fail to load content try on a different timer (every 5 seconds by default). This fixes slow image loading at startup if you have a long timeout between pictures. 2021-07-30 17:57:01 +12:00
Alfred Reynolds
5ba3fef330 - update docs with new verbose and stretch flags 2021-07-29 13:17:17 +12:00
Alfred Reynolds
a0089db75b - Add a verbose flag and put debugging output being it ("-v" || " --verbose")
- In verbose mode draw a thumbnail of the source image in the bottom left of the window
- Add support for long options in the command line parsing
- Add a "stretch" argument that will stretch the aspect axis to fit the window when set. For example, in landscape mode the drawn picture will be as wide as the window, cropping the top and bottom
2021-07-29 13:13:38 +12:00
Alfred Reynolds
bee9a78986 - Add the build and .vscode folders to gitignore
- Make the build target dependent on files in the src/ folder
2021-07-29 11:53:55 +12:00
Alfred Reynolds
23a0e208bf - Add "-a" argument to filter show pictures by aspect ratio (potrait, landscape or all) 2021-07-29 11:52:32 +12:00
Manuel Dewald
4dddda44e7 Merge pull request #33 from varlog00/supportedFormats
supported format simple static list
2021-03-12 18:28:31 +01:00
varlog
00b5c87a6e supported format simple static list 2021-03-12 17:29:28 +01:00
Manuel Dewald
1464c77872 Merge pull request #32 from varlog00/varlogs
add tif/tiff support
2021-03-11 09:07:16 +01:00
Manuel Dewald
98344061c1 DRY image formats 2021-03-11 09:03:13 +01:00
Manuel Dewald
128796c9e8 improve build tools 2021-03-11 09:02:55 +01:00
varlog
0b31eda1c2 add tif/tiff support 2021-03-09 16:13:14 +01:00
Manuel Dewald
09677ff06f add new templates to readme 2021-03-05 09:10:17 +01:00
Manuel Dewald
d5c7e76aa6 more templates 2021-03-05 09:05:29 +01:00
Manuel Dewald
5d6d9a804d fade transitioning 2021-03-04 16:22:53 +01:00
Manuel Dewald
d4beb46f28 Add text overlays 2021-03-04 14:40:11 +01:00
Manuel Dewald
c84f01434e add png support 2021-03-03 13:38:52 +01:00
Manuel Dewald
9ade0cb4ee enable smooth tranformation 2021-03-03 13:10:19 +01:00
Manuel Dewald
6430620335 Merge pull request #30 from pepe82sh/patch-1
Reduce window size for small display support
2021-03-02 19:55:20 +01:00
pepe
e6f97b4f77 Reduce window size for small display support
Pictures will show wrong resize behavior at the beginning of a slide show, when the window size exceeds the display size. As the Window will be shown in full screen anyway, an initial window size of 1x1px should support all display sizes.
2021-03-02 19:53:33 +01:00