Commit Graph

40 Commits

Author SHA1 Message Date
Klaus Basan
bcbdaaf1a7 COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz

As a result changed to channel spacing based on COM unit, which could also be changed at runtime

* the issue itself was in own aircraft context
* added functions for channel spacing
* changed to COM unit channel spacing (instead of hardcoded spacing)
2019-05-13 11:20:49 +02:00
Klaus Basan
2d654e2fef Ref T609, tristate LED showing if synced with simulator com 2019-05-13 11:20:40 +02:00
Klaus Basan
4ed0d6befd Style 2019-05-13 11:20:38 +02:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Klaus Basan
792d2ced30 Ref T384, trigger (show) overlay text messages 2018-10-05 17:39:59 +02:00
Klaus Basan
418324e64f Ref T372, Ref T370 testing with emulated driver fixes
* added ground speed
* changed altitude parsing to CPqString::SeparatorsBestGuess
* signal when parts form is set
2018-09-25 01:39:08 +02:00
Klaus Basan
e4d992bfe4 Made audio related signals Qt::QueuedConnection 2018-09-20 00:47:19 +02:00
Klaus Basan
1ec3f4566d Ref T111, aligned cockpit UI elements
* naming
* allow to set cockpit values by simulated aircraft
2017-09-24 19:52:01 +01:00
Klaus Basan
4c8ae06eff Ref T111, use COM form in CCockpitComponent 2017-09-24 19:51:53 +01:00
Klaus Basan
9040665173 Ref T111, some cleanup of cockpit component
(preparation for next steps)
2017-09-24 19:51:48 +01:00
Klaus Basan
e3254d028d Fixed wrong UI component name to CCockpitComComponent 2017-09-24 19:51:37 +01:00
Klaus Basan
5323491eb9 Improved handling for "unexpected shutdown"
(such as DBus down/unavailable)
2017-04-17 23:59:23 +01:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Klaus Basan
bfd94ea6a8 refs #749, SELCAL and cockpit finetuning
* SELCAL combobox was too long
* Use tool instead of push buttons
2016-08-29 00:27:52 +02: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
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
Klaus Basan
6ca0d480d3 refs #452 adjusted GUI components to
* changed classes (e.g. CAircraft -> CSimulatedAircraft)
* changes signatures in contexts / providers
* minor fixes as renamed GUI widgets, asserts, paint event
2015-11-19 20:59:35 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Klaus Basan
6c06ff5d46 refs #432, adjusted originators 2015-05-29 03:49:16 +02:00
Roland Winklmeier
ee0bfd62fa refs #428 Use COriginator instead of QString in internal API 2015-05-25 16:06:44 +02:00
Klaus Basan
0ab755d510 refs #396 subfolders and renamed callsign list to callsign set
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +02:00
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +02: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
beb23ea0c0 Extra check in component 2014-12-28 22:20:46 +01:00
Klaus Basan
9e5f228b08 using namespace in header removed, rectified resulting changes
* using namespace in context_runtime.h
* in same step also fixed some other using namespace issues
2014-12-28 22:20:09 +01:00
Klaus Basan
78e4900243 refs #349, housekeeping
* formatting
* tweaks (such as changing to new log style),
* Doxygen
* int instead of qint
2014-12-13 13:17:31 +01:00
Roland Winklmeier
562cadee8a Fix several gcc, cppcheck and clang warnings 2014-12-01 23:15:49 +01:00
Klaus Basan
cd2c7c12a7 Init COM values from ownAircraft context 2014-11-30 00:56:56 +01:00
Klaus Basan
49be1c2bb7 refs #288, formatting, minor tweaks 2014-11-30 00:54:58 +01:00
Klaus Basan
adba17da0f refs #335, improved size handling for cockpit
* minimum values set to avoid issues when docked
* no manual values when just toggled floating
2014-11-30 00:54:40 +01:00
Klaus Basan
0c6f5f1777 refs #335, SELCAL tweaks discovered during refactoring
* better case handling in SELCAL
* SELCAL in aircraft
* SELCAL selector, improved getter / setters
* changed cockpit SELCAL elements to promoted GUI element
* synchronized flightplan and cockpit SELCAL codes, used new signal/slot syntacs in flightplan
* added SELCAL in own aircraft context
2014-11-30 00:53:49 +01:00
Klaus Basan
dd587207fe Formatting, renaming 2014-11-30 00:53:46 +01:00
Klaus Basan
858e8895d8 refs #335, improved cockpit
* support for squawk ident
* enable for runtime
* LEDs showing right state when connected to voice room
2014-11-30 00:53:34 +01:00
Klaus Basan
fa60703a1d refs #335, added functionality for com components
* set COM unit values
* set values in context
2014-11-30 00:53:15 +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
9452ff10c9 refs #335, preparation for new cockpit
* allow nested info areas
* added cockpit info area
* fixed several finder methods to excluded nested info areas from child elements
* using QScopedPointer for ui
* placeholder GUI components for new cockpit
2014-11-29 22:38:40 +01:00