Commit Graph

25 Commits

Author SHA1 Message Date
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
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
117862e756 Ref T270, added CVariant long long functions and used those in formatter 2018-05-26 21:19:22 +02:00
Klaus Basan
6c50c4ea72 Formatting, minor tweaks 2018-05-12 21:40:23 +02:00
Klaus Basan
9eff387207 Removed deprecated funtions and changed code to use new functions 2017-01-10 23:47:10 +00: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
ecb4694c7f refs #535, updated viewbase and formatters
* Fixed wrong masking
* changed signal for model
* update selected models
* directly set object in model
2015-12-20 16:59:30 +01:00
Mathew Sutcliffe
f03b24022e refs #466 Resolved TODO item in GUI. 2015-11-19 21:01:04 +00:00
Klaus Basan
7100072820 refs #452, added color formatter for models 2015-11-19 20:59:32 +00:00
Klaus Basan
e04ada3a7c refs #437, remove convertFromCVariant 2015-05-31 01:31:09 +02: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
Klaus Basan
0ab755d510 refs #396 subfolders and renamed callsign list to callsign set
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +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
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
Klaus Basan
65c2ed9db4 refs #335, new icons, textures / placeholders 2014-11-22 19:13:59 +01:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
983a8d5d30 Using QMetaType::Type instead of QVariant::Type
Auto as per review of refs #319
2014-09-09 20:07:13 +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