Commit Graph

29 Commits

Author SHA1 Message Date
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
74be37339e Models guard names and style 2019-02-22 20:35:56 +00:00
Mat Sutcliffe
9f85a7b560 Fixed clazy warnings: pass large objects by reference to const. 2019-02-22 20:23:33 +00:00
Klaus Basan
8c74d8c386 Ref T442, column formatter utility functions 2018-12-05 04:03:44 +01:00
Klaus Basan
9438462280 Optimizations for column formatters, use CVariant directly if a value remains const (no need to always contruct CVariant) 2018-06-18 03:04:37 +02:00
Klaus Basan
3f67900b65 Formatter with improved NULL value handling 2018-06-13 14:00:14 +02:00
Klaus Basan
532adef747 Ref T270, some formatter improvements
* return info about wrong type in string formatter
* style
2018-06-13 13:59:41 +02:00
Klaus Basan
1f9f148519 Status message fix, copy timestamp in assigmnet operator
* the timestamp of status message was not copied, so every time a status message was sorted or otherwise assigned the ts got lost or wrongly assigned.
* this meant the log messages were in wrong order, leading to very confusing results in the log screen or file.
* also added new timestamp formatter
* new function "BlackMisc::CVariant displayRole(const PQ &pq) const" which can be used if the PQ is already available
2018-05-12 21:40:27 +02:00
Klaus Basan
cb1e213c64 refs #849, new column formatter for integer 2017-01-10 23:46:51 +00:00
Klaus Basan
c94584a19f Removed redundant speed formatter, use existing CSpeedKtsFormatter
CAircraftSpeedFormatter renamed to CSpeedKtsFormatter in same step
2017-01-10 23:46:16 +00:00
Mathew Sutcliffe
3c40c1026e refs #802 Fixed internal compiler errors with Clang on Windows. 2016-12-13 19:00:43 +01:00
Klaus Basan
993a0ebbe9 View / model fixes / improvements
* allow upfront checking of formatter roles
* selection mode menus adjusted (data approach no longer worked with CSlot)
* removed unused style sheet parts
* minor View/Model tweaks/formatting
2016-06-15 00:11:18 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00: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
563f71416e Missing override 2016-01-28 16:32:07 +01:00
Klaus Basan
1b46e0400c refs #544 doxygen 2015-12-12 04:47:18 +00:00
Klaus Basan
7100072820 refs #452, added color formatter for models 2015-11-19 20:59:32 +00:00
Klaus Basan
e7f65ba0b6 refs #395, GUI for simulator settings
* improved formatting of aircraft views
* extended settings for render restrictions (such as max. aircraft, max range ...)
* connected new signal / slots in runtime
* Doxygen / formatting
2015-05-12 21:03:38 +01:00
Klaus Basan
6570a0c966 Minor tweaks:
* Altitude formatter for GUI
* borders for CDockWidget
* homebase for ATC
2015-05-12 21:03:31 +01:00
Klaus Basan
3300b1ad9b refs #395, added isInRange to ATC stations
* use null as default values for some members to detect those are not yet set
* used simplified bool formatter for views
2015-05-12 20:46:41 +01:00
Roland Winklmeier
a3cfcf58c8 refs #403 add BlackGui shared library build 2015-05-05 21:34:30 +02:00
Mathew Sutcliffe
2363fab8c1 refs #396 move Blackmisc PQ classes into subfolder 2015-04-07 19:22:30 +02:00
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +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
53078cc8ae refs #368, improved column handling in views
* columns can be marked non-sortable
* alternative column for sorting
* checkable column formatters
* moved functions to cpp file
2015-01-24 01:15:35 +01:00
Mathew Sutcliffe
f80d7e27d1 refs #247 Using CVariant in blackgui. 2014-12-13 01:42:00 +00:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
9567d1aedf refs #319, added column formatters
* Specialized formatters (e.g. for bool, for PQs etc.) allow specialized look and feel for each column
* Fixed isValidComFrequency used for formatters
* Changed models to use formatters
* Outdated propertyByIndexAsString methods removed
* During the above tasks: fixed override keyword in some places
* Column tooltips
* refs #323, wrong column name fix
2014-09-09 20:07:12 +02:00