Commit Graph

838 Commits

Author SHA1 Message Date
Klaus Basan
3a4e5ef556 refs #364, refs #368 improved handling of manually set models
* make sure manually set model is not subject of model matching
* added convenience member functions to detect manually set models
2015-01-25 03:55:45 +01:00
Klaus Basan
2e06f054e8 Fixed / changed metadata registration 2015-01-25 03:55:42 +01:00
Klaus Basan
ca07e68c34 Improved samples and debugging information
* DBus test for CSimulatedAircraft
* Output of metatypes in GUI/core
* Changed output from qDebug() to QTextStream
* Variant test for CSimulatedAircraft
2015-01-25 03:55:39 +01:00
Klaus Basan
8612377bff Fixed property index class, class failedto work with DBus 2015-01-25 03:55:33 +01:00
Klaus Basan
8d37d24e21 New icons (for callsign) 2015-01-24 01:16:54 +01:00
Klaus Basan
4e1db5c837 Fixes of MS'review as proposed
https://dev.vatsim-germany.org/issues/368#change-2380 (1,2)
https://dev.vatsim-germany.org/issues/364#change-2379 (1-11,13)
2015-01-24 01:16:50 +01:00
Klaus Basan
9d14f8f42d Some convenience functions ATC station 2015-01-24 01:16:34 +01:00
Klaus Basan
b629a9325b Tweak in icon / callsign
* conversion to Icon in callsign
* toQIcon function
2015-01-24 01:16:26 +01:00
Klaus Basan
799b640379 refs #364, refs #368 adjusted metadata registration and header files to reflect new classes 2015-01-24 01:15:09 +01:00
Klaus Basan
6bcc8940fa Convenience functions for aircraft list 2015-01-23 18:47:53 +01:00
Klaus Basan
ac87e7ef60 refs #368, pixmap class which is DBus compliant 2015-01-23 18:47:50 +01:00
Klaus Basan
f8cc656692 Moved icon paths in .cpp file 2015-01-23 18:47:43 +01:00
Klaus Basan
2d6e906176 refs #364, refs #368 Updated some value classes: user, client, icao, callsign, aircraft
* parsing homebase from user
* updating to Simulation/AircraftModel
* known ICAO function
* renaming, style changes
* convenience functions
2015-01-23 18:47:39 +01:00
Klaus Basan
5505222461 refs #364, Simulated aircraft
* Simulated aircraft, basically aircraft + model + client
* moved corresponding model classes to subdir simulation
2015-01-23 18:47:31 +01:00
Klaus Basan
1e480d52b9 Avoid compiler warning with JSON disabled 2015-01-23 18:47:27 +01:00
Mathew Sutcliffe
d10c2a0709 Changed file encoding to UTF-8. 2015-01-07 00:11:02 +00:00
Mathew Sutcliffe
4960ba5170 Fixed error in CSequence::useImplOf. 2015-01-03 17:55:39 +00:00
Mathew Sutcliffe
77efea3377 Added a dummy argument in Private::Equals constructor, so it is not mistakenly used as copy constructor. 2015-01-03 17:55:38 +00:00
Klaus Basan
4f0bf6d62c refs #358, changes of MS' review
https://dev.vatsim-germany.org/issues/358#note-11
2014-12-29 23:11:23 +01:00
Klaus Basan
b26fa651ed Allow to select COM frequencies from ATC view (context menu)
* added functions in component to select COM frequencies
* changed views to contain ObjectType in template
* function to obtain selected objects in view base class
2014-12-29 23:02:00 +01:00
Klaus Basan
d0b5fc1249 refs #358, fixes as proposed by RW
* foreach -> for
* CVariant
2014-12-29 23:01:58 +01:00
Klaus Basan
21135d5370 refs #358 fixed missing convertFromQVariant 2014-12-28 22:20:57 +01:00
Klaus Basan
0f5606b294 Human readable categories 2014-12-28 22:20:50 +01:00
Klaus Basan
0b03ac1339 Hide model string for ATC clients 2014-12-28 22:20:43 +01:00
Klaus Basan
a03bd4d07f Allow direct comparison with enum 2014-12-28 22:20:39 +01:00
Klaus Basan
95df9edd52 Removed warning from fixQVariantFromDbusArgument.
@MS: Please crosscheck. In the past function was only called with QDBusArgument.
Now called from CVariant sometimes with standard variant types (QString, int).
Expected?
2014-12-28 22:20:21 +01:00
Klaus Basan
bfced2ad42 refs #358, more detailed time measurement in runtime class 2014-12-28 22:20:17 +01:00
Klaus Basan
f62f85b263 refs #359, fixed loghandler, removed / fine tuning of some output / log messages
see also discussion in #359
2014-12-28 22:20:01 +01:00
Klaus Basan
819c4cb0db refs #358, new finders for client list 2014-12-28 22:19:51 +01:00
Klaus Basan
64f037d584 refs #358, adjusted samples for model matching 2014-12-28 22:19:47 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Klaus Basan
bdcb031591 refs #358, consolidated mapping and model classes
* removed redundant classes in blacksim
* more detailed attributes for mapping
* more finder functions in mapping list
* aircraft model extended as simulator independent description for models
2014-12-28 20:46:04 +01:00
Roland Winklmeier
c0265ba0e4 refs #320 Move own implementation of std::make_unique into BlackMisc 2014-12-27 11:08:39 +01:00
Roland Winklmeier
cb7ad005b0 refs #320 port Network to new vatlib
* CNetworkVatlib
* Contexts
* Samples
2014-12-27 11:08:32 +01:00
Roland Winklmeier
a1ef1d4484 refs #320 Rename CAudioDevice to CAudioDeviceInfo
CAudioDevice implied a device handler instead of device information
2014-12-25 20:12:58 +01:00
Klaus Basan
927a533040 refs #349, some convenience functions 2014-12-13 13:17:34 +01:00
Klaus Basan
78e4900243 refs #349, housekeeping
* formatting
* tweaks (such as changing to new log style),
* Doxygen
* int instead of qint
2014-12-13 13:17:31 +01:00
Mathew Sutcliffe
69905d310f refs #350 Fixed CLogMessage methods for logging preformatted statusmessages. 2014-12-13 01:42:32 +00:00
Mathew Sutcliffe
bf52390e01 refs #350 CStatusMessage methods for adding extra log categories. 2014-12-13 01:42:32 +00:00
Mathew Sutcliffe
599068e25b refs #247 Removed code which is no longer used. 2014-12-13 01:42:02 +00:00
Mathew Sutcliffe
7db0587254 refs #247 Using CVariant in physical quantities. 2014-12-13 01:41:59 +00:00
Mathew Sutcliffe
48f04a4750 refs #247 Using CVariant in property index system. 2014-12-13 01:41:58 +00:00
Mathew Sutcliffe
4007f34e22 refs #247 Enabled equality comparison between CVariant and CValueObject. 2014-12-13 01:41:55 +00:00
Mathew Sutcliffe
befa5892a5 refs #247 CValueObject: Added missing convertFromCVariant method to complement toCVariant. 2014-12-13 01:41:54 +00:00
Mathew Sutcliffe
1b671e9cb0 refs #247 CVariant::valueOrDefault convenience function. 2014-12-13 01:41:53 +00:00
Mathew Sutcliffe
0bc4f82ea7 refs #247 Fine-tuned CVariant constructors. 2014-12-13 01:41:50 +00:00
Mathew Sutcliffe
155b957cee refs #247 CVariant can inherit from CValueObjectStdTuple.
But if valueobject.h includes variant.h then it would create a circular dependency.
2014-12-13 01:41:49 +00:00
Mathew Sutcliffe
f68fc32f3d refs #247 CVariant uses our new metadata system to provide access to CValueObject operations in a safe manner. 2014-12-13 01:41:48 +00:00
Mathew Sutcliffe
f52cdd596e refs #247 All our value classes registered with our new custom metatype system. 2014-12-13 01:41:47 +00:00
Mathew Sutcliffe
c5b463fafb refs #247 Created a facility to register our own custom metatype metadata. 2014-12-13 01:41:46 +00:00