Commit Graph

479 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
917e1829d1 reviewed backlog INetwork and CContextNetwork changes from kbatclist
* INetwork setOwnAircraft slots
* ATIS received shimlib callback triggers separate VoiceRoom and LogoffTime signals
* INetwork statusMessage signal emitted in response to shimlib errors
* INetwork::ConnectionStatus added a DisconnectedError value and toString conversion
* INetwork::isConnected method
* Argument in CNetworkVatlib constructor to enable stealth or observer mode
* Update CLI sample, tests, and CContextNetwork accordingly
2014-01-14 23:30:21 +00:00
Klaus Basan
ab2796862e Infowindow, a popup window window showing important messages.
Example: user receives private chat message, while text message
window is hidden.
2014-01-13 01:32:55 +01:00
Klaus Basan
6adfd91dfc New main for GUI, using the new intro window. 2014-01-13 01:25:01 +01:00
Klaus Basan
ccfdee64e0 Initial startup screen, here user can decide
to use DBus or local context, frameless window.
In the future likely more options, e.g. for bootstrapping
(setting the DBus server IP)
2014-01-13 01:20:06 +01:00
Klaus Basan
9ff197ff2c Style sheets for the 3 widgets of the GUI:
Main window, initial start window, and
info window (which is something like a popup showing important messages)
2014-01-13 01:15:20 +01:00
Klaus Basan
b9ad793dd5 New GUI based on Qt style sheets. This is the main window. 2014-01-13 01:09:56 +01:00
Mathew Sutcliffe
60ad43d291 INetwork: removed the five connectionStatus signals and added one signal with an enum argument to replace them.
Requested by Klaus, to ease the implementation of signal consumers.
2014-01-11 17:59:45 +00:00
Mathew Sutcliffe
66e0235193 Fixed sample_blackgui executable was not being copied to the same directory as the other binaries 2014-01-11 17:00:39 +00:00
Mathew Sutcliffe
784d93139b CTextMessage: fromCallsign and toCallsign become sender and recipient (to and from looked like conversion methods)
refs #81
2014-01-10 00:20:22 +00:00
Klaus Basan
d15d0db431 post-voice changes in blackgui from the kbatclist branch
refs #81
2014-01-09 01:16:01 +00:00
Mathew Sutcliffe
b475d7eff1 INetwork builds up the ATIS as it is received, line-by-line, keeping this implementation detail more encapsulated
refs #81
2014-01-09 01:16:01 +00:00
Mathew Sutcliffe
0bad7bb2e8 Contexts' getRuntime method uses static_cast instead of reinterpret_cast.
This required a few changes in include order and forward declarations to fix the real reason why reinterpret_cast was mistakenly used.

refs #81
2014-01-09 01:15:58 +00:00
Klaus Basan
1c1fdabd2e all voice changes from kbatclist branch
refs #81
2014-01-09 01:15:58 +00:00
Klaus Basan
51cbd2a394 all app projects need QT+=network used by the core for downloading ATC bookings
refs #81
2014-01-09 01:15:57 +00:00
Klaus Basan
bb61654a29 style and consistency:
* rename CStatusMessages to CStatusMessageList
* rename NetworkVatlib to CNetworkVatlib
* replace all occurrences of Realname with RealName (correct camel case)
* CSequence method corresponding to CList::append is push_back
* don't compile the qdbuscpp2xml metadata plugin by default
* CAircraftIcao string members always trimmed and capitalized
* added CComSystem::roundTo25KHz
* using epsilon comparison in a couple of places

refs #81
2014-01-09 01:15:56 +00:00
Klaus Basan
0c01da4c8e Minor changes such as parameter warnings, added metatype registration for voice
refs #81
2014-01-08 01:01:26 +00:00
Roland Winklmeier
db4a3c5de4 Refactoring and clean up of voice implementation
refs #36
- Cleanup of library and sample code
- Completed now all signals in voice sample
- Fixed minor bugs with the user list
- TODO: Remove the VATSIM id from the user string

refs #81
2014-01-08 01:01:23 +00:00
Roland Winklmeier
0bae898db8 Added commands to voice sample. Test successfull refs #36 - Added commands to list input and output devices - Fixed some compiler errors on win - Voice confirmed working on windows and linux
Signed-off-by: Roland Winklmeier <roland.m.winklmeier@gmail.com>

refs #81
2014-01-08 01:01:20 +00:00
Roland Winklmeier
45b9f60444 Finalized voice vatlib implementation.
refs #36
- Implemented the rest of the methods
- Added more commands to the voice sample, to login to voice server
- Login successfull. However, no voice yet.

refs #81
2014-01-08 01:01:17 +00:00
Roland Winklmeier
f91525b65b Expanded voice sample to an interactive app
refs #36
- Based on the existing network sample, expanded the voice sample to an interactive app
- Implmenented commands: mic test, squelch test

refs #81
2014-01-08 01:01:10 +00:00
Roland Winklmeier
b511f2ffaa Completed enumeration of audio devices
refs #36
- Cvatlib_Voice_Simple object is created and setup
- enumerates automatically a list of in and output devices.
- both device lists are accessable immediately
- added a sample demonstrating the interface so far

refs #81
2014-01-08 01:01:02 +00:00
Klaus Basan
ab17dabd5b samples and tests for all kbatclist branch changes
refs #81
2014-01-08 01:00:28 +00:00
Mathew Sutcliffe
c77951743e INetwork: refactor request/reply pattern and sending position updates to be more encapsulated
refs #81
2014-01-08 01:00:17 +00:00
Klaus Basan
535ea65a9a start using our value classes as arguments in INetwork signals and slots
refs #81
2014-01-08 00:59:45 +00:00
Klaus Basan
c6da7b0d35 removing unneeded code
refs #81
2014-01-08 00:58:08 +00:00