Commit Graph

950 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
e93ef236af refs #140 doxygen, comment, and include tweaks 2014-03-07 23:15:58 +01:00
Mathew Sutcliffe
7f92b5dbc9 refs #140 to demonstrate the new tuple framework, adapted five typical value classes to use it 2014-03-07 23:15:57 +01:00
Mathew Sutcliffe
fcd3dc09ef refs #140 framework for using std::tuple to reduce repetitive coding in value classes 2014-03-07 23:01:25 +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
5a16052e30 Fixed include in sound generator 2014-02-26 14:27:30 +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
b115e3901d refs #146 , check for valid transponder code. During testing I ran into a situation, where I've received an invalid XPDR code from the network.
This check resets XPDR to 0000 , further logging could be provided.
2014-02-26 03:44:37 +01:00
Klaus Basan
4c81a6f86d refs #146 added updating and reading of VATSIM data file , so name and cid are available almost immediately 2014-02-26 03:44:37 +01:00
Klaus Basan
724b424d60 refs #146 , added methods to update from data file reader (e.g.) updateFromVatsimDataFileAircraft
* updateFromVatsimDataFileStation
* updateFromVatsimDataFileAircraft
* Changed to 1 line comments //! where applicable
2014-02-26 03:44:36 +01:00
Klaus Basan
79aa17cdaf refs #146 , renamed method to dataRead like in CVatsimDataFileReader 2014-02-26 03:44:35 +01:00
Klaus Basan
a9385870e0 refs #146 , CVatsimDataFileReader reads the data file for VATSIM and provides all ATC stations and aircrafts
* Data can be completed by attributes from the data file
* All voice servers are available
* Predictions can be made, even if the user is not logged in
2014-02-26 03:44:34 +01:00
Klaus Basan
8208e5858a refs #146 , using ", " in convertToQString -> better readability and word wrap 2014-02-26 03:44:33 +01:00
Klaus Basan
92c0a23749 refs #146, changed CStatusMessage so type can be set for getInfoMessage 2014-02-26 03:44:32 +01:00
Klaus Basan
6a24626c79 refs #146, Minor changes and cleanup tasks
* CCallsign::getCallsignPronounced -> getTelephonyDesignator
* CAircraft , comments renamed to 1 line style //!
* CAtcStation, comments renamed to 1 line style //! and added method hasValidFrequency()
* CAvioTransponder changed formatting
* CUser, comments renamed to 1 line style //!
* CCallsign, m_callsignPronounced -> m_telephonyDesignator , comments renamed to 1 line style //!
2014-02-26 03:44:31 +01:00
Klaus Basan
a43621774b refs #144 , improved SELCAL in a way that SELCAL tones will always end with 0 amplitude.
* method to write values in buffer -> writeAmplitudeToBuffer
* fixes the range from the last 0 pass so SELCAL tones will always end with 0 amplitude
2014-02-26 03:40:58 +01:00
Klaus Basan
59ff750b4a refs #144 , improved file deleter , no dependency of QObject anymore, now using single deleter object 2014-02-26 03:40:57 +01:00
Klaus Basan
7177d53552 refs #144 , sounds now can be generated, saved in a temp wav file, then played 2014-02-26 03:40:56 +01:00
Klaus Basan
7b1fa5617d refs #144 Util class, deleting temp files when application shuts down. First used with soundgenerator's temp. wav-files 2014-02-26 03:40:55 +01:00
Klaus Basan
9d7bd68433 refs #139 , improved version of CKeyboardLineEdit widget
* CKeyboardLineEdit supports CKeyboardKey to set all details directly to object, sets native scan code, and native virtual code
* CKeyboardKeyListModel::setData supports specialized line edit and combo box
* fixed some wrong overrides
2014-02-26 03:38:35 +01:00
Klaus Basan
cdb6009b0d refs #139 , added method to directly get indexToPropertyIndex by QModelIndex 2014-02-26 03:38:33 +01:00
Klaus Basan
f4d1eadbe5 refs #139 , allows to store the native scan code and the virtual key code. Adjusted list to use changed constructor. 2014-02-26 03:38:33 +01:00
Klaus Basan
b52ef641c2 refs #91 , Doxygen 2014-02-26 03:38: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
Klaus Basan
87352df468 refs #139 added keyboard key list to settings, so values can be changed 2014-02-26 03:38:30 +01:00
Klaus Basan
bb5865936b refs #139 added registration for CKeyboardKey et.al. 2014-02-26 03:38:29 +01:00
Klaus Basan
a42f67ef9a refs #139 list for keyboard keys and the corresponding models for the GUI 2014-02-26 03:38:28 +01:00
Klaus Basan
2c75fa4ab0 refs #139 , updated models to support new CColumn class and editable columns 2014-02-26 03:38:27 +01:00
Klaus Basan
c6c2d31cac refs #139, changed list model to support editable columns 2014-02-26 03:38:26 +01:00
Klaus Basan
141706158f refs #139 , based on RW's class added a platform independent CKeyboardKey class
* Key value stored similar to Qt::Key
* 2 modifiers
2014-02-26 03:38:25 +01:00
Klaus Basan
3df3c86386 refs #139, added a class describing a single column, allowing to set certain columns as editable 2014-02-26 03:38:24 +01:00
Klaus Basan
4ab59f77a5 refs #132 , based on RW's comment renamed method to loadFinished ( as in http://qt-project.org/doc/qt-4.8/qwebview.html ) 2014-02-21 18:27:07 +01:00
Klaus Basan
d0aef2fee1 refs #132 , improved one line comments for Doxygen 2014-02-21 16:52:33 +01:00
Klaus Basan
e69ee30dfb refs #132 , network context adjusted, reading of VATSIM bookings now in own reader class.
* Timer for bookings removed
* Adjusted context slots for reader class
* Consolidation of ATC online and ATC booked in booking receiver slot (CContextNetwork::psReceivedBookings)
2014-02-21 16:10:58 +01:00
Klaus Basan
a7f7ddb4c2 refs #132, reader class for VATSIM booking. The functionality has been moved out of network context, and into this reader class. 2014-02-21 15:46:24 +01:00
Mathew Sutcliffe
7dafb522e0 refs #91 doxygen cleanup 2014-02-18 18:32:40 +00:00
Mathew Sutcliffe
35e0c3e085 refs #91 & #124 using override and \copydoc throughout blackmisc 2014-02-17 16:37:04 +00:00
Mathew Sutcliffe
3c8d4819e9 refs #124 fixed wrongly named virtual methods which failed to override virtuals in the base class,
discovered thanks to the override keyword
2014-02-17 16:37:03 +00:00
Mathew Sutcliffe
4c16cc3a2e refs #91 updated Doxyfile config files with `doxygen -u' 2014-02-17 16:37:02 +00:00
Mathew Sutcliffe
f60b58ccd2 using intptr_t as the size_type for containers
refs #92 fixes MSVC "possible loss of data" warning when compiling for 64bits
2014-02-17 16:37:02 +00:00
Mathew Sutcliffe
2dd72c6d3e refs #104 replaced all remaining hash-based comparisons with the multimethod compare() 2014-02-17 16:37:01 +00:00
Mathew Sutcliffe
dd4e2c58f3 blacksound.pro: adjusted cross-platform copying of sound files
refs #129
2014-02-17 02:28:27 +00:00
Klaus Basan
92912ce0d0 Fixed .pro file for blacksound , copying of sound files
https://dev.vatsim-germany.org/issues/129#note-11
2014-02-17 02:59:07 +01:00
Mathew Sutcliffe
f6f55cfa61 refs #104 using CValueObject::compare in BlackMisc::equalQVariants 2014-02-12 23:28:17 +00:00
Klaus Basan
7d600d4450 refs #129 , start method as proposed by RW in https://dev.vatsim-germany.org/issues/129#note-4 , using lambda.
On top addded a simple check to avoid overlapping SELCAL tones
2014-02-12 20:14:34 +01:00
Klaus Basan
273b8d2d71 refs #129 , changed to QMAKE_POST_LINK as proposed by RW https://dev.vatsim-germany.org/issues/129#note-4 2014-02-12 20:14:33 +01:00
Klaus Basan
2db876844c refs #91 & #124 Doxygen, override, and comment fixes 2014-02-12 20:14:32 +01: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