Commit Graph

168 Commits

Author SHA1 Message Date
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
Klaus Basan
38d07286e1 Removed m_voiceRoomCom1/2 members and directly updating voice context
with voice rooms
2014-01-25 02:14:29 +01:00
Klaus Basan
fb3d7e4d28 Added updating of user views:
* timers
* loading of objects
* refactoring of some methods
2014-01-22 17:44:16 +01:00
Klaus Basan
4ceb7367f9 GUI, added table view for user lists:
* All users
* Voice room COM1/2 users

Remark: Not yet updated, just preparation of views
2014-01-22 03:08:28 +01:00
Klaus Basan
dada8bd433 Doxygen 2014-01-22 02:49:16 +01:00
Klaus Basan
bf7bd52ec8 Changed sample so it works with latest changes, such as
* CCallsignList
* CCallsign, instead of QString
2014-01-21 17:50:30 +01:00
Klaus Basan
f0b97aac24 Improved rounding for COM frequencies to 25KHz in GUI 2014-01-20 13:18:34 +01:00
Klaus Basan
4f8b63cdf1 Always loading ATC/aircrafts in GUI, not only if the tab is visible 2014-01-20 13:17:15 +01:00
Roland Winklmeier
cb112c6ddb Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client 2014-01-18 20:38:22 +01:00
Roland Winklmeier
da6e7a58a4 Add ifdefs arround native windows code to fix linux build
- There was some native windows code not properly covered by ifdefs.
- handlePushToTalk() is not yet implemented on linux. Add a dummy.
2014-01-18 20:12:02 +01:00
Roland Winklmeier
08302c23bb Remove obsolete logging framework
This changes removes classes of the obsolete logging frame work and
all its references. It was not used anywhere, but included in several
headers.
Had to add header QDateTime in some places, which was not correctly
included and now missing.

refs #90
2014-01-18 20:09:03 +01:00
Roland Winklmeier
32cfb5c10b Remove sample_logging using the obsolete logging framework
refs #90
2014-01-18 20:04:38 +01:00
Klaus Basan
b2afdd9860 Minor GUI tweak 2014-01-18 13:29:33 +01:00
Klaus Basan
f883babc20 Only Doxygen fixes in order to answer
https://dev.vatsim-germany.org/boards/22/topics/1417?r=1432#message-1432

Fixed some Doxygen warnings along with it
No code changes!
2014-01-17 22:53:37 +01:00