Commit Graph

105 Commits

Author SHA1 Message Date
Klaus Basan
8f216f510f refs #576, improved filters
* initially clear filters
* fixed handling of simulator flags
* rename field
* changed order of * handling
2016-02-05 18:00:02 +01:00
Klaus Basan
6089dc1106 Formatting, comments 2016-02-05 18:00:00 +01:00
Klaus Basan
c54dd8560d refs #577, filter for aircraft model
* allow to filter by distributor
* filter by simulator on change
2016-02-05 17:59:59 +01:00
Klaus Basan
de4b07dc32 refs #576, tweaking view base
* renaming in view base (similar to Qt name rowCount)
* insert function for whole container
2016-02-05 17:59:54 +01:00
Klaus Basan
563f71416e Missing override 2016-01-28 16:32:07 +01:00
Klaus Basan
6facffc292 refs #573, access to mode (exclude/include)
* in model
* in value object
2016-01-28 16:32:06 +01:00
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
b4dc21eeb4 refs #568, improved validation and handling
* invalid models can be highlighted on stash
* selection mode can be toggled between single/multi selection (where applicable)
* color for highlighting can be set
* finetuning of menus
2016-01-28 16:31:50 +01:00
Klaus Basan
f607b72821 refs #568, specialized model class for models from DB
* support for keys
* renamed to listmodeldbobjects (unified with views)
* key type as template parameter
* adjusted derived classes
2016-01-28 16:31:41 +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
8aa449bc13 Some cleanup
* removed audio utils from blackmiscfreefunctions (we wanna give it up)
* comments
* formatting
2015-12-20 17:00:13 +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
4daf0453cb Some more fixes:
* sort order in compare was inverted
* correct message when model is empty
2015-12-09 04:03:21 +01:00
Klaus Basan
2a10aa93ec Added extra mode for swift client mapping view 2015-12-08 20:14:23 +01:00
Klaus Basan
ac44485ff8 Improved/fixed ICAO designator displayed in table view
(discovered during #refs #533 tasks)
2015-12-08 20:14:18 +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
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
de011dab1e Formatting / style 2015-11-19 21:07:28 +00:00
Klaus Basan
a33558987c Added swift header / formatting / fixed mixing registerMetatype 2015-11-19 21:06:38 +00:00
Klaus Basan
0c94922bd6 refs #501, compareByPropertyIndex (performance for sort) 2015-11-19 21:04:34 +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
Mathew Sutcliffe
f03b24022e refs #466 Resolved TODO item in GUI. 2015-11-19 21:01:04 +00:00
Mathew Sutcliffe
a0a503599f refs #479 Fixed mistake in CListModelBase::updateAsync. 2015-11-19 21:00:48 +00:00
Klaus Basan
3923336da8 refs #452 changes because of the 452 branch, but only possible after merge with master
Fixed a gcc (Jenkins) warning along with that
2015-11-19 21:00:10 +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
7100072820 refs #452, added color formatter for models 2015-11-19 20:59:32 +00:00
Klaus Basan
fb4baa0ef8 refs #452, model base class
* drag and drop support
* model can be marked as destoyed when view is about to be destroyed (to cancel pending actions)
2015-11-19 20:59:30 +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
Roland Winklmeier
5a82e2e6bf refs #454 Improve hotkey settings component 2015-11-19 20:58:02 +00:00
Klaus Basan
b308014bc2 refs #445, models and views for new value classes
* livery
* distributor
2015-11-19 20:57:24 +00:00
Klaus Basan
4fcf9efab7 Some fixes and formatting
* CTime::switchUnit(CTimeUnit::hms());
* Coordinate canHandleIndex protected
* copyright
2015-11-19 20:57:19 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Mathew Sutcliffe
47cac09e81 refs #437 Removed toQVariant and convertFromQVariant. 2015-05-31 17:21:17 +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
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