Commit Graph

39 Commits

Author SHA1 Message Date
Mathew Sutcliffe
9977d97a67 refs #356 Renamed CValueObjectStdTuple to CValueObject. 2015-03-27 23:03:25 +00:00
Mathew Sutcliffe
2a3e0acf23 refs #356 Update base class name in derived class method implementations. 2015-03-27 19:08:52 +00: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
0f5606b294 Human readable categories 2014-12-28 22:20:50 +01:00
Mathew Sutcliffe
48f04a4750 refs #247 Using CVariant in property index system. 2014-12-13 01:41:58 +00:00
Klaus Basan
97e04f8360 Human readable log category:
* fixed propertyIndex in CStatusMessage
* added method for human readable messages in CStatusMessage
* added typeid based category for classes
* listmodel for staus messages, added column and removed outdated data method
* columns, in class init
2014-11-30 00:56:48 +01:00
Klaus Basan
350b5a0bfa improved string to severity enum (for core log levels) 2014-11-30 00:56:38 +01:00
Klaus Basan
43ecc238ed refs #335, Minor tweaks:
* Formatting
* renaming
* fixed some issues of cppcheck
* new icons
* smooth scrolling in views, stretching for few columns
* fixed start timer in updatetimer
* background colors of some LEDs
2014-11-30 00:53:23 +01:00
Mathew Sutcliffe
8f7c10f306 refs #345 Symmetric equality operators complete the original implementation of CValueObjectStdTuple. 2014-11-10 20:43:33 +00:00
Mathew Sutcliffe
798b198d4e refs #345 Style and doxygen. 2014-11-10 20:42:31 +00:00
Roland Winklmeier
f2ea959e6b refs #341 Fix uninitialized m_severity in constructors 2014-11-05 16:34:24 +01:00
Mathew Sutcliffe
0f888b8d89 refs #338 Severity strings. 2014-10-26 16:18:52 +00:00
Mathew Sutcliffe
33b0e80a99 refs #338 Fixed missing severity string. 2014-10-24 00:33:55 +01:00
Mathew Sutcliffe
067344df24 refs #336 Added class CLogCategory to represent a log category. The category logic of CLogMessage is moved into this new class. 2014-10-16 17:05:28 +01:00
Mathew Sutcliffe
8992bd734c refs #336 CStatusMessage keeps track of which objects have handled it, to avoid duplicate handlings of the same message. 2014-10-16 17:05:06 +01:00
Roland Winklmeier
716b5cc00e Fix missing enumeration value and break statement in switch 2014-10-08 00:17:26 +02:00
Mathew Sutcliffe
ce6cdf12a7 refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage. 2014-10-04 22:16:35 +01:00
Klaus Basan
c5eb1151d4 refs #327, CStatusMessage based on CRTP (proof of concept) 2014-09-11 18:34:52 +02:00
Klaus Basan
c1895c1ab2 refs #314, fixed missing virtual keyword and Doxygen comment 2014-08-25 13:10:13 +02:00
Klaus Basan
40b428a315 refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
2014-08-24 02:47:16 +02:00
Klaus Basan
e109d73ba2 refs #314, new propertyBy methods (nested indexes) 2014-08-24 02:46:59 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Klaus Basan
5873ec9359 refs #304, centralized icons
* icons which can be rotated
* provide metadata
* integrated in CValueObjects
* added SVG support
2014-08-05 23:31:54 +02:00
Klaus Basan
878e800ba0 refs #304, centralized icons 2014-08-05 23:31:42 +02:00
Klaus Basan
ae5c677cfe Formatting: Icon names, headers, Doxygen 2014-08-05 23:31:39 +02:00
Klaus Basan
abd2d6d86d Some fixes / tweaks / Doxygen:
* helper method to detect disconnected state
* clear ATC info if disconnected or not available
* unit test for "finders"
* added Doxygen file
* formatting frequency in text message tabs
2014-06-28 18:01:54 +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
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
9b26cd6435 refs #199 , prepared Status message for output redirection (qDebug, qWarning)
* new type
* output as HTML (GUI console)
2014-04-17 00:09:16 +02:00
Klaus Basan
34320ad3e1 refs #140, changed CValueObject classes to tupel concept
Remarks: Changes looking like an added file result from the shift of namespace voice -> audio
2014-03-10 14:48:56 +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
7a63768c83 Allows to display callsign / user / statusmessage as icon in views. refs #122
* Icons
* update of resource file
* update in CValueObject classes callsign / user / statusmessage
* update in list models, data method for returning Pixmap
2014-02-05 23:16:29 +00:00
Klaus Basan
fda587994d CValueObject virtual method toIcon, reprsenting the object as icon where applicable.
Currently used for status messages (severity), will be used for CAtcStation and others as well.
2014-02-05 23:16:14 +00:00
Klaus Basan
f476388f8b Status message list model (so they can displayed as table view in GUI),
and the corresponding property methods in CStatusMessage
2014-02-05 23:15:43 +00: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
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
4747b3b484 new value objects for aviation, network, and settings
refs #81
2014-01-08 00:59:39 +00:00
Klaus Basan
fe1a570c39 classes for status messages
refs #81
2014-01-08 00:59:34 +00:00