Commit Graph

1123 Commits

Author SHA1 Message Date
Klaus Basan
a0b5258346 refs #883, launcher can be started from the applications and navigator 2017-02-24 15:21:45 +00:00
Klaus Basan
368b955c66 refs #883, Kill button for overlay error messages
Example: swift pilot client started for core, but core not running. There is no way to stop the application as there are permanent errors.
2017-02-24 15:21:38 +00:00
Klaus Basan
14125bf030 refs #881, possible fix for duplicates in combobox 2017-02-24 15:21:33 +00:00
Klaus Basan
8741b66578 refs #881, minor formatting/improvements 2017-02-24 15:21:32 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Klaus Basan
a34be02e07 refs #617, CActionItem supports icon
* standard paths for applications
* support for Qt::DecorationRole
* QMap<QString, QPixmap> m_availableActions
* Constructor for icon only
* only leafs support actions
2017-02-24 15:20:54 +00:00
Klaus Basan
6a96d14baa Formatting, icon utility function, icon size 2017-02-24 15:20:52 +00:00
Klaus Basan
371ee82f1b Ensure tab index 0 is selected at startup 2017-02-24 15:20:51 +00:00
Klaus Basan
909ea08853 refs #617, fixed assert when there are no selected items 2017-02-24 15:20:50 +00:00
Klaus Basan
cf51a7efca refs #617, renamed ActionItem to CActionItem 2017-02-24 15:20:49 +00:00
Klaus Basan
372e2cf04b refs #617, ActionItem const correctness 2017-02-24 15:20:47 +00:00
Klaus Basan
d5a926bd4e Formatting 2017-02-24 15:20:46 +00:00
Klaus Basan
6ba1586a7d refs #617, QTreeView style (sheet) adjustments 2017-02-24 15:20:45 +00:00
Klaus Basan
74d608b5df refs #617, allow to use CGuiActionBindHandler with buttons
* used for weather enable/disable
* use actionBindWasDestroyed when corresponding BlackCore::CActionBind is destroyed
2017-02-24 15:20:44 +00:00
Klaus Basan
5be38086b8 refs #617, CGuiActionBindHandler to use QAction with hotkeys
* QMenu can be automatically turned into a list of CActionBind objects for hotkeys
* trigger QAction from hotkeys
2017-02-24 15:20:41 +00:00
Klaus Basan
eeaed099f0 Formatting, typos 2017-02-24 15:20:39 +00:00
Klaus Basan
f87a06f6d2 refs #617, naming conventions for UI 2017-02-24 15:20:38 +00:00
Klaus Basan
2b61213746 Reduced width of log component to avoid overflow 2017-02-24 15:20:36 +00:00
Klaus Basan
7e70662a29 refs #873, changed signal for selector in internal component 2017-02-24 15:20:35 +00:00
Klaus Basan
273427d3d9 refs #873, updated internals component
* can trigger request of parts
* opening logs
* update parts in UI from aircraft
2017-02-24 15:20:27 +00:00
Klaus Basan
3afead9f71 refs #873, UI improvements
* allow to set inner message frame factor (width/height)
* fixed aircrft selector to keep selection
2017-02-24 00:20:07 +00:00
Klaus Basan
ec23863d53 Formatting, QStringBuilder 2017-02-24 00:20:04 +00:00
Klaus Basan
34f3de0dfb Fixed missing info of own aircraft 2017-02-24 00:19:49 +00:00
Klaus Basan
5b3780543f Saving history of line edit for command line ("dot commands") 2017-02-24 00:19:26 +00:00
Klaus Basan
1967c82221 Formatting 2017-02-24 00:19:19 +00:00
Klaus Basan
cbbab3fa19 Minor GUI adjustments 2017-02-24 00:19:14 +00:00
Klaus Basan
1522c8175e Better model selection, much faster 2017-02-24 00:19:01 +00:00
Klaus Basan
af15929b30 refs #865, allow to enable interpolator/parts logging
* removed debug messages from interpolator
* added callsign to getInterpolatedParts / getInterpolatedSituation signatures
* config for logging via CInterpolationAndRenderingSetup::addCallsignToLog etc.
2017-02-24 00:18:56 +00:00
Klaus Basan
301db27945 refs #865, make log directory available for blackmisc 2017-02-24 00:18:52 +00:00
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Roland Winklmeier
d0cdae7356 Conditionally limit UI login modes in case no simulator is attached
Currently the logic to fall back to observer login, in case no
simulator is attached, is implemented in core. Apart from a log message
there was no clear feedback to the user what has happened.
With this commit, the pilot related login modes are disabled if no
simulator is attached. A tool tip explains the reason.
This is enabled only for shipped versions.

refs #872
2017-02-24 00:18:36 +00:00
Mathew Sutcliffe
1c7fb518ca Fixed broken link URLs in comments. 2017-02-24 00:18:16 +00:00
Roland Winklmeier
3addb44efd Fix typo 2017-02-24 00:09:27 +00:00
Roland Winklmeier
372e92072c Fall back to observer mode login in case no simulator is available
refs #860
2017-02-24 00:09:25 +00:00
Roland Winklmeier
2616f94f2d Define precipitation rate default unit to mm/h
There was a misalignment in precipitation rate units across the code.
GFS values are in kg m-2 s-1 which is equal to mm/s, but the default
unit seems to be mm/h in many weather documents.
2017-02-24 00:09:22 +00:00
Klaus Basan
265b6d33f0 refs #859, allow to trigger digest signal manually
* Useful if the input signal was just a bogus signal used to trigger
* Login component shows a use case
2017-02-24 00:09:11 +00:00
Klaus Basan
4e7144db08 refs #859, flight plan UI formatting and value update 2017-02-24 00:09:09 +00:00
Klaus Basan
5f2955916c refs #859, improved sending of ICAO code/callsign updates
* use digest signal
* restructured updateOwnAircaftIcaoValuesFromGuiValues / updateOwnAircraftCallsignAndPilotFromGuiValues
* also send change signal when login UI becomes invisible
2017-02-24 00:09:06 +00:00
Klaus Basan
8b9b540c22 refs #859, return bool flag if value was changed 2017-02-24 00:09:04 +00:00
Klaus Basan
61e7f23847 refs #858, todo review (demoted, commented) 2017-02-24 00:09:00 +00:00
Roland Winklmeier
1a6c7fa192 Add control button to activate and deactivate swift weather
- GUI changes
- Context and ISimulator APIs
- Refactored settings and static weather injection in CSimulatorCommon

refs #807
2017-01-10 23:47:39 +00:00
Klaus Basan
0a611890e8 refs #855, use Qt5 isSignalConnected feature to hide menus not used 2017-01-10 23:47:33 +00:00
Klaus Basan
5f7c3f0e9c refs #855, removed hiding where no longer needed 2017-01-10 23:47:32 +00:00
Klaus Basan
076fff417a refs #855, support for timeout in CEnableForViewBasedIndicator 2017-01-10 23:47:30 +00:00
Klaus Basan
02cbd8e00d refs #855, timeout support in view
* clear also hides indicator
* standard functions use timeout to hide indicator just in case something goes wrong
2017-01-10 23:47:29 +00:00
Klaus Basan
6a1130100e refs #855, load indicator timeout
* id for each displayed indicator
* timeout function can time out particular id
2017-01-10 23:47:28 +00:00
Klaus Basan
1177cd862a refs #855, re-center load indicator when resizing load overview 2017-01-10 23:47:25 +00:00
Klaus Basan
c2861b792c refs #855, re-center load indicator when resizing views 2017-01-10 23:47:24 +00:00
Klaus Basan
78c55170d6 #855, formatting 2017-01-10 23:47:23 +00:00
Klaus Basan
3939b0166f refs #853, JSON exception handling in view base class 2017-01-10 23:47:18 +00:00