Commit Graph

61 Commits

Author SHA1 Message Date
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Klaus Basan
668659248e Send distance if own aircraft has been moved 2020-06-12 18:42:48 +01:00
Klaus Basan
ceebcc3e1b Style 2020-01-07 19:57:23 +00:00
Roland Rossgotterer
4772aadc1a Replace INetwork::CConnectionStatus with proper value object 2019-09-17 17:29:25 +02:00
Klaus Basan
9f0daa58ea Ref T592, made dock widget related slots Qt::QueuedConnection
Rational: the widget emits floating but is not yet in full floating state, so with a direct connection we deal a bit too early with the widget.
Much more stable (hopefully) using queued connection, then all the handling is done if the window is really a floating window.
2019-04-11 22:12:09 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
a0c8f3778b Ref T515, context menus for re-matching
* added re-matching for single aircraft
* re-ordered
2019-02-22 20:35:33 +00:00
Klaus Basan
5091a6be2b Ref T412, Ref T407, Ref T227, update aircraft UI if aircraft was moved 2018-11-04 17:42:47 +01:00
Klaus Basan
4370f2c614 Ref T397, do not show context menu for fast position updates if FSD has disabled it 2018-11-04 17:42:45 +01:00
Klaus Basan
c010149686 Ref T397, add menu items for aircraft view 2018-11-04 17:42:43 +01:00
Klaus Basan
7e9f3a6c7f Ref T342, distance of airport can be recalculated 2018-09-12 17:40:38 +02:00
Klaus Basan
79a133892b Fix for context menu of aircraft view as reported in slack
* reported: https://swift-project.slack.com/archives/G7GD2UP9C/p1533749013000483
* logic moved to view
* removed no longer required code
2018-08-09 01:41:10 +02:00
Klaus Basan
92deb19572 Also allow to use SHIFT + button for models, aircraft
* added setTab functions
* shift can be used to reset to first tab
2018-08-09 01:25:51 +02:00
Klaus Basan
71a5d638cb UI aircraft component reduced airport update frequency 2018-06-13 14:00:13 +02:00
Klaus Basan
46a3f925a9 UI improvements
* mapping component does not need extra identifier as it uses "Identifiable"
* misc smaller adjustments
2018-06-13 14:00:03 +02:00
Klaus Basan
06a4efba51 Ref T261, Ref T270, Ref T245 aircraft view improvements
* context menu gnd.flag/follow aircraft
* display CG
2018-05-22 13:20:05 +02:00
Klaus Basan
56adde399e Entry check 2018-01-15 22:50:37 +01:00
Klaus Basan
769e3a0e29 Based on slack discussion MS/KB: Show airports in range also when simulator is connected, but network is not. Remark: distance and bearing columns are not calculated in that case. See T125 comment for details. 2017-09-24 19:53:06 +01:00
Klaus Basan
371ee82f1b Ensure tab index 0 is selected at startup 2017-02-24 15:20:51 +00:00
Klaus Basan
b3c7be8765 refs #506, use digest signals in pilot client
(less UI updates)
2017-01-10 23:45:52 +00:00
Klaus Basan
763e92cc2a refs #814, fixed wrong default values for update times causing CPU overload
* use 10s as conservative default value
* check in assert if update time is correct
2016-12-13 19:02:11 +01:00
Klaus Basan
7e69ff7f70 refs #814, some adjustments because of MS comment
(performance of airline view)
2016-12-13 19:02:09 +01:00
Klaus Basan
df64f31dbf refs #799, changed components to use settings
* removed update timer
* Removed getter/setters for update times
* used UI component for settings in main settings component
2016-12-13 18:59:58 +01:00
Klaus Basan
55020277b5 refs #793, adjusted model to use network model, also renamed mode to better relect meaning 2016-12-06 09:34:55 +01:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Roland Winklmeier
10810f5003 Explicitly use QTabBar scroll buttons
Even though QTabBar's property usesScrollButtons is set to true in Qt
Designer, it is not set explicitly in generated C++ code. The default
value is style dependent, which caused the scroll buttons to be visibile
everywhere except Mac OS/X.

refs #683
2016-08-26 21:05:09 +01:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Klaus Basan
1a62de8dc3 refs #641, improvements/fixes of orderable lists / models / views
* set sort order automatically to IndexOrder when changing order of items
* call onChanged when model is changed and then update view (needed when model is changed directly, not via view)
* support for digest signal so redundant updates can be avoided
* renamed rowCountChanged (signal) to modelDataChanged - detecting row count changes only was useless
* updated Doxygen / fixed typos
2016-05-07 20:11:49 +02:00
Klaus Basan
3829aaeae8 refs #485, removal of CEnableForRuntime 2016-03-18 01:08:05 +00:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Mathew Sutcliffe
a6d17efc31 refs #472 Removed static_cast<int> for enums in blackcore, no longer needed. 2015-11-19 21:02:19 +00:00
Klaus Basan
1330bb8513 refs #420, refs #421 improved view update for simualted aircraft
* added update timer for simulated aircraft
* in same step streamlined handling of CUpdateTimer
2015-05-18 01:57:35 +02:00
Klaus Basan
0ea07e28e0 refs #420, refs #417, allow to return combined simulator status, removed unneeded functions
This should be further improved with #417
2015-05-17 20:29:14 +02:00
Klaus Basan
70670b74c6 refs #393, allow to highlight a certain aircraft by blinking
* signatures in contexts
* some specialized functions in aircraft list
* context menus in aircraft view
* default "blinking" implementation in driver common base class
2015-03-29 20:15:05 +02:00
Klaus Basan
066515fb9b As of RW/KB workshop
* changed aircraft view to siumlated aircraft models / views
* functionality to change fast pos. updates (signals, slots)
* allow to request text message widget from aircraft component
2015-03-20 17:11:23 +01:00
Klaus Basan
3153c2012b As of workshop RW/KB
* Allow to "jump" to text message channel from ATC / aircraft
* changed timer connections for components to new SLOT syntax
* housekeeping:
** new function in network context for station by callsign
** refactored textmessage component, allow to select tab by slot
** wired up signal / slots in main GUI
** removed unused functions
** allow to select area and "myself" in infoarea
2015-03-20 17:11:14 +01:00
Klaus Basan
f8bebf5ffa refs #386, performance issues
* keep split per callsign map in IInterpolator (so it is available for all interpolators)
* Interpolator using CWorker, so it can run in background
* added signals to provider to add split situations / callsigns
* adjustments to airspace / context for those signals
* thread safe access to those from interpolator
* renamed from rendered to remote aircraft as discussed
* adjust samples
* removed no longer required functions in timestampobjectlist
* changed connectioStatusChanged from uint -> int
2015-03-20 16:48:58 +01:00
Klaus Basan
adeac119d0 refs #369, only ATC stations with voiceroom displayed 2015-03-20 16:31:07 +01:00
Klaus Basan
f0cc1ac003 refs #368, updated components
* clear when connection status changed
* rowCount changed with filter parameter
2015-01-24 01:15:48 +01:00
Klaus Basan
ce57c573df refs #358, aircrafts -> aircraft in GUI 2014-12-28 22:20:36 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Klaus Basan
9a920367b2 Formatting 2014-11-30 00:54:15 +01:00
Klaus Basan
43ecc238ed refs #335, Minor tweaks:
* Formatting
* renaming
* fixed some issues of cppcheck
* new icons
* smooth scrolling in views, stretching for few columns
* fixed start timer in updatetimer
* background colors of some LEDs
2014-11-30 00:53:23 +01:00
Klaus Basan
11e9b37326 Formatting 2014-11-30 00:53:03 +01:00
Klaus Basan
e6a5e2960f refs #335, changed info areas
* remove unused methods
* changed ui, preferred size and such
* changed ctor for CEnableForDockWidgetInfoArea and made setParentDockWidgetInfoArea virtual
* adjusted derived classes ctor
* added enum and area methods for cockpitinfoarea
2014-11-30 00:52:10 +01:00
Klaus Basan
df5169ee98 refs #335, renaming
* the term "components" will only be used for GUI components (derived from QWidget/ QWidget derived classes) fron now on
* timer, and enabler classes renamed accordingly: CEnableForRuntime, CEnableForDockWidgetInfoArea, CUpdateTimer
* adjusted all dependent classes
2014-11-29 22:38:53 +01:00
Klaus Basan
bb8b515c87 refs #335, changed ui to QScopedPointer 2014-11-29 22:38:51 +01:00