Commit Graph

36 Commits

Author SHA1 Message Date
Klaus Basan
e12dc3a73a Utility functions to sort text messages by timestamp (ascending/descending)
* compare function for text message
* resort function
* text message edit can display HTML text messages with ascending/descending timestamp
* made CTextMessageListModel -> CListModelTimestampObject
2019-09-16 22:41:30 +01:00
Klaus Basan
0360704b0b Ref T683, "updateOwnSituationAndGroundElevation"
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-09-16 22:39:50 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
4d0f8b9fa0 Ref T529, check for timestamp/orderable index 2019-02-22 20:36:03 +00:00
Klaus Basan
a40e37e59b Ref T473, added version attribute for DB based value objects.
So all DB objects could have version.
2019-02-22 20:23:51 +00:00
Klaus Basan
6de663b635 Ref T397, allow to set adjusted time 2018-11-04 17:42:43 +01:00
Klaus Basan
00d859d5b3 Ref T297, style and remarks for T297 2018-11-04 17:42:41 +01:00
Klaus Basan
62601bde9d Ref T345, fixed value class CInformationMessage
- added property functions
- used ITimestampBased
2018-09-12 17:40:31 +02:00
Klaus Basan
abafbc335a Ref T297, calculate ts differences ITimestampObjectList::getTimestampDifferenceMinMaxMean 2018-08-01 03:06:24 +02:00
Klaus Basan
338c5b344a Ref T292, Ref T285 function to set file timestamp 2018-07-26 02:13:53 +02:00
Klaus Basan
d1f5635bd1 Ref T261, timestamp utility functions 2018-05-08 16:06:42 +02:00
Klaus Basan
fd7b1e0d9c Ref T259, Ref T243 utility functions for timestamp based classes 2018-04-05 02:54:50 +02:00
Klaus Basan
7beab371a1 Ref T259, Ref T243 timestamp utility functions 2018-04-05 02:54:18 +02:00
Klaus Basan
55e2690ceb Ref T259, Ref T243 utility functions for timestamp based classes and parts plus renamings 2018-04-05 02:54:05 +02:00
Klaus Basan
52bf09eaf7 Ref T241, some improvements for timestamp based
* this->m_ => m_
* is[Older/Newer]ThanAdjusted
2018-02-04 09:00:17 +01:00
Klaus Basan
51ba6398bb Ref T241, Ref T243, ITimestampWithOffsetObjectList
* there was already ITimestampWithOffsetBased for objects
* this creates the container version
* functions to add objects (parts/situations) and guarantee the sort order
* moved push_frontMaxElements to CSequence (not specific for timestamp lists)
* added in-place reverse
2018-02-04 08:53:50 +01:00
Klaus Basan
ebd916f6d8 Ref T231, Ref T236, Ref T238 added ITimestampWithOffsetBased
* base class for offset timefeaturing classes
* used with parts/situations
2018-01-30 20:34:52 +01:00
Mathew Sutcliffe
e0d9fb9df1 Ref T185 Enable spline interpolation with only one position update,
by just copying it three times, so planes can be rendered without waiting for more updates.
2017-11-12 13:48:07 +00:00
Klaus Basan
bfa3908a99 Ref T129, utility function for timestamp based interface 2017-10-10 00:27:34 +01:00
Klaus Basan
dcfaca431c refs #849, use timestamp with server to indicate when login started
* CServer -> ITimestampBased
* added compare functions
2017-01-10 23:46:48 +00:00
Klaus Basan
2b49591f1b refs #649, do not init to current timestamp
* force explicit init (performance/invalid objects)
* allow to find mising timestamps
* style
2016-06-08 03:59:06 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
4b11eb3f83 refs #648, refs #640 review of MS
https://dev.vatsim-germany.org/issues/648#note-5
2016-05-07 20:11:54 +02:00
Klaus Basan
5f2110b81a refs #640, value object orderable interface (same as ITimestampBased ..)
* interface and list
* added Q_DECLARE_INTERFACE
2016-05-05 20:49:19 +02:00
Roland Winklmeier
794bf0cd74 Fix doxygen copydoc documentation
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code

refs #544
2016-02-08 01:53:17 +01:00
Klaus Basan
0c94922bd6 refs #501, compareByPropertyIndex (performance for sort) 2015-11-19 21:04:34 +00:00
Klaus Basan
008792d95b refs #478, allow to set timestamp by "setByYearMonthDayHourMinute" 2015-11-19 21:03:47 +00:00
Klaus Basan
dff7ed5a90 refs #478 minor improvements
* updated / clean-up of global property indexes
* beta test function in CProject
* typo in math utils
2015-11-19 21:03:17 +00:00
Klaus Basan
ae24700299 refs #452, adjusted aircraft/aviation classes
* support for loading from datastore
* improved timestamp handling
* new color and country classes
* new attributes
* updates for missing parts in CUser
2015-11-19 20:58:48 +00:00
Klaus Basan
73164b2ffc refs #428, refs #432 some changes to COriginator / containers
* originator, machine name, timestamp based, connect with QObject's &QObject::objectNameChanged
* list
2015-05-28 23:57:05 +02:00
Mathew Sutcliffe
6b40cde862 refs #413 Make all value class methods non-virtual.
toCVariant() and convertFromCVariant() are now deprecated,
use CVariant::from() and CVariant::to() instead.
2015-05-12 20:37:47 +01:00
Roland Winklmeier
a089d3641d refs #403 add BlackMisc shared library build 2015-05-05 21:34:19 +02:00
Klaus Basan
269c65b578 As of workshop RW/KB, improved / fixed text messages
Also refs #351
* messages can be formatted with style sheet
* fixed: removed command from message
* added originator to command line
* msg parsing now in core
* using ITimestampBased for text messages and status messages
* allow to resize rows to content (view base)
* model / views for text messages
* removed old qt stylesheets
2015-03-20 17:10:58 +01:00
Klaus Basan
420a47e90c refs #369, changed interpolation to a working (but still too bad performing) version
* using split by callsign everywhere
* helper function to insert_front
* revised linear interpolator
* renamed to remoteAircraft
* renamed to container() in providers (gettters are usually copies)

Issues why changes did so long:
* insert in list is not adding in front, but same as push_back (that was confusing)
* naming of values before/after in interpolator was ambigious
* QMap keeps values sorted by key, not arbitrarily
2015-03-20 16:49:07 +01:00
Klaus Basan
ce86c902b5 Upfront of refs #369
* consolidated ICoordinateGeodetic (e.g. fixed nested properties)
* shifted common functionality for objects/containers with callsign into interface
* shifted common functionality for objects/containers with geo position into interface
* shifted common functionality for objects/containers with timestamp into interface
* updated corresponding value objects / specialized lists
* adjusted all places where renamed functions are used
2015-03-20 16:30:18 +01:00