Commit Graph

1641 Commits

Author SHA1 Message Date
Klaus Basan
4da3309226 Fix of crash in installer (crashdump)
Since we use the model set component also in the launcher, we need to avoid nullptr calls
2018-02-16 12:13:43 +01:00
Klaus Basan
71de1bf02a UI improvements installer/update info 2018-02-16 12:13:41 +01:00
Klaus Basan
8dc25fbad7 Allow to alter model set simulator in pilot client
* selector can be read only
* functions in context to obtain model set from loader/matcher, this will not be used when a plugin driver is present
* adjusted UI
2018-02-13 03:57:46 +01:00
Klaus Basan
9009045dd0 Ref T249, using FSC server as obfuscated server
Only show in local builds
2018-02-11 19:47:01 +01:00
Klaus Basan
3307560db9 Formatting private slots -> private 2018-02-11 19:46:59 +01:00
Klaus Basan
b0f7e9e8f6 Ref T246, added distributor selection to 1st model set 2018-02-10 21:57:45 +01:00
Klaus Basan
9ad8b9b980 Ref T246, distributor filter
Needed because we want to create a 1st model set by distributors per simulator
2018-02-10 21:57:43 +01:00
Klaus Basan
90041852d9 Ref T246, improved selection detection for simulator selector 2018-02-10 21:57:40 +01:00
Klaus Basan
117e8996bb Formatting, minor UI tweaks
* minor renamings in simulator selector
* simplified namespaces

Ref T246
2018-02-10 21:57:38 +01:00
Klaus Basan
4f63c04225 Ref T246, 1st version of model set wizard
* dialog for CDbOwnModelsComponent / CDbOwnModelSetComponent
* qss
* added page in wizard
2018-02-10 21:57:36 +01:00
Klaus Basan
ccd7c477e2 Ref T246, unified signal handling in model caches and loader
* setSimulator as checked, simulatorChanged as unchecked version
* some renamings
* made some functions private, turned public slots -> public
2018-02-10 01:33:48 +01:00
Klaus Basan
d64ddfa8af Ref T246, functions to access values of model loader/models component
* direct access to simulator settings
* load models for simulator
2018-02-09 04:44:04 +01:00
Klaus Basan
44b2e27d11 Ref T246, use different caches to remember single/multi simulator selections
* selector UI "can remember"
* different caches
2018-02-09 04:44:02 +01:00
Klaus Basan
71a51bbd66 Ref T246, renaming and using renamed dialog in CDbOwnModelSetComponent 2018-02-09 04:44:00 +01:00
Klaus Basan
5990120e54 Ref T246, allow empty string for simulator directory 2018-02-09 04:43:58 +01:00
Klaus Basan
bd7ffb5ea2 Ref T246, renamed dialog to CDbOwnModelSetFormDialog 2018-02-09 04:43:56 +01:00
Klaus Basan
887d1ec401 Ref T246, some upfront formatting 2018-02-09 04:43:54 +01:00
Klaus Basan
10f942e702 Formatting, minor tweaks 2018-02-09 04:43:45 +01:00
Roland Winklmeier
c286635e76 Further CRawFsdMessageComponent UI improvements
* Replace CheckBox with Pushbutton and Statusbar to enable/disable
* Add Clear button to clear all messages in display and buffer
* Keep all widgets always enabled

ref T240
2018-02-04 09:00:11 +01:00
Klaus Basan
89f98a3137 Ref T240, added push_backMaxElements in CSequence 2018-02-04 08:59:45 +01:00
Klaus Basan
17e1d42da1 Ref T240, formatting 2018-02-04 08:59:42 +01:00
Klaus Basan
80f5d9b595 Ref T240, use ITimestampBased / ITimestampObjectList
* using the existing base classes (interfaces) gives you plenty of useful utility functions
* hint: we do not init with current timestamp as default as this is relatively slow
2018-02-04 08:59:39 +01:00
Klaus Basan
16b49cfa46 Ref T226, completer improvements
* a location can home multiple airports
* use a combined name for that reason in completers
2018-02-04 08:59:30 +01:00
Klaus Basan
e9e0ae1ff4 Ref T241, Ref T243 formatting and minor tweaks
* unified how we write thread_local const
* ASSERTs
* formatting
2018-02-04 08:53:48 +01:00
Klaus Basan
74098cffa8 Ref T226, using airport completer 2018-02-02 21:34:44 +01:00
Klaus Basan
2da12e2dd8 Ref T226, airport completer
* a bigger one with name
* same as dialog
* smaller one, using the dialog
2018-02-02 21:34:42 +01:00
Klaus Basan
37ff498e7e Ref T226, country selector 2018-02-02 21:26:54 +01:00
Klaus Basan
bb65b7c280 Ref T226, renamed to swiftDbAllDataRead 2018-02-02 21:26:52 +01:00
Klaus Basan
5aad426ced Ref T239, removed "QTimer m_xxx { this };" pattern
* not in worker classes as parent might have a relevance there
* in UI classes it is useless
2018-02-02 21:26:50 +01:00
Roland Winklmeier
b12002caa2 Improve the performance and usability of the raw FSD message display
* Replaced QListView with QPlainTextEdit
* Added filter options for packet type and text
* Option to globally disable/enable the feature. Default disabled

Maniphest Tasks: Ref T240
2018-02-02 21:26:25 +01:00
Klaus Basan
9781f106ad Minor UI fix (renaming) 2018-01-30 23:34:08 +01:00
Klaus Basan
f3afde76ff Ref T237, init/read from JSON files
* multi format compatible (automatically detect format)
* flag if cache values shall be overridden
* init from resource files (those are the files coming with the installer)
* automatically read in background if reader is (already) in its own thread (otherwise cache.set() ASSERT)
2018-01-30 20:35:32 +01:00
Klaus Basan
c6b942dc15 Fixes an issue reported by @rphohl that XSwiftBus is not found
* only download non-restricted versions
* utility functions to find non-restricted versions
2018-01-30 20:35:22 +01:00
Klaus Basan
27fb57ca39 Minor UI fix (wrap label) 2018-01-30 20:35:17 +01:00
Klaus Basan
1f1ea1de5b Minor Ui adjustments ATC component 2018-01-30 20:35:14 +01:00
Klaus Basan
5f6f822ccd Ref T231, Ref T236, Ref T238 help for "dot commands" will be refreshed
* an new simulator can cause a changed help
* we update the help based on context signals now
2018-01-30 20:35:00 +01:00
Klaus Basan
9a862cab43 Ref T231, Ref T236, Ref T238 allow to trigger logging from models view
* uses the feature to send "dot commands" to contexts
* also uses the renamed developer flag from CApplication
2018-01-30 20:34:57 +01:00
Klaus Basan
301eb79eca Renamings and adjustments of developer flag 2018-01-30 20:34:50 +01:00
Klaus Basan
7809734d36 Allows to use a scale factor on high DPI screens 2018-01-30 20:34:43 +01:00
Klaus Basan
b5106167d9 Renaming 2018-01-30 20:31:23 +01:00
Klaus Basan
296b04d8ea Ref T231, Ref T232 show messages im simulator component 2018-01-30 20:31:15 +01:00
Klaus Basan
ddaba89e2d Ref T214, demoted "route missing" to warning 2018-01-30 20:30:54 +01:00
Klaus Basan
c39d4f66a3 Setting parent object for timers and formatting 2018-01-30 20:30:39 +01:00
Klaus Basan
3521bb5b0b Ref T231, Ref T232 use CStatusMessagesDetail in simulator component in order to display "failed remoted model adding" 2018-01-30 20:30:37 +01:00
Klaus Basan
cbcafe2021 Use CStatusMessagesDetail in log component 2018-01-30 20:30:33 +01:00
Klaus Basan
9bbef8cc28 Component to show status messages and details, encapsulated so it can be used elsewhere
* originally part of log component
* now independent component

Motivated by Ref T231, Ref T232
2018-01-30 20:30:30 +01:00
Klaus Basan
ecf84eebf0 Some filter dialog / status message UI size adjustments 2018-01-30 20:30:27 +01:00
Klaus Basan
5d56c295f8 Dtor in view base 2018-01-30 20:30:23 +01:00
Klaus Basan
af75c88784 Cockpit UI improvements
* private slots -> private
* Stylesheet update for readonly
2018-01-30 20:30:18 +01:00
Klaus Basan
50eb93cf40 Ref T229, do not display a directory if same as default
* component: made overlay compliant
* sim.dir can be empty on a machine where no simulator is installed
* formatting
* utility functions
2018-01-30 20:30:12 +01:00