Commit Graph

344 Commits

Author SHA1 Message Date
Klaus Basan
0a4c47c800 refs #250, formatting, minor tweaks and fixes
* changed return type for updateFromVatsimDataFileStation
* improved resolution for own aircraft
* convenience method findFirstByCallsign
* automatically convert frequency to MHz for ATC station
* improved output in toQString
* GUI, flight plan formatting
* corrected logging for network context
* override keyword in listmodelbase
2014-06-09 14:42:44 +02:00
Klaus Basan
6353edd50a Formatting / tweaks 2014-06-09 14:42:43 +02:00
Klaus Basan
e0b06e1555 refs #250, helper methods
* in aircraft class to compare COM
* in context / runtime component to check vitality of core
2014-06-09 14:42:37 +02:00
Mathew Sutcliffe
078ae6c498 refs #260 added frontOrDefault and backOrDefault methods in CSequence 2014-06-05 23:29:10 +01:00
Mathew Sutcliffe
cd7cc84fbc refs #116 removed firstBlackMetaType as it is no longer needed 2014-06-05 21:04:29 +01:00
Mathew Sutcliffe
c6e9301078 refs #116 using CVariant in the implementation of CIndexVariantMap 2014-06-05 21:04:28 +01:00
Mathew Sutcliffe
8f2c733f47 style 2014-06-05 21:04:28 +01:00
Mathew Sutcliffe
1b82536913 refs #116 demonstrate CVariant by using it in the settings context 2014-06-05 21:04:27 +01:00
Mathew Sutcliffe
2726a7a09a refs #116 added CVariant, a wrapper for QVariant with more natural/transparent DBus integration 2014-06-05 21:04:26 +01:00
Mathew Sutcliffe
b03a9b11a4 slight improvement to error reporting in complexQtTypeFromDbusArgument 2014-06-05 21:04:26 +01:00
Klaus Basan
d4d121bed5 refs #240, text to status message, used when a text message shall be logged or used in popup windows with status message signature 2014-05-22 22:21:22 +02:00
Klaus Basan
4c952ab782 refs #240, moved notification sounds in project blackmisc
Notification sounds are used in BlackGui components. They require the whole Qt multimedia library. However, GUI only triggers playing the sound. As a workaround the notification sounds enumeration has been moved in an own class, and moved to the subproject BlackMisc. Hence it is possible to compile BlackGui without dependency to BlackSound.
2014-05-22 22:21:19 +02:00
Klaus Basan
798780dd4c Code formatting, minor tweaks 2014-05-22 22:21:17 +02:00
Mathew Sutcliffe
695078f85a typo fixes 2014-05-16 13:44:22 +01:00
Klaus Basan
a2bfe36f37 refs #236, default FSX path by registry
Includes a setter for index map
2014-05-13 01:21:50 +02:00
Klaus Basan
36b5915511 Added attribute home base for user, will be used to identify user's origin 2014-05-08 13:54:16 +02:00
Klaus Basan
41b89e928f swift 2014-05-08 00:11:15 +02:00
Klaus Basan
cbd8f2681a refs #234, add methods to resolve user names from VATSIM file and display them in voice rooms 2014-05-07 23:23:20 +02:00
Klaus Basan
421d2d5411 refs #233 Keyboard key/key list
* helper methods for keylist (key for function)
* new Hotkey function (toggle window on top)
* improved comparisons for key
* unit tests
2014-05-07 23:16:28 +02:00
Klaus Basan
17f617f418 Formatting, comments typos, doxygen 2014-05-07 18:41:26 +02:00
Klaus Basan
70e2cc0526 Added icons for callsigns 2014-05-07 18:32:41 +02:00
Klaus Basan
5dd2578a4f refs #227, client (representing other pilot client) class
* client class plus list
* aircraft model class, representing the used model
2014-05-06 21:47:12 +02:00
Klaus Basan
580ec3d8c8 Formatting, comments, typos, or minor tweaks
* Aircraft ICAO class: hasXX methods (hasAircraftCombinedType(), ..)
* Index Variant map, contains(index)
* Deleted context_network_textmessages.cpp and moved it into impl.cpp (this was only 1 method)
* Fixed bug refs#228
2014-05-06 21:47:10 +02:00
Mathew Sutcliffe
894df23c50 refs #230 methods to combine and bisect containers 2014-05-06 18:13:20 +01:00
Mathew Sutcliffe
18453225bd preparatory to refs #230, need to replace QSet with QOrderedSet
(which is our own custom class) in order to support standard algorithms.
This also means adding generic comparison operators for CValueObject.
2014-05-06 18:13:10 +01:00
Mathew Sutcliffe
e076248cd9 additional support for move semantics in our containers 2014-05-05 01:41:41 +01:00
Klaus Basan
036de1b0e6 refs #212, fixed parsing of time strings 2014-04-30 02:34:30 +02:00
Klaus Basan
112bd55362 Constructor for PQ by string (e.g. 100km/h),
motivated by MS review https://dev.vatsim-germany.org/issues/212#note-6
refs #212
2014-04-30 01:15:30 +02:00
Klaus Basan
7b5e768513 Formatting, comments / doxygen 2014-04-30 01:14:17 +02:00
Klaus Basan
464c17085c refs #212, MS review, https://dev.vatsim-germany.org/issues/212#note-6 2014-04-30 01:02:36 +02:00
Klaus Basan
b4615e8b75 refs #212, removed set method as of MS review
https://dev.vatsim-germany.org/issues/212#note-6
2014-04-30 00:56:57 +02:00
Klaus Basan
9e5666e0e2 Formatting / comments / typos 2014-04-29 01:54:04 +02:00
Klaus Basan
36dbcc6b57 refs #217, Project class providing information for compile configuration
* changed .pro / .pri as required
* Used info from project class in network_vatlib
* Checks / info in GUI/core (e.g. console)
* const * versions of systemNameAndVersion / simulators, as mentioned in https://dev.vatsim-germany.org/issues/217#note-4
2014-04-29 01:53:09 +02:00
Klaus Basan
9458340d10 refs #212, added support for displaying an info if flight plan was sent
* improved validation
* fixed cat E for approach speed
* added attribute to FP class
2014-04-28 20:36:01 +02:00
Klaus Basan
172ea1d98e fixed callsign and two models 2014-04-28 20:35:45 +02:00
Klaus Basan
bcb6f3a479 refs #212, improved helper methods for CStatusMessage, needed for FP validation 2014-04-28 20:35:41 +02:00
Klaus Basan
5182df5ff7 refs #216, airport ICAO class needed for flightplan
* added class
* adjusted flightplan class, also added some convenience methods to FP class
2014-04-28 20:35:40 +02:00
Klaus Basan
ccb3600c6f refs #212, methods for parsing values
* PQ, set by other PQ
* PQ, set NULL
* PQ, CPqTime, implemented parse to string
* CPqTime to QTime
2014-04-28 20:35:39 +02:00
Klaus Basan
adfeeba19d Formatting, comments, typos only 2014-04-28 20:35:38 +02:00
Klaus Basan
03580b9cdc refs #212, fixed parsing for PQs
* trimmed strings
* renamed to parseToVariant methods avos ambiguity with template method
2014-04-28 20:35:35 +02:00
Klaus Basan
ce619e7a50 refs #201, support for flight level in altitude (needed for flight plan) 2014-04-28 20:35:34 +02:00
Roland Winklmeier
95fa5e84df Removed IContext
Network and voice samples work using them and have to allocate
their own vatlib objects now.

refs #221
2014-04-26 20:46:56 +02:00
Roland Winklmeier
0ceb3ad75e Remove former plugin management and samples
refs #221
2014-04-26 20:45:12 +02:00
Klaus Basan
d95c86d094 refs #214, fixed hash for variant map
* hash based on convertToQString
* fixed convertToQString
2014-04-21 17:42:16 +02:00
Klaus Basan
2fd80694a6 Minor tweaks around formatting, comments, renaming, warnings 2014-04-21 17:42:12 +02:00
Mathew Sutcliffe
8043caab6d refs #197 stringification of null quantity should yield "undefined" 2014-04-17 00:34:03 +02:00
Mathew Sutcliffe
a4e3ac6f40 refs #197 fixing (hopefully) comparison between null quantities
and related rationalization of PQ comparison.
2014-04-17 00:32:41 +02:00
Klaus Basan
a70bc1cb38 fixes as follow-up of meeting https://dev.vatsim-germany.org/boards/22/topics/1671
* asserts for relaySignals
* relay "message" in connection status changed
* bug in status message
* bug in saving settings

refs #198 refs #199 refs #207 refs #209
2014-04-17 00:11:59 +02:00
Klaus Basan
284a130669 refs #209, reset method for settings 2014-04-17 00:11:50 +02:00
Klaus Basan
9db245c843 refs #207, fixed windows.h / NOMINMAX.
Depending on the build setup (config.pri) missing NOMINMAX caused warning, or already existing NOMINMAX caused warning
2014-04-17 00:10:05 +02:00