Commit Graph

76 Commits

Author SHA1 Message Date
Klaus Basan
3daa0ef0cd refs #526, added removeIf/replaceOrAdd to viewbase 2016-01-28 16:31:32 +01:00
Klaus Basan
ac99f8b984 refs #560, adjusted subclasses for new menus/filters from previous step 2015-12-20 17:01:52 +01:00
Klaus Basan
9fcc846b7a refs #560, allow to load / save from view/model
* added load/save functions
* changed menu from multiple bool members to flag
* shortcut for save
* cleaned up filter dialog handling
2015-12-20 17:01:32 +01:00
Klaus Basan
72891f2443 refs #535, model view adjusted
* allows to drop entities
* using shortcut to stash
* updating selected rows only and return number of altered rows
2015-12-20 17:00:04 +01:00
Klaus Basan
24788b03c6 refs #535, made views drop capable
* drop base added
* and adjusted
2015-12-20 17:00:01 +01:00
Klaus Basan
1601ca62fd refs #535, updated aircraft model / view
* add functions to apply changes to selected objects
* allow to highlight models by their model strings
* Utility function to show which parts come from DB
* model strings can be obtained sorted/unsorted
2015-12-20 16:59:51 +01: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
Klaus Basan
1b46e0400c refs #544 doxygen 2015-12-12 04:47:18 +00:00
Klaus Basan
3d96e2e332 Shortcut for filter 2015-12-08 20:14:25 +01:00
Klaus Basan
2a10aa93ec Added extra mode for swift client mapping view 2015-12-08 20:14:23 +01:00
Klaus Basan
291c95160f Doxygen fixes refs #544 2015-12-08 20:14:17 +01:00
Klaus Basan
8e852b19ae refs #525, specialized model class for DB entities and improved funtions in view base class
* will allow to highlight entities
* nested custom menus
* moved displayAutomatically() menus in view base class
* fixed which menus are displayed for aircraft models
* also changed to QStandardItem model to see if this is causing any trouble (the real bigger changes will follow in #530)
2015-12-08 20:14:11 +01: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
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Klaus Basan
3acf085b92 refs #477, allow to detect an invisible dock widget parent by using CEnableForDockWidgetInfoArea for the view base
(by that I can tell if the parent dock widget is visible)
2015-11-19 21:04:37 +00:00
Klaus Basan
1b75f068be refs #488, allow to select items in views and clear the console 2015-11-19 21:03:31 +00:00
Klaus Basan
42304f640b refs #477, load indicator appears in wrong place.
A first improvement by re-centering it when view becomes visible.
2015-11-19 21:00:40 +00:00
Klaus Basan
2c91b3ada0 refs #452 models and views created
* for new value objects (e.g. distributor, ...)
* new modes are required (e.g. CStatusMessageListModel::Simplified)
* model filter allowing to filter models
2015-11-19 20:59:40 +00:00
Klaus Basan
25471730e3 refs #452 details textbox for logs
* details can be displayed en detail
* feature can be switched on/off via context menu
* signals in view to select message
2015-11-19 20:59:37 +00:00
Klaus Basan
f0fc1cba42 refs #452, views upgraded
* load indicator when performing long lasting operations
* custom menu can be injected (->menu delegate)
* resizing based on random elements (subset resized only)
2015-11-19 20:59:28 +00:00
Klaus Basan
fd8cd9a42a Formatting, fixed includes, minor tweaks 2015-11-19 20:59:06 +00:00
Klaus Basan
874f29098b refs #452, removed some classes which will be replaced by new classes
* CAircraftMappings -> will be replace by CAircraftModel
* CAircraftIcaoData aircraft ICAO data -> aircraft/airline ICAO code and livery
* CAircraft class no longer to be used, but CSimulatedAircraft
* removed corresponding GUI model classes / filters
2015-11-19 20:58:36 +00:00
Mathew Sutcliffe
f50400bd94 refs #457 Use cases for CWorker non-void tasks and thenWithResult(). 2015-11-19 20:58:24 +00:00
Roland Winklmeier
08a1de995a refs #454 #455 #458 Remove obsolete code 2015-11-19 20:58:06 +00:00
Klaus Basan
3e982b014f refs #445, preparation for data GUI
* improved finding of main window
* project -> version string
* location of application icon
2015-11-19 20:57:25 +00:00
Klaus Basan
b308014bc2 refs #445, models and views for new value classes
* livery
* distributor
2015-11-19 20:57:24 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Klaus Basan
e04ada3a7c refs #437, remove convertFromCVariant 2015-05-31 01:31:09 +02:00
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
f7158f17f9 Renamed aircrafts -> aircraft 2015-05-12 20:46:42 +01:00
Mathew Sutcliffe
5a91d761c2 refs #413 Breaking circular dependencies by moving mixin classes from valueobject.h to the files where they fit best:
* DBus mixins moved to dbus.h
* Json mixins moved to json.h
* Icon mixin moved to icon.h
* Comparison mixins moved to compare.h
* Hash and string mixins moved to blackmiscfreefunctions.h
* Index mixin moved to propertyindexvariantmap.h
* MetaType mixins moved to variant.h
* registerMetaValueType moved to variant.h
* valueobject_private.h renamed to variant_private.h
2015-05-12 20:37:59 +01:00
Roland Winklmeier
a3cfcf58c8 refs #403 add BlackGui shared library build 2015-05-05 21:34:30 +02:00
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +02:00
Klaus Basan
70670b74c6 refs #393, allow to highlight a certain aircraft by blinking
* signatures in contexts
* some specialized functions in aircraft list
* context menus in aircraft view
* default "blinking" implementation in driver common base class
2015-03-29 20:15:05 +02:00
Klaus Basan
59007187fe Fixed / tweaks as result of testing after merge with RW's stuff
* fixed wrong channel for received prviate messages
* allow to minimize window
* fixed sort coumn indicator for simulated aircraft
2015-03-20 17:11:42 +01: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
a50e45e451 Fixed updates of view when simulated aircraft values are updated.
* renamed view to simulated aircraft view
* utility function for bool -> on/off
2015-03-20 17:11:27 +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
3153c2012b As of workshop RW/KB
* Allow to "jump" to text message channel from ATC / aircraft
* changed timer connections for components to new SLOT syntax
* housekeeping:
** new function in network context for station by callsign
** refactored textmessage component, allow to select tab by slot
** wired up signal / slots in main GUI
** removed unused functions
** allow to select area and "myself" in infoarea
2015-03-20 17:11:14 +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
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
054db94997 Added an (experimental) tree view to ATC stations 2015-01-24 01:16:46 +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
23d3ea3ec5 refs #368, filter for views 2015-01-24 01:15:32 +01:00
Klaus Basan
f8464a6b03 refs #368, checkbox delegate for editable checkboxes 2015-01-24 01:15:28 +01:00
Klaus Basan
b26fa651ed Allow to select COM frequencies from ATC view (context menu)
* added functions in component to select COM frequencies
* changed views to contain ObjectType in template
* function to obtain selected objects in view base class
2014-12-29 23:02:00 +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