Commit Graph

56 Commits

Author SHA1 Message Date
Klaus Basan
b09dbd4828 refs #568, improved display / sorting for status message categories
* display technical categories when no hr categories are available
* compare function for status message
2016-01-28 16:32:01 +01:00
Klaus Basan
3387caabdc refs #562, allow to validate models
* GUI part
* allow to merge a list of messages into one
* validation function
2016-01-28 16:27:32 +01:00
Mathew Sutcliffe
66fe290033 refs #567 CStatusMessageList::setCategories and related methods. 2016-01-27 23:37:43 +00:00
Klaus Basan
8f85c54989 refs #538, Formatting, minor tweaks, comments
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Klaus Basan
d6733d49bb refs #522, mutex for mutable members (thread safe)
* copy/assignment/lock for mutable members
* also removed redundant in status message (slack discussion MS/KB)
2015-11-26 13:54:47 +01:00
Klaus Basan
a4ba45ce75 refs #522, as preparation for mutable in status message
* added the new human readable patterns ( also for #506 )
* adjusted using functions

Meeting:
https://dev.vatsim-germany.org/boards/22/topics/2786?r=2787#message-2787
2015-11-26 13:54:45 +01:00
Mathew Sutcliffe
d13e863218 refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed. 2015-11-19 21:02:16 +00:00
Mathew Sutcliffe
a102fc73b6 refs #466 Resolved TODO items in logging. 2015-11-19 21:00:59 +00:00
Klaus Basan
b5477c7c94 refs #452, status messages
* DB support
* finders and convenience methods
2015-11-19 20:58:51 +00:00
Mathew Sutcliffe
ca9256be82 refs #450 Corrected emission of log messages from value cache validation. 2015-11-19 20:58:09 +00:00
Mathew Sutcliffe
2aef4a2881 refs #297 Added CStatusException, a throwable exception class containing a CStatusMessage. 2015-11-19 20:51:24 +00: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
Mathew Sutcliffe
b64ae55a86 refs #413 Access control of convertToQString changed from protected to public. 2015-05-12 20:37:43 +01:00
Roland Winklmeier
a089d3641d refs #403 add BlackMisc shared library build 2015-05-05 21:34:19 +02:00
Mathew Sutcliffe
9977d97a67 refs #356 Renamed CValueObjectStdTuple to CValueObject. 2015-03-27 23:03:25 +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
Mathew Sutcliffe
bf52390e01 refs #350 CStatusMessage methods for adding extra log categories. 2014-12-13 01:42:32 +00:00
Mathew Sutcliffe
48f04a4750 refs #247 Using CVariant in property index system. 2014-12-13 01:41:58 +00:00
Mathew Sutcliffe
16e285cecd refs #247 Style. 2014-12-13 01:38:53 +00:00
Klaus Basan
09ecb419dd Added isFromClass, see
https://dev.vatsim-germany.org/boards/22/topics/2207?r=2230#message-2230
2014-11-30 00:57:26 +01: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
5ff28cb3a1 refs #288, formatting, minor tweaks, utility methods, tabstops 2014-11-30 00:55:04 +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
Mathew Sutcliffe
0f888b8d89 refs #338 Severity strings. 2014-10-26 16:18:52 +00: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
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
290abe3693 refs #314, fromQVariant / location of toQVariant
* renamed fromQVariant to convertFromQVariant, the "from" methods imply the object is changed (fromJson, fromString ..)
* implemented fromQVariant - changing the object by QVariant
* moved toQVariant into PQ template
* free function setFromQVariant
2014-08-24 02:47:05 +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
ae5c677cfe Formatting: Icon names, headers, Doxygen 2014-08-05 23:31:39 +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
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
7b7fbee4c3 refs #199, code formatting and Doxygen, icons, comments, typos 2014-04-17 00:09:12 +02:00
Klaus Basan
09b1daf8ec refs #185 , new StatusMessage type: TypeSimulator, 2014-03-26 19:50:54 +01:00
Klaus Basan
0d306861f0 refs #140, removed MACRO DBUS_ENUM_MARSHALLING, changed to template
discussed in https://dev.vatsim-germany.org/issues/140#change-864
2014-03-11 21:08:59 +01: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
Mathew Sutcliffe
35e0c3e085 refs #91 & #124 using override and \copydoc throughout blackmisc 2014-02-17 16:37:04 +00:00
Klaus Basan
526cd916a8 refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-06 03:22:42 +01:00
Klaus Basan
ff5cf5ea4a refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-05 23:26:13 +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