Manuel Dewald
4813941a5c
Merge pull request #46 from alfred-reynolds/reddit_rss_reader
...
Add configuration file support along with other features
2021-11-15 10:42:49 +01:00
Alfred Reynolds
190ff6a508
- Remove network/image download code (as it is unused)
2021-11-13 13:42:39 +13:00
Alfred Reynolds
cf45a045ff
- Fix image stretching not filling the frame when you have really wide (or tall) images. Check that stretching on the main dimension will end up the right size, otherwise stretch the otherway
2021-10-23 15:53:56 +13:00
Alfred Reynolds
87315a7bda
- fix spew from QDir when not using a config file
2021-10-23 14:03:53 +13:00
Alfred Reynolds
88f2a02652
Merge branch 'master' of https://github.com/NautiluX/slide into reddit_rss_reader
2021-09-09 09:03:28 +12:00
Alfred Reynolds
b45e7dbda9
- merge from main
2021-09-09 08:56:03 +12:00
Manuel Dewald
d7a3088712
Merge pull request #42 from gdzhu/gdzhu/configurable_transition_time
...
configurable transition time
2021-09-08 11:06:36 +02:00
Alfred Reynolds
8bb97ed926
- Split ImageAspect into 2 types, ImageAspect for images and ImageAspectScreenFilter for screens
...
- Change ImageDetails into a class and add some accessors for the filtering logic for screen aspect and image aspect
2021-09-08 11:56:47 +12:00
Alfred Reynolds
7fef2e5a68
- Move new overlay color string into appconfig struct
2021-09-08 11:23:39 +12:00
Alfred Reynolds
90581ec1f9
Merge branch 'NautiluX-master' into reddit_rss_reader
2021-09-08 11:07:13 +12:00
Alfred Reynolds
a6e0846abe
Merge branch 'master' of https://github.com/NautiluX/slide into NautiluX-master
2021-09-08 11:05:10 +12:00
gdzhu
9532178b4c
configurable transition time
2021-09-06 21:56:56 -04:00
Manuel Dewald
0264af673c
Merge pull request #43 from gdzhu/gdzhu/skip_overlay_when_not_specified
...
skip overlay processing when no overlay is specified
2021-09-06 16:20:46 +02:00
Manuel Dewald
8063ebb793
Merge pull request #45 from gdzhu/gdzhu/configurable_overlay_color
...
configurable overlay color
2021-09-06 16:19:16 +02:00
gdzhu
1fa6eb300c
configurable overlay color
2021-09-03 22:05:31 -04:00
Alfred Reynolds
ff79599a19
- remove some more networkmanager code we don't need
2021-09-04 08:20:15 +12:00
Alfred Reynolds
50f654b848
Merge branch 'main_config_file' into reddit_rss_reader
2021-09-04 08:16:56 +12:00
Alfred Reynolds
85e2962b0a
Merge branch 'folder_options' into main_config_file
2021-09-04 08:16:27 +12:00
Alfred Reynolds
f8a8c3fab9
- simplfy the logic in ReadExifTag
2021-09-04 08:12:05 +12:00
gdzhu
7501f1846b
skip overlay processing when no overlay is specified
2021-08-28 07:02:07 +01:00
Alfred Reynolds
0c9721976b
- remove the reddit rss support. This is better done by a 3rd party downloader to disk (i.e https://github.com/Pomax/reddit-image-catch-up )
2021-08-27 15:30:45 +12:00
Alfred Reynolds
1211a93b64
- Add documentation for the scheduler json config file key
2021-08-27 13:41:26 +12:00
Alfred Reynolds
be8f615c21
- Add a new Log() function to replace ad-hoc std::cout calls wrapped in debugMode checks
...
- Remove debugMode from classes that don't need it (i.e all of them)
2021-08-26 12:13:09 +12:00
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