Klaus Basan
c21a0bb0e4
refs #314 , compareQVariants checks for int to avoid rounding issues
2014-08-24 02:47:04 +02:00
Klaus Basan
e109d73ba2
refs #314 , new propertyBy methods (nested indexes)
2014-08-24 02:46:59 +02:00
Klaus Basan
d797d76a60
refs #314 , CPropertyIndex class for nested indexes
2014-08-24 02:46:57 +02:00
Klaus Basan
8fd9116f28
refs #314 , calculcate hash for QList<int>
2014-08-24 02:46:56 +02:00
Klaus Basan
3fb5087ea8
Renaming, header, Doxygen, formatting (during refs #314 )
2014-08-24 02:45:52 +02:00
Roland Winklmeier
4d60ca3a87
refs #313 KeyboardKey wrapper class for current settings implementation
2014-08-19 15:30:03 +02:00
Roland Winklmeier
c6540e8521
refs #313 value class for hotkey functions
2014-08-19 14:07:38 +02:00
Klaus Basan
42f89ebeca
refs #304 , Icons, using new CIcon class
2014-08-05 23:31:55 +02:00
Klaus Basan
6d5461cff8
Formatting, headers, Doxygen
2014-08-05 23:31:53 +02:00
Klaus Basan
8a5a268a77
refs #304 , refs #307 , refs #173 as preparation for GUI, name / variant pair
...
* for a generic table and tree view
* generic name pair models and view
* Hash for variant
2014-08-05 23:31:41 +02:00
Mathew Sutcliffe
f87b5aa5d5
refs #296 implemented CSimulatorXPlane::getAirportsInRange
2014-07-18 23:32:56 +01:00
Klaus Basan
b65829444a
Fixed object metadata registration
2014-07-11 01:19:59 +02:00
Klaus Basan
42db1fe9ae
refs #273 , added settings for simulator
...
* added class
* adjusted settings context
* adjusted "global" methods as register metadata
* improved settings utility
* renamed "settingsallclasses" as settings can also be in other namespaces, settingsallclasses now in core
2014-06-28 18:01:55 +02:00
Klaus Basan
97b8ee8c32
refs #277 , slow auio init
...
* fixed QHostInfo::localHostName()
* move to BlackMisc, as it can be used elsewhere
* temp. change, moved methods in body until refs #278 , #277 is fixed/ resolved
2014-06-23 01:19:38 +02:00
Klaus Basan
426dd4a09e
refs #267 , classes for model matching
...
* extended model class, refactored model class
* new mapping classes: value class / list
2014-06-23 01:19:18 +02:00
Klaus Basan
56430c860a
refs #264 , QPixmap enable list model base to simplify columns with icons
...
* new constructor in column class
* removed overridden data method, no longer needed
* added icons for ATC station views
* QPixmap comparison for such columns (free functions)
2014-06-10 02:05:44 +02:00
Klaus Basan
63b0fac72f
Some bugfixes
...
* Missing registration
* wrong frequency in text messages, also some minor tweaks in text message
2014-06-09 14:44:23 +02:00
Klaus Basan
6b55b10b9b
Prepared for voice capabilities
2014-06-09 14:44:21 +02:00
Klaus Basan
c3f7a7c179
Some fixes found during testing with remote black core (different computer)
...
* Allow anonymous access for P2P
* Fixed sound settings flags, if empty string is saved in settings
* Fixed metadata registration
2014-06-09 14:44:13 +02:00
Mathew Sutcliffe
cd7cc84fbc
refs #116 removed firstBlackMetaType as it is no longer needed
2014-06-05 21:04:29 +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
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
e474671ead
refs #207 , renamed CValueMap to CIndexVariantMap.
...
* The map will be used with CSimulaorInfo to transfer a variable number of setting information about the flight simulator. It is being used, because it is already DBus and tupel compliant. The new name better fits its purpose.
* Add == operator for CIndexVariantMap (ambiguity error with tupels)
2014-04-17 00:10:04 +02:00
Mathew Sutcliffe
f4a4eddca2
refs #48 value class for flight plans
2014-04-03 23:06:52 +01:00
Klaus Basan
57435b2a73
refs #192 , some housekeeping during the JSON introduction
...
* removed unused tryGet methods for transponder / COM
* adjusted unit tests
2014-03-26 20:18:47 +01:00
Klaus Basan
f9246cb5f9
refs #189 , PQ string class which allows parsing strings like 100m/s.
...
pqbase contains template method to determine a valid unit.
2014-03-26 19:51:00 +01:00
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
Klaus Basan
bb5865936b
refs #139 added registration for CKeyboardKey et.al.
2014-02-26 03:38:29 +01:00
Mathew Sutcliffe
f6f55cfa61
refs #104 using CValueObject::compare in BlackMisc::equalQVariants
2014-02-12 23:28:17 +00:00
Klaus Basan
5619c29cb6
SELCAL classes (CValueObject based)
2014-02-05 23:15:16 +00:00
Mathew Sutcliffe
17534e5154
refs #92 clarified conditional compilation of BlackMisc::heapSizeOf
2014-02-02 16:50:46 +00:00
Klaus Basan
f5e791e049
Added missing CCallsignList::registerMetadata
2014-01-25 19:48:10 +01:00
Mathew Sutcliffe
db4c05dd9f
refs #84 removed the CValueObject::compare method and added a friend function BlackMisc::compare to replace it.
...
The new compare is implemented using "multimethods" described in the book Advanced C++ Programming Styles and Idioms by James Coplien.
First, the isA method is used to determine which of the values being compared is the most general. (For example, CLength is more general than CAltitude.)
Then the compareImpl method is called on the most general value, with the other value as an argument.
If there is not a direct inheritance relation between the two values (or they are the same class) then the comparison is invalid and a assert is triggered.
2014-01-17 01:38:27 +00:00
Klaus Basan
1c1fdabd2e
all voice changes from kbatclist branch
...
refs #81
2014-01-09 01:15:58 +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
Mathew Sutcliffe
c37e160a42
simple memory profiling on Windows using the CRT debug heap
...
refs #81
2014-01-08 00:59:59 +00:00
Klaus Basan
4747b3b484
new value objects for aviation, network, and settings
...
refs #81
2014-01-08 00:59:39 +00:00
Klaus Basan
f247399575
register CMeasurementUnit as a Qt meta type
...
refs #81
2014-01-08 00:59:24 +00:00
Klaus Basan
bf1837b414
CValueMap generic representation of a value object as a map of QVariants
...
refs #81
2014-01-08 00:59:03 +00:00
Klaus Basan
a280d239e6
using hashes to perform comparisons between blackmisc value objects stored inside of QVariant
...
refs #81
2014-01-08 00:59:00 +00:00
Klaus Basan
67a5dbfe48
converting value objects to/from QVariant
...
refs #81
2014-01-08 00:58:56 +00:00
Klaus Basan
978f3c88e5
style changes and removals of typeid
...
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
2c781e8b36
style fixes: mostly just things that make my eyes bleed :)
2013-08-13 22:29:48 +01:00
Klaus Basan
a53ea0c5fd
DBus: track, heading, transponder. Added I18N for track/heading, added further I18N keys. Of course not all I18N strings are translated yet.
2013-07-28 03:20:04 +02:00
Klaus Basan
40a97c3d82
Added I18N for PQs, initial version. Hence resource file and language files. Changed samplesphysicalquantities to check some I18N topics.
2013-07-27 20:23:23 +02:00
Klaus Basan
581638ec7f
Enabled coordinate classes for DBus, added generation method for lat/lng by WGS84 strings
2013-07-25 23:58:09 +02:00
Klaus Basan
7316980a5c
Enabled coordinates for DBus
2013-07-25 12:37:51 +02:00
Klaus Basan
2fc08a0376
Enabled DBus with matrix classes, noticed issue with QList Signature (ad, addddd)
2013-07-25 00:10:50 +02:00