Commit graph

393 commits

Author SHA1 Message Date
Dan Paulat
254fbbeb67 Emit signal from provider manager instead of radar product manager in async callback
Prevents application crash when exiting during refresh due to destroyed object reference
2022-10-09 08:35:27 -05:00
Dan Paulat
1811236cae emit dataChanged signal on distance recalculation for proper resorting of radar site list 2022-10-09 00:50:09 -05:00
Dan Paulat
36eaea466e Garbage collect unused radar product manager instances 2022-10-09 00:27:54 -05:00
Dan Paulat
384cfb53ed Fix radar site selection when filtering and the selected item changes index 2022-10-08 23:31:29 -05:00
Dan Paulat
43e0d69379 Select radar site capability 2022-10-08 23:08:20 -05:00
Dan Paulat
5dd1a327c8 Allow radar product manager to be updated in a view 2022-10-08 23:06:46 -05:00
Dan Paulat
c9936a5ea4 Allow double click to select radar site 2022-10-08 09:39:00 -05:00
Dan Paulat
6977119083 Storing radar site selection 2022-10-08 09:29:00 -05:00
Dan Paulat
f473a02d1d Disable radar site dialog OK button until a site is selected 2022-10-08 09:06:33 -05:00
Dan Paulat
976617d342 Don't use std::move when returning a local variable, allow NRVO 2022-10-08 00:03:47 -05:00
Dan Paulat
d73c1597d2 Radar site dialog should not have a horizontal scrollbar initially 2022-10-07 23:58:24 -05:00
Dan Paulat
6fc0bdbde9 Provide initial map parameters to radar site list 2022-10-07 23:57:55 -05:00
Dan Paulat
9520d88eef GeographicLib is not needed by radar product layer 2022-10-07 23:49:05 -05:00
Dan Paulat
3a4819aeff Calculate distance to each radar site from current location 2022-10-07 23:48:39 -05:00
Dan Paulat
6e7a13494a Updating radar site display fields to be more human-friendly
- Latitude/longitude in degrees N/S/E/W
- Radar types with hyphens
- Sort by raw decimal values
2022-10-07 22:29:30 -05:00
Dan Paulat
1bc6e714f5 Set radar site view default sort order to ascending 2022-10-07 08:43:21 -05:00
Dan Paulat
43bf29d35f Radar site filtering, banded rows 2022-10-07 08:05:33 -05:00
Dan Paulat
2acd8be063 Enable sorting of the radar site list 2022-10-07 07:42:34 -05:00
Dan Paulat
dfa81e75f6 Update TSTL place to "St. Louis" for consistency with KLSX 2022-10-07 07:39:02 -05:00
Dan Paulat
4e514ee152 Replace radar site table view with tree view 2022-10-06 23:49:20 -05:00
Dan Paulat
9e3c525109 Radar site dialog 2022-10-06 23:24:00 -05:00
Dan Paulat
60a85a6b14 Add initial radar site model 2022-10-06 23:23:22 -05:00
Dan Paulat
b6e7c829ee Rolling CMake required to 3.20
- CMake 3.15 required to remove /W3 by default
- CMake 3.20 required for preset support
2022-10-06 10:29:35 -05:00
Dan Paulat
14c9c1079c Fixing maplibre-gl-native URL, no longer need fork 2022-10-06 07:55:27 -05:00
Dan Paulat
fa78861a76 Merge branch 'feature/geo-line' into develop 2022-10-06 07:50:46 -05:00
Dan Paulat
507b2c4f59 Removing unused texture loading routines from GL context 2022-10-06 00:40:36 -05:00
Dan Paulat
0fa6ef01f0 Move texture binding to layer, and reference atlas coordinates in draw item 2022-10-06 00:35:22 -05:00
Dan Paulat
d3f7347be0 Texture atlas should fill unused pixels with magenta 2022-10-06 00:32:51 -05:00
Dan Paulat
fb37139073 Manage texture atlas in GL context 2022-10-06 00:32:15 -05:00
Dan Paulat
e4629eb9ef Expose texture attributes in interface 2022-10-05 23:10:23 -05:00
Dan Paulat
71d873f4b4 Populate default texture atlas 2022-10-05 22:42:06 -05:00
Dan Paulat
17192470ec Initial texture atlas creation implementation 2022-10-05 22:41:39 -05:00
Dan Paulat
031e175fed Add stb_rect_pack implementation 2022-10-04 23:46:43 -05:00
Dan Paulat
49eba4e839 Fixing MSVC compile error due to warning in boost::gil 2022-10-04 23:33:33 -05:00
Dan Paulat
365cc7c02c Add stb header library for texture atlas dependency 2022-10-04 23:24:21 -05:00
Dan Paulat
4b1d63ea62 Adding default texture to line, fixing texture coordinates 2022-10-04 23:16:57 -05:00
Dan Paulat
ab50f0b9a2 Add texture loading in GlContext 2022-10-04 23:15:52 -05:00
Dan Paulat
82d761c939 Texture coordinate should be smooth, not flat 2022-10-04 23:10:05 -05:00
Dan Paulat
7b565d9c76 Add stream support class for QIODevice to boost::iostreams::stream 2022-10-04 23:09:36 -05:00
Dan Paulat
5ae098daff Geo line requires two projection matrices 2022-10-03 01:03:27 -05:00
Dan Paulat
4aad9fd3d4 Use map projection with geo line 2022-10-03 00:40:59 -05:00
Dan Paulat
ca9331cf7c Add shader programs to Geo Line class 2022-10-03 00:21:31 -05:00
Dan Paulat
224d36bae5 Define draw item shaders in draw items, not the generic draw layer 2022-10-03 00:13:01 -05:00
Dan Paulat
d84a618d3d Add GlContext base class for MapContext 2022-10-02 23:44:09 -05:00
Dan Paulat
a45e996872 Create shader programs through map context in order to cache programs through re-initialization 2022-10-02 23:35:25 -05:00
Dan Paulat
32e8ca72a0 Hash utility 2022-10-02 23:12:41 -05:00
Dan Paulat
8d2fcf3802 Shader program cleanup 2022-10-02 22:28:56 -05:00
Dan Paulat
7a07e0f698 Untested geo line implementation without texture 2022-09-24 16:12:30 -05:00
Dan Paulat
bee167764a Add geo line shaders 2022-09-24 16:02:15 -05:00
Dan Paulat
bf6b3e3601 Select the latest product level 3 product available when switching products 2022-09-23 22:46:44 -05:00