Klaus Basan
2e6eac45bd
If using SHIFT and navigator button reset to screen center
2019-09-16 22:41:30 +01:00
Klaus Basan
e67a54f497
Ref T600, use CTRL/SHIFT for info area shortcut, not conflicting with some other shortcuts
2019-05-13 11:20:35 +02:00
Klaus Basan
9fd782af71
Ref T592, also fire signal after init and doube click of tab bar
2019-04-11 22:12:11 +01:00
Klaus Basan
097dfe0a24
Ref T592, no more dock widget float/dock to init, init explicitly and when first opened
2019-04-11 22:12:10 +01:00
Klaus Basan
c45592f9b5
Ref T592, minor tweaks
...
* style
* hide wip_CockpitComPanelShowHideBar initially
* sGui guarding
* function initialFloating() public so it can be explicitly called
2019-04-11 22:12:09 +01:00
Klaus Basan
9f0daa58ea
Ref T592, made dock widget related slots Qt::QueuedConnection
...
Rational: the widget emits floating but is not yet in full floating state, so with a direct connection we deal a bit too early with the widget.
Much more stable (hopefully) using queued connection, then all the handling is done if the window is really a floating window.
2019-04-11 22:12:09 +01:00
Klaus Basan
423a7dc6f8
Ref T592, minor GUI utility renaming and adjustments
2019-04-11 22:12:09 +01:00
Klaus Basan
28d9e98e38
Minor dock widget related tweaks
2019-04-11 22:12:08 +01:00
Klaus Basan
8223ddb710
Checks to avoid crash during shutdown
2019-04-11 22:12:03 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Mat Sutcliffe
f48a411f43
Using qOverload, removing static_cast workaround.
2019-02-22 20:34:53 +00:00
Mat Sutcliffe
6c05c5249d
When calling arg() on a QString constructed from a literal, use QStringLiteral.
2019-02-22 20:23:47 +00:00
Mat Sutcliffe
fc23a25ce1
Fixed clazy warnings: new-style signal/slot connect syntax.
2019-02-22 20:23:40 +00:00
Mat Sutcliffe
462172a87f
Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops.
2019-02-22 20:23:37 +00:00
Klaus Basan
86b8fd03be
Ref T447, info area
...
* force floating windows on top "allFloatingOnTop()"
* slots -> normal functions
* use BLACK_VERIFY to avoid "shutdown" in release build, possible reason for Ref T334
2018-12-11 09:04:53 +01:00
Klaus Basan
669a1ea995
Ref T452, fixed "invisible main area" after re-docking plus style
2018-12-07 02:37:13 +01:00
Klaus Basan
4ca6bb11aa
Style change signals used Qt::QueuedConnection
2018-07-31 01:43:38 +02:00
Klaus Basan
8df74ce0e6
Ref T259, Ref T243 split mapping info area, new interpolation info area
...
* new interpolation info area
* added interpolation and parts history to that area
* adjusted keypad and main swift GUI
2018-04-13 23:36:55 +02:00
Klaus Basan
b74652c94a
Ref T220, renamed some main window / widget functions
...
Make clearer if dealing with a window or widget
2018-01-14 18:47:03 +01:00
Mathew Sutcliffe
7328d48e59
Ref T184 Optimization: getSelectedDockInfoArea iterates over all info areas in linear O(n) time.
...
There is no need to do this in isSelectedDockWidgetInfoArea, as it can be checked in constant O(1) time.
This method was occupying a significant proportion of the CPU time of swift.
2017-11-12 13:48:00 +00:00
Mathew Sutcliffe
3e47bdcebc
Ref T184 Minor simplification.
2017-11-12 13:47:59 +00:00
Klaus Basan
878498cc9d
Ref T184, formatting
2017-11-12 04:21:56 +01:00
Klaus Basan
9a2c4573dc
Ref T184, only search in own direct children
...
https://swift-project.slack.com/archives/C04J6J76N/p1510427932000021
* CInfoArea::findOwnDockWidgetInfoAreas
* CInfoArea::findOwnChildInfoAreas
2017-11-12 04:21:55 +01:00
Klaus Basan
67711ba55e
Ref T184, private/protected slots -> private/protected
2017-11-09 04:42:23 +01:00
Klaus Basan
72d3756605
Ref T184, keep list of child widgets, do not always search
2017-11-09 04:42:22 +01:00
Klaus Basan
5612033924
Minor fixes, formatting, static const
2017-10-31 15:39:19 +01:00
Klaus Basan
d64bfcabce
Formatting, minor tweaks
2017-09-24 19:50:54 +01:00
Klaus Basan
4acf496aa4
Ref T30, remove conflicting CTRL 0 from infoarea shortcuts
2017-09-24 19:50:42 +01:00
Klaus Basan
abbcd18d82
refs #883 , shortcuts for dock widgets
2017-02-24 15:22:00 +00:00
Klaus Basan
d2aa2e9c1c
refs #750 , allow to reset window position of dock widget
2016-08-29 18:33:00 +02:00
Klaus Basan
e8aa873ea0
Formatting
2016-08-26 21:06:03 +01:00
Roland Winklmeier
fcac3b8137
Fix making a CInfoArea window visible during construction
...
refs #738
2016-08-26 21:05:25 +01:00
Roland Winklmeier
10810f5003
Explicitly use QTabBar scroll buttons
...
Even though QTabBar's property usesScrollButtons is set to true in Qt
Designer, it is not set explicitly in generated C++ code. The default
value is style dependent, which caused the scroll buttons to be visibile
everywhere except Mac OS/X.
refs #683
2016-08-26 21:05:09 +01:00
Klaus Basan
c1179ed52b
refs #680 , now display CDockWidget context menus in views/info area
2016-06-23 20:13:34 +02:00
Klaus Basan
8b66f595d4
refs #512 , changed dock widget to use settings
...
* allow to load from settings / save to settings
* removed outdated members / functions
* aligned naming of some functioss
2016-06-08 18:20:55 +02:00
Klaus Basan
ddace24c35
refs #512 , removed ini file for offsets
2016-06-08 18:20:54 +02:00
Roland Winklmeier
f4c2939253
Fix BlackGui header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-20 01:31:11 +02:00
Klaus Basan
18a907086d
refs #485 , moved stylesheet utility into CGuiApplication
2016-03-18 01:10:32 +00:00
Klaus Basan
bf9ea12a2b
Some fixes / tweaks found during testing
...
* clear setup URLs
* renamed to CInfoArea::connectTopLevelChanged()
* qss, margins for menu items
2016-03-18 01:10:01 +00:00
Klaus Basan
ef259539c5
Comment
2016-02-05 17:59:51 +01:00
Klaus Basan
d3487bb375
Event accept
2015-12-20 16:57:53 +01:00
Michał Garapich
584616de7a
refs #443 Added PluginDetailsWindow
...
* New variable in the json metadata file - simulator name
* Added PluginDetailsWindow that shows plugin info
2015-11-19 21:08:18 +00:00
Klaus Basan
6ca0d480d3
refs #452 adjusted GUI components to
...
* changed classes (e.g. CAircraft -> CSimulatedAircraft)
* changes signatures in contexts / providers
* minor fixes as renamed GUI widgets, asserts, paint event
2015-11-19 20:59:35 +00:00
Klaus Basan
f8c83ce2a3
some fixes
...
* as of slack discussion with MG, made area finding a bit more robust
* removed unused function in keypadarea
* added unit test subproject for GUI
2015-11-19 20:57:37 +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
6119c22c78
some fixes noticed during today's discussion around refs #302
...
* move hotkey settings in own GUI component -> easier adjustments
* some fixes for dock widgets when tab widget is shown without names (unrelated but found + fixed in same step)
2015-05-12 21:03:41 +01:00
Klaus Basan
91f0b99cc5
Fixes some issues with navigator widget to avoid Qt size warnings.
...
Remarks: Some but not all warnings are gone
2015-05-12 21:03:33 +01:00
Klaus Basan
464a8f4258
Some improvements and fixes refs #312 , Navigator (aka navigation bars)
...
* Added extra QFrame in CDockWidgets to have better control in stylesheez (CDockWidget -> QWidget -> QFrame)
* Adjusted stylesheets
* Force update of stylesheet when frameless changes
* Cascading status message in nested CInfoArea components
Floating frameless dock widget still not transparent
2015-04-19 03:04:22 +02:00
Klaus Basan
72aa072f30
refs #312 , Navigator (aka navigation bars)
...
* different dyn. property names for main window, dock window and infoarea
* dyn.properties for nested QWidgets
* style sheet for navigator
* utility function to delete layout
* added standard OS icons, some formatting in CICons
* actions in main window to be used in navigator
* main window becomes normal window when minimized so it is correctly displayed in Win taskbar
Remark: Frameless floating dockwidgets with rounded borders not yet working
2015-04-19 03:00:38 +02:00