Commit Graph

154 Commits

Author SHA1 Message Date
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
Klaus Basan
16dc959662 Fixed 4 gcc warnings (2x order, 1x explicit constructor, 1x GUI / from related) 2014-01-17 20:05:00 +01:00
Klaus Basan
222756e7ac Fixed 2 bugs only obvious when running with Core/DBus
* init of m_enabled in modulator missing, crashed DBus marshalling
* Need to check boundaries of voice rooms in GUI for empty list
2014-01-17 19:27:15 +01:00
Klaus Basan
72b7a7ab95 Added statusMessages (plural) as signal. This makes it easier
to send either single or multiple messages as required.

Along with the changes fixed some places where not all status
messages had been sent.

MainWindow connected with both signals (statusMessage, statusMessages)

Recreated DBus XML file
2014-01-17 18:42:34 +01:00
Klaus Basan
b38d90a0f1 New XML files for the sample. Fixed some errors found during testing.
* applyIf no longer returns number of changed elements
* cmd line arguments, wrong assignment in main.cpp
2014-01-17 17:11:52 +01:00
Klaus Basan
fb9e7acd8e Allows to change IP address and port in the sample. This issue was mentioned
in the 1st premerge review of MS.

Disclaimer: As this is an sample, there is no validation as for valid IP, port.
2014-01-17 15:27:29 +01:00
Klaus Basan
b20523a8f7 Fine tuning of Ident . Xpdr Ident is send for some seconds, then resets to its original value.
However, an intended changed during this time was ignored. Fixed this issue.
2014-01-17 13:44:46 +01:00
Klaus Basan
5ffe3dc759 Improved order and handling in MainWindow gracefulShutdown 2014-01-16 02:41:08 +01:00
Klaus Basan
bddf54d770 Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client 2014-01-16 02:05:57 +01:00
Klaus Basan
9470dc27ca #98
Changed back signal/slot connection to old style
The described problem is one of the disadvantages of the new style,
when it comes to default values or different signatures

Also using a minimum value and adjusting the slider to any set value.
2014-01-16 01:04:22 +01:00
Klaus Basan
2cf097ae2e Receiving errors as status message results in
a pop up message now.
2014-01-15 23:52:22 +01:00
Roland Winklmeier
e36448f0a1 Replaced c++ standard integer types with Qt types
In order to be consistent, all standard integer types have been
replaced by the equivalent Qt ones in voice/audio code.
Projects covered
- BlackCore
- BlackMisc
- sample_voice_client

refs #99
2014-01-15 21:12:01 +01:00
Klaus Basan
9f103a35cc Changed Window pointer ui tp QScopedPointer #95
Removed some default constructors from Member initializer list
Made member m_coreRuntime QScopedPointer
2014-01-15 19:33:28 +01:00
Klaus Basan
4c711dad82 Include Order MainWindow 2014-01-15 17:37:31 +01:00
Klaus Basan
f1482558fb New signal / slot syntax
#88

Not all calls can be replaced by new sytnax
(e.g. cannot handle default value arguments)
2014-01-15 17:27:17 +01:00