Commit graph

343 commits

Author SHA1 Message Date
Dan Paulat
f1a5d4a744 Fix reload of expired (garbage collected) live data 2023-04-11 22:46:11 -05:00
Dan Paulat
92bb5154a4 Enable loading of product by double clicking in the resource explorer
- Doesn't work if radar product manager is expired for the site (time not present in record map)
- Need to fix going back to expired (garbage collected) live data
2023-04-10 23:17:21 -05:00
Dan Paulat
0c8047b1f4 Don't add duplicate entries to the resource explorer 2023-04-10 23:13:24 -05:00
Dan Paulat
df2474c383 Display expired data as soon as it's reloaded 2023-04-09 09:26:51 -05:00
Dan Paulat
16044efbf3 Updating refresh timer logic to be more robust
- When re-enabling refresh, base new refresh time off existing data when any data is found, not just new data
2023-04-08 18:44:07 -05:00
Dan Paulat
5fbb748328 Use weak_ptr to hold product manager records
- When selecting a product that's expired, it successfully refreshes the data, but doesn't display unless selected again
- When old data is downloaded, the refresh timer starts at 15 seconds, even if the newest data says the timer should be longer
- Selecting a product should update the recent lists
2023-04-08 01:11:36 -05:00
Dan Paulat
871cae68dd Add Radar Product Manager debug dump
- Allows visibility of currently loaded products
2023-04-06 23:33:39 -05:00
Dan Paulat
6e10ca88d5 Associate product refresh with a uuid
Allows product manager to track which map widgets have enabled which product refreshes
2023-04-01 00:46:29 -05:00
Dan Paulat
ed4cc033bb Fixing alert dock refresh for both new alerts and expired alerts
Fixes #29
2023-02-28 22:10:34 -06:00
Dan Paulat
899cb041e5 Update map location on alert "Go" 2023-02-20 22:58:43 -06:00
Dan Paulat
e75666d7a2 Remove 30 hour filter on event history 2023-02-19 16:04:39 -06:00
Dan Paulat
90c8c0183a USe a common default geodesic object instead of duplicate copies.
All used functions are constant, and don't require unique instantiations for thread safety.
2023-02-19 15:16:34 -06:00
Dan Paulat
4a31cf6d3e Find nearest radar site 2023-02-19 13:01:19 -06:00
Dan Paulat
1efc311a86 Generate versions, display on about dialog
Fixes #25
2023-02-05 01:01:35 -06:00
Dan Paulat
911226c166 Updating most dependencies to latest, holding back libcurl for compatibility with cpr 2023-01-16 22:19:22 -06:00
Dan Paulat
5c793e07d8 About dialog 2023-01-08 00:50:49 -06:00
Dan Paulat
aaeea156f3 Add icons and URL shortcuts to help menu 2023-01-07 23:37:44 -06:00
Dan Paulat
bc9f057871 Update default palettes 2023-01-02 00:31:13 -06:00
Dan Paulat
1d597eb120 Enable loading color palettes from embedded Qt resources 2023-01-02 00:23:46 -06:00
Dan Paulat
ad6eb61898 Initial QFileInputStream implementation 2023-01-01 21:44:03 -06:00
Dan Paulat
08965aa7f3 Initial QFileBuffer implementation 2023-01-01 01:33:24 -06:00
Dan Paulat
779d03c576 Default color palette definitions 2022-12-29 00:19:39 -06:00
Dan Paulat
6422377e1a Add color table previews 2022-12-27 00:04:55 -06:00
Dan Paulat
14f825d896 Draw alert boxes using colors from settings 2022-12-25 21:55:27 -06:00
Dan Paulat
3289f98638 Adding alert colors to settings dialog 2022-12-25 00:58:34 -06:00
Dan Paulat
2b55d0cd69 Adding alert colors to settings 2022-12-25 00:57:57 -06:00
Dan Paulat
aa842c11b7 Color palette open file dialog 2022-12-23 23:42:53 -06:00
Dan Paulat
0c1706ce6f Removing unused JSON functionality 2022-12-23 00:14:15 -06:00
Dan Paulat
6b90c5471d Save settings changes functionality 2022-12-23 00:09:01 -06:00
Dan Paulat
f7cc902eef Add callbacks to settings variables, use to update radar dialog location in settings dialog 2022-12-22 00:56:52 -06:00
Dan Paulat
87f611e026 Adding apply/discard/reset functionality to settings dialog 2022-12-22 00:16:59 -06:00
Dan Paulat
a6974e31a2 Radar site selection dialog in settings 2022-12-21 15:41:49 -06:00
Dan Paulat
9b5b841903 Support editing integer arrays in settings interface (font sizes) 2022-12-21 00:52:48 -06:00
Dan Paulat
b2dbcfefb0 Add color table settings interface 2022-12-21 00:24:33 -06:00
Dan Paulat
3109344ad5 Don't stage a value if it's already the current value 2022-12-20 23:39:37 -06:00
Dan Paulat
289b7620a9 Add QCheckBox to SettingsInterface 2022-12-20 23:39:06 -06:00
Dan Paulat
602be75222 Add QComboBox to SettingsInterface with value mapping 2022-12-20 23:27:06 -06:00
Dan Paulat
70565969dc Refactoring widget functionality out of SettingsVariable into new SettingsInterface 2022-12-20 22:47:48 -06:00
Dan Paulat
ab91bf9e8d Expose minimum and maximum values in settings variable 2022-12-20 14:33:55 -06:00
Dan Paulat
9cc53bf20f Populate radar sites combo box 2022-12-20 09:46:06 -06:00
Dan Paulat
8d5560bf80 Add QSpinBox to settings variable 2022-12-20 09:33:36 -06:00
Dan Paulat
1125052633 MoveSplitter sender is always a QSplitter, so use static_cast 2022-12-20 00:38:43 -06:00
Dan Paulat
ce5092c068 Adding common edit widget and reset button processing to settings variable 2022-12-20 00:38:16 -06:00
Dan Paulat
463acd6b94 Add reset buttons to settings dialog 2022-12-19 01:03:24 -06:00
Dan Paulat
7522162095 Return SettingsVariable objects instead of values 2022-12-19 00:32:35 -06:00
Dan Paulat
891b6c839f Inheriting MapSettings and PaletteSettings from SettingsCategory, updating SettingsManager initialization 2022-12-18 08:45:05 -06:00
Dan Paulat
c93e776137 Inheriting GeneralSettings from SettingsCategory, making generic read/write JSON functions 2022-12-17 23:05:00 -06:00
Dan Paulat
78739cd627 Use new settings variables for general settings 2022-12-17 00:44:40 -06:00
Dan Paulat
46c4dd3780 Settings variable abstract base, additional validation, and reading/writing JSON 2022-12-17 00:38:20 -06:00
Dan Paulat
1ad67de71b Settings container 2022-12-07 00:09:17 -06:00