Commit Graph

64 Commits

Author SHA1 Message Date
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +02:00
Klaus Basan
6e2830c130 refs #432, originator list model + view 2015-05-28 23:57:24 +02:00
Klaus Basan
e695987fa2 refs #432 Doxygen, formatting, added new file types in *.pro
Minor tweaks:
* GUI infobar minimum size
* toogle lock protected
* removed unused function
* ASSERT_X
* object name
2015-05-28 23:57:14 +02:00
Klaus Basan
104122023c Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied 2015-05-17 20:29:06 +02:00
Mathew Sutcliffe
b65232b202 MS & KB workshop: ICAO class renamings. 2015-05-12 22:47:54 +01: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
Klaus Basan
7b1beaf02d Introduced hint for callsign to specify callsign type (aircraft? ATC?) by context.
Background: Pilots can login in with virtually any callsign like XXX_OBS, resulting in wrong interpretations (as OBS here is no ATC station).
2015-05-12 20:46:36 +01:00
Roland Winklmeier
a3cfcf58c8 refs #403 add BlackGui shared library build 2015-05-05 21:34:30 +02:00
Klaus Basan
5d819b30f5 Split of CSimulatorPluginInfo and CSimulatorSetup
refs #404, and discussion https://dev.vatsim-germany.org/issues/404#note-8

* Changed CSimulatorSetup to use CNameVariantPairList as data. The old version was an hack and had to go, CNameVariantPairList would allow complex types in the future and can be already shown in the GUI.
* CNameVariantPairList was improved slightly in the same step
* Functions to get CSimulatorSetup from driver / context
* Removed CSimulatorSetup data from CSimulatorPluginInfo
2015-04-11 02:09:31 +02:00
Michał Garapich
985a1caecf refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/ 2015-04-07 19:22:37 +02:00
Mathew Sutcliffe
2363fab8c1 refs #396 move Blackmisc PQ classes into subfolder 2015-04-07 19:22:30 +02: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
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +02:00
Klaus Basan
48dc360237 Removed old model/views for aircraft, now all with simulated aircraft
Updates of models in view now manually / automatic possible
Allow to reload models (in backend)
2015-03-20 17:11:38 +01:00
Klaus Basan
066515fb9b As of RW/KB workshop
* changed aircraft view to siumlated aircraft models / views
* functionality to change fast pos. updates (signals, slots)
* allow to request text message widget from aircraft component
2015-03-20 17:11:23 +01:00
Klaus Basan
79b3cf3cd3 Misc. imorvements as discussed in RW/KB worksho
* preparation for a context menu to send text messages from ATC/aircraft view
* preparation for context menu for fast pos. updates
* reverse ICAO lookup at login screen
* display fast updates / parts in GUI
* moved max- aircraft into settings
* made serverselection own component
2015-03-20 17:11:10 +01:00
Klaus Basan
72c796f92f As of workshop RW/KB
* fixed doxygen
* display parts flag
2015-03-20 17:11:02 +01: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
7201d09c9a refs #380, changed to CWorker for aircraft mapper
Removed QConcurrent
2015-03-20 16:34:18 +01:00
Klaus Basan
16042c1fb2 refs #369, gcc fixes 2015-03-20 16:31:41 +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
Klaus Basan
054db94997 Added an (experimental) tree view to ATC stations 2015-01-24 01:16:46 +01:00
Klaus Basan
50307c1182 Changed model to QAbstractItemModel 2015-01-24 01:16:38 +01:00
Klaus Basan
5ae8f074b8 refs #368, updated models to reflect changes
* update count with filter
* used alternative sortable columns
* added classes for SimulatedAircraft
* supporting filters
2015-01-24 01:15:43 +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
Klaus Basan
23d3ea3ec5 refs #368, filter for views 2015-01-24 01:15:32 +01:00
Klaus Basan
0b03ac1339 Hide model string for ATC clients 2014-12-28 22:20:43 +01:00
Klaus Basan
4a94a125f2 refs #358, GUI for installed / matched models
* model / view / component classes
2014-12-28 22:19:54 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Mathew Sutcliffe
f80d7e27d1 refs #247 Using CVariant in blackgui. 2014-12-13 01:42:00 +00:00
Mathew Sutcliffe
16e285cecd refs #247 Style. 2014-12-13 01:38:53 +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
44d0cd002b refs #288, adjusted server and network views
* aircraft settings are gone, move to login screen
* no selected server needed anymore
* marked outdated methods as deprecated
2014-11-30 00:55:09 +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
Klaus Basan
65c2ed9db4 refs #335, new icons, textures / placeholders 2014-11-22 19:13:59 +01:00
Mathew Sutcliffe
9b06bb1a1e Fix for CListModelBase::at to support classes with defaulted (C++11 §8.4.2/4) default constructors. 2014-11-16 13:51:54 +00:00
Mathew Sutcliffe
8664ed01a8 refs #325, used MS' worker class and removed redundant code
* contains "hacked-in demonstration of CWorker usage"
2014-10-07 13:10:50 +02:00
Klaus Basan
e745885906 refs #325, added some comments to simplify review 2014-10-07 13:10:47 +02:00
Klaus Basan
7304d8bd3e refs #325, name variant pair allows test for existing values
* equal value updates can be skipped
* equalsQVariant in CValueObject
* resizing parameter for views
2014-10-07 13:10:43 +02:00
Klaus Basan
f10e625b7f Added tooltips for some columns
* tooltips in views
* new helper method with tooltip
2014-10-07 13:10:42 +02:00
Klaus Basan
ae0ef4283c Display number of table rows in tab
* countChanged event
* applied in components
2014-10-07 13:10:41 +02:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
dc3eff1c1f refs #325, added async update member function to CListModelBase / CViewBase (+ resize modes)
* model:
** required a non templated base class for Q_OBJECT / slots
** added worker for thread, QConcurrent is not used as it does not work with template classes
* views:
** added cpp file for view base class
** added template parameter for container in views
** different modes how resizing will be applied
2014-10-07 13:10:28 +02:00
Klaus Basan
9e6a9a28cb Fixed bug in CListModelBase, avoid double sorting 2014-10-07 13:10:21 +02:00
Klaus Basan
2a11411bc0 refs #325 added sort flag for models / views, allow to update, but not to sort 2014-10-07 13:10:19 +02:00
Klaus Basan
5d6713032f Formatting, new icons 2014-10-07 13:10:17 +02:00
Klaus Basan
2d7fe607fe Fixed station list tooltips 2014-10-07 13:08:16 +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