Klaus Basan
4e2a01c1e4
refs #791 , adjusted own aircraft context
...
* function for default model and situation in context (so they can be reused as in login component)
* use CDatabaseUtils::consolidateOwnAircraftModelWithDbData for lookup
2016-12-06 09:34:40 +01:00
Klaus Basan
c57a9e2e5b
Fixed reload all DB data issue reported by MS on slack
...
* use triggerReloadFromDb
* improved documentation
MS report:
`AllDbEntities` should be `AllDbEntitiesNoInfoObjects` in `CDataInfoAreaComponent::requestUpdateOfAllDbData`?
Otherwise it triggers assert `!whatToRead.testFlag(CEntityFlags::InfoObjectEntity)` in `CWebDataServices::triggerRead`.
2016-12-06 09:34:32 +01:00
Klaus Basan
1678ca8919
refs #780 , improved model string completion
...
* added signatures for completer string (when send via context size matters)
* support of all instaled models in completer
* added BLACKMISC_EXPORT in model cache classes
2016-12-06 09:34:31 +01:00
Klaus Basan
c938e2b961
refs #780 , allow to reset changed rendered aircraft
2016-12-06 09:34:26 +01:00
Klaus Basan
44fcba296b
ref #780 , streamlined mapping component
...
* remove a lot redundant slots
* renamed to rendered aircraft in code
* also use aircraftRemoved signal
2016-12-06 09:34:23 +01:00
Klaus Basan
99538dd2c2
refs #780 , signal installedAircraftModelsChanged dangling
...
* discovered during testing, signal is not used (since we now use model set)
* renamed context signal to "modelSetChanged"
* prepared context for message settings
2016-12-06 09:34:21 +01:00
Klaus Basan
311a613494
refs #768 , use new tooltips in login comment
...
(plus some minor adjustments)
2016-12-06 09:34:17 +01:00
Klaus Basan
847348cbe0
refs #768 , model string in login component is supposed to be empty without simulator
2016-12-06 09:34:13 +01:00
Klaus Basan
8c282a33bf
refs #786 , adjust matcher log to also support matching messages
2016-12-06 09:34:12 +01:00
Klaus Basan
514bcdd055
refs #786 , follow up / corresponding adjustments based on context changes
...
* removed reload models menu item
* changed to renamed functions
2016-12-06 09:34:11 +01:00
Klaus Basan
4a91cb9503
refs #780 , adjusted matcher log component`s UI
2016-12-06 09:34:03 +01:00
Klaus Basan
86b8230bf7
refs #780 , encapsulate model string completer in class
...
* use it in mapping component
* support DB, own model set and installed models for completion
2016-12-06 09:34:02 +01:00
Klaus Basan
67f5b38391
UI finetuning and minor code formatting
2016-12-06 09:34:01 +01:00
Klaus Basan
cdea8cff95
refs #780 , fixes login/flightplan preset
...
* empty airline is valid
* sync with flightplan (new signal to indicate changed login values)
* better preset of own model
2016-12-06 09:33:57 +01:00
Klaus Basan
492649c061
fixes "unable to login", discovered during #780 ,
...
* fixed bootstrap file
* improved timeout of connect, now in single static function
* some minor tweaks
2016-12-06 09:33:56 +01:00
Klaus Basan
9d51ee5bc8
refs #748 , further airport from DB follow up fixes
...
* Ignore mode, not all applications need to load everything (mapping tool no airports)
* removed signal in airport reader which is already in base class
* added "virtual" keyword
* fixed another syncronize typo
* added allDbEntiiesUsed() to also reflect the config (ignore flag)
* ensure allSwiftDbData are signaled correctly even with ignore flag
2016-12-06 09:33:54 +01:00
Klaus Basan
34a68ca336
refs #748 , added airports in cache overview UI
2016-12-06 09:33:45 +01:00
Klaus Basan
7279772cab
refs #768 , changes to QSet<QString>
...
* based on review https://dev.vatsim-germany.org/issues/768#note-5
* changed a few signatures to QSet<QString>
2016-12-06 09:33:42 +01:00
Klaus Basan
ea17b2bb14
Minor Ui adjustment, giving DB login component a bit more space
2016-12-06 09:33:37 +01:00
Klaus Basan
7e91ef8a38
refs #768 , renamed flag name to better represent its meaning
2016-12-06 09:33:32 +01:00
Klaus Basan
34d74904ff
Minor fixes
2016-12-06 09:33:28 +01:00
Klaus Basan
6322c6d302
refs #768 , login component
...
* opens wizard when a model is unknown
* now uses new completers
2016-12-06 09:33:26 +01:00
Klaus Basan
0c5ea48463
refs #768 , wizard allowing to map models from pilot client
...
* step by step guiding thru mapping steps
* single model write function in writer
* adjusted stylesheet
2016-12-06 09:33:25 +01:00
Klaus Basan
592e330278
refs #768 , authentication component improved
...
* access to user object
* show database name in UI
* init UI with user object at startup
2016-12-06 09:33:24 +01:00
Klaus Basan
80bbed96d4
refs #768 , allow to access view and filter of components
...
(required in wizard)
2016-12-06 09:33:23 +01:00
Klaus Basan
dfcde1158e
refs #768 , allow to clear log component
2016-12-06 09:33:21 +01:00
Klaus Basan
2d30b0b8e1
refs #768 , adjusted GUI components to previous changes
...
* such as changed completers
* also minor typo fixes, formatting
* removed outdated qss
2016-12-06 09:33:20 +01:00
Klaus Basan
91167ae2db
refs #768 , reset tab of settings component
2016-12-06 09:33:19 +01:00
Klaus Basan
a3be42f0c3
refs #768 , model form as combined form of livery/distributor and aircraft ICAO
2016-12-06 09:33:17 +01:00
Klaus Basan
1152502721
refs #768 , made color search a QFrame
...
* color search is a simple QFrame
* the dialog now uses this QFrame color search
* Rational: Color search can also be used in other components
2016-12-06 09:33:14 +01:00
Klaus Basan
4c6bb6e3fd
refs #768 , return DB keys as set
2016-12-06 09:33:13 +01:00
Klaus Basan
93f0e6582b
refs #768 , improved selectors
...
* added focus proxy
* using &QLineEdit::editingFinished as signal (changes value also when focus is lost)
* use enum to set how values are displayed
* search for DB values by leveraging the smart selector functions
* added isSet functions
* minor renamings/formatting
2016-12-06 09:33:10 +01:00
Klaus Basan
ac331d1d4f
refs #768 , allow to clear message form
...
(also fixed wrong reference to resources and deleted unused blackgui resources)
2016-12-06 09:33:09 +01:00
Michał Garapich
281b6d11a6
refs #748 Make airport completer work
...
* fixed typo in CWebDataServices
* trigger CAirportDataReader::dataRead() when read from cache, too
* make AirportReader part of AllSwiftDbReaders
* fixed typo in CLoginComponent
2016-10-17 14:34:28 +01:00
Roland Winklmeier
95beb61518
Fixed memory leak detected by valgrind
2016-10-17 14:34:22 +01:00
Klaus Basan
0f06468f9e
Minor renaming and UI fix
2016-10-17 14:34:19 +01:00
Klaus Basan
74173a734e
refs #768 , fixed reverse lookup on login page (model changes in SIM are reflected here)
...
* use reverse lookup function
* complete model when web services have read the DB data (before that no reverse lookup is possible)
* use new model changed signature
Remark: Temp adjustement when signal allSwiftDbDataRead is sent. As soon #748 is ready needs to be changed to include airport entities
2016-10-17 14:34:17 +01:00
Klaus Basan
501bea0960
refs #743 , adjusted mapping component
...
* use cross simulator dialog (auto simulator stashing)
* added/use utility functions
2016-10-17 14:34:14 +01:00
Klaus Basan
be94da0048
refs #743 , adjustments of auto stashing dialog
...
* using BlackCore::IProgressIndicator
* log categories
2016-10-17 14:34:13 +01:00
Klaus Basan
260996b38c
refs #743 , dialog for cross simulator updates FSX-P3D-FS9
2016-10-17 14:34:11 +01:00
Klaus Basan
c4a61c275d
refs #743 , bottom bar to switch simulator for own models
...
(like for model set, not only by context menu but also by radio buttons)
2016-10-17 14:34:04 +01:00
Klaus Basan
09bd981e81
refs #743 , updated GUI labels / styles (minor changes)
2016-10-17 14:34:00 +01:00
Klaus Basan
7446ffcb80
refs #769 , use role bulk to decide if user can directly write models
...
* renamed role functions
* renamed buttons
* some formatting
2016-10-17 14:33:56 +01:00
Roland Winklmeier
fb3df51013
Move aircraft matching out of simulator plugins
...
All model matching will be done simulator independent in
CContextSimulator. The simulator specific part is kept in the model
set.
This also caused the signal modelMatchingCompleted to be renamed to
aircraftRenderingChanged, since the name wasn't accurate anymore.
Both getInstalledModels(), getInstalledModelsCount() and iconForModel()
were removed from the ISimulator interface.
refs #765
2016-09-19 16:30:05 +02:00
Roland Winklmeier
40d4c7774d
Make originators calling updateAircraftModel identifable
...
refs #765
2016-09-19 16:29:37 +02:00
Klaus Basan
03b5f9ce2c
refs #764 , improved JSON response with messages for JSON authentication service
2016-09-19 16:18:56 +02:00
Mathew Sutcliffe
004fb5c78a
refs #759 Work around crash when cache value update slot is called on a partially-constructed owner.
2016-09-19 16:18:52 +02:00
Klaus Basan
0846a8773a
refs #755 , validation also for "distributors from DB"
...
* validation now in webdataservices (so it can check against DB data)
* utility functions
2016-09-19 16:18:50 +02:00
Klaus Basan
610dba2028
refs #757 , materialize filtered data
...
* menu item / flag
* functions in view class
* some minor formatting
2016-09-19 16:18:48 +02:00
Klaus Basan
73d41d334b
refs #755 , removed context menu "Remove DB data" - same can be done with filter
...
(remark: Removing from model bears the risk the data are saved and the removed parts are eventually gone)
2016-09-19 16:18:44 +02:00