Commit Graph

431 Commits

Author SHA1 Message Date
Klaus Basan
747694dbcb Fixed shutdown for core 2014-03-26 19:50:57 +01:00
Klaus Basan
2daad2d734 #refs 185 , added samples for blacksim classes 2014-03-26 19:50:56 +01:00
Klaus Basan
b1a5ada3a4 Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client 2014-03-12 02:28:50 +01:00
Klaus Basan
f2364692e3 refs #145, fixed some .pro/.pri files to new style 2014-03-12 02:23:34 +01:00
Roland Winklmeier
805a751071 Fixed not DBus registered method from CContextSimulator
CContextSimulator::ownAircraft was not a public slot and therefore
not available via DBus. In the same step renamed the method
to getOwnAircraft to be consistent.
2014-03-12 00:41:55 +01:00
Roland Winklmeier
e978b6dee1 Central build configuration
* config.pri: Build configuration version
* library.pri project library dependencies
* build.pri: compiler/qmake configuration

refs #145
2014-03-11 22:01:31 +01:00
Roland Winklmeier
f09c77ebd0 Sample Hotkey
Demonstrates the usage of IKeyboard

refs #83
2014-03-11 21:51:41 +01:00
Roland Winklmeier
b0d55687bd Refactored inheritance hierarchy of ContextSettings
refs #85
2014-03-11 21:44:58 +01:00
Roland Winklmeier
ac8ade5e05 Refactored inheritance hierarchy of ContextNetwork
refs #85
2014-03-11 21:44:58 +01:00
Roland Winklmeier
33aee8cb12 Refactored inheritance hierarchy of ContextAudio (former ContextVoice)
refs #85
2014-03-11 21:36:57 +01:00
Roland Winklmeier
1e8a2a5b01 Refactored inheritance hierarchy of ContextApplication
refs #85
2014-03-11 21:26:19 +01:00
Roland Winklmeier
eccfae1fd3 Add new page in sample_blackgui to display user aircraft data
refs #143
2014-03-11 21:26:18 +01:00
Roland Winklmeier
23056c61c8 FSX implementation divided into three parts:
- SimConnect handling done in CSimulatorFSX
- Exception handling done by CSimConnectException
- Data definitions done by CSimConnectDataDefinition

refs #142
2014-03-11 21:26:18 +01:00
Klaus Basan
b70ebe4331 refs #74 , sample testing reading the FSX aircraft.cfg entries (for mapping) 2014-03-10 20:03:39 +01:00
Klaus Basan
0437bf3381 refs #140 , adjust sample for DBus marshalling / unmarshalling in order to test "tupel-ized" classes
* Added further DBus tests
* Crossover from refs #85 , removed dependency from generator adaptor and XML files, as this will not work anymore in the future
* Removed from .pro DBUS_ADAPTORS , DBUS_INTERFACES, QDBUSXML2CPP_INTERFACE_HEADER_FLAGS , QDBUSXML2CPP_ADAPTOR_HEADER_FLAGS
* Added interface, as this will be no longer generated
* Removed samples no longer required, the sample no represents a framework to test DBus marshalling / unmarshalling
2014-03-10 15:07:43 +01:00
Klaus Basan
dde9710144 Refs #140 , refs #85 Rename namespace voice to audio.
In #85 the voice context will be renamed to audio context, so the CValueObject classes will be renamed to namespace Audio too.
As #140 changes many CValueClasses, this crossover change is done in the same unit of work.
2014-03-10 14:43:06 +01:00
Klaus Basan
a5183c2fc4 Resolved issue in GUI init overlooked during merge 2014-02-26 14:35:57 +01:00
Klaus Basan
7f68191e0f Fixed resource loading in Unit test and improved check in sample GUI's main 2014-02-26 14:34:17 +01:00
Klaus Basan
1b846f44c8 Fixed LIBS order, as I have run into gcc "undefined reference to" issued 2014-02-26 14:33:15 +01:00
Klaus Basan
0fb3836713 refs #146 , minor GUI tweaks as result of testing the features 2014-02-26 04:03:32 +01:00
Klaus Basan
af3a239e40 refs #139 added tab in GUI for changing hotkeys
In order to better identify the models, the model members have been prefixed with "model"
2014-02-26 03:38:31 +01:00
Mathew Sutcliffe
35e0c3e085 refs #91 & #124 using override and \copydoc throughout blackmisc 2014-02-17 16:37:04 +00:00
Klaus Basan
18b31b49ac refs #129 , updated GUI to play notification sounds:
* prepared for login/off sounds
* prepared for text message sounds
* helper method to play sounds
* enabled mute / mixer also in cockpit, including context menus
* settings for notification sounds
* some minor tweaks, e.g. changed signal/slot to C++ style where missing
2014-02-12 20:14:31 +01:00
Roland Winklmeier
372a668134 Replaced set of voice connection signals with one general
The different IVoice signals representing a single event
from the voice connection have been replaced by a general
signal emitted when something per com unit has changed.
It passes old and new status.
refs #105
2014-02-10 20:00:54 +01:00
Klaus Basan
e88ee7c808 refs #93, re-read ATIS by pressing button from GUI 2014-02-08 14:11:34 +01:00
Klaus Basan
2d54f95fab Fixing issue with marking connected voice rooms by "*". This leads to a problem when overriding the voice room URL.
Now using colours / stylesheet.
2014-02-08 01:46:15 +01:00
Klaus Basan
f56b3b878f Fix overriding cockpit values if a field is input focused.
Cockpit updates are a 2 way process, from context to GUI and vice versa.
This fix checks if a widget is focused, and if so, updating is ignored.
2014-02-08 01:11:03 +01:00
Klaus Basan
ec3e8d496b Formatted QSS (style sheet) 2014-02-07 04:01:28 +01:00
Klaus Basan
6bf930650a fixes #123 by displaying the Audio test in the GUI
* added methods to get results in context
* added signal to indicate audio test completed
* updated GUI to display results
* changed test run methods to non-const to be consistent with voice lib
* Logic in GUI to avoid parallel / interfering tests
* Fixed wrong Q_ASSERT message and QTimer::singleShot in voice_vatlib.cpp
2014-02-06 16:07:16 +01:00
Klaus Basan
ff5cf5ea4a refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-05 23:26:13 +00:00
Klaus Basan
ce22fc9552 Trigger Squelch and Mic test from GUI, refs #123 2014-02-05 23:16:34 +00:00
Klaus Basan
2feab9f5e7 Bugfix to set aircraft callsign from voice context, fixes #120
In the same step added methods to test squelch and microphone, refs #123
2014-02-05 23:16:31 +00:00
Klaus Basan
431b347cfd Improved status bar, connection handling, displaying ATC station as tooltip
when it matches a frequency
2014-02-05 23:16:26 +00:00
Klaus Basan
243ace74fe link CLI sample with QtGui due to CValueObject::toIcon 2014-02-05 23:16:21 +00:00
Klaus Basan
79f5b6fcd3 Added / prepared for state disconnecting:
Taking up the idea of MS (disconnecting),
and based on a real world issue where the transition state
of disconnecting was still handled as connected.
2014-02-05 23:16:19 +00:00
Klaus Basan
fda587994d CValueObject virtual method toIcon, reprsenting the object as icon where applicable.
Currently used for status messages (severity), will be used for CAtcStation and others as well.
2014-02-05 23:16:14 +00:00
Klaus Basan
4a77ee5fc4 Added QAudioOutput to voice lib, as an approach to overcome #117 2014-02-05 23:16:08 +00:00
Klaus Basan
b8d87038a1 Fixed .pro files, typos in libblacksound (non win) 2014-02-05 23:15:51 +00:00
Klaus Basan
e88bfde3db Status messages as table view in the GUI, not only text.
Some minor GUI tweaks.
2014-02-05 23:15:48 +00:00
Klaus Basan
813c64087f Updated GUI for SELCAL messages and tones.
Some minor changes in the same step:
* Fixed some style sheets
* Added QToolBox as preparation for a status message list
* Renamed voice settings to audio settings
2014-02-05 23:15:38 +00:00
Klaus Basan
cf97f2f46b Changed core, allowing it to play SELCAL tones 2014-02-05 23:15:36 +00:00
Klaus Basan
e877c5c368 SELCAL test (playing the SELCAL tone) and selection (from 2 code pairs). 2014-02-05 23:15:19 +00:00
Klaus Basan
489de7642b Modifications for GUI .pro file, in order to use sound. 2014-02-05 23:15:09 +00:00
Klaus Basan
b74aaf7467 Fixed stupid typo 2014-01-31 01:23:41 +01:00
Klaus Basan
c227de4690 comment, see https://dev.vatsim-germany.org/issues/97#note-8 2014-01-31 00:14:29 +01:00
Klaus Basan
6b72d61cef Some finetuning in GUI:
* stretched last header column
* height of some grid rows in cockpit
2014-01-27 16:12:18 +01:00
Klaus Basan
1199f05fe2 Added LoginMode for login from GUI
* updated context method
* updated GUI, checkboxes for mode
* style sheet modified due to GUI update
2014-01-26 02:34:56 +01:00
Klaus Basan
1c0b714a18 Merge with master after fixes for containers,
refs #106
2014-01-26 00:09:30 +01:00
Mathew Sutcliffe
7316fb8398 changed a couple more INetwork method names for consistency 2014-01-25 19:36:40 +00:00
Mathew Sutcliffe
0af8c9eb3e refs #100 Rationalization of INetwork signals and slots
* Naming convention: "preset" only when disconnected, "send" only when connected, "set" both
* Every asynchronous pair is named as in "sendFooQuery" and "fooReplyReceived"
* Moved LoginMode from CNetworkVatlib constructor to INetwork::presetLoginMode
* Callsign and ICAO codes can only be changed when disconnected, so have their own "preset" methods
** Callsign and ICAO parts of setOwnAircraft are therefore ignored
** CUser part of setOwnAircraft is ignored, in favour of the CUser part of presetServer
* CNetworkVatlib takes care of reconstructing m_net if the LoginMode is changed
2014-01-25 19:36:37 +00:00