Klaus Basan
ea7b3316c9
Flight plan fixes based on https://discordapp.com/channels/539048679160676382/539486309882789888/597133111272275970
...
* improved setting of combox value, fixed wrong text
* do NOT emit signals when same index
* getOwnCallsign
* do NOT used cache FPs for own aircraft
2019-09-16 22:40:18 +01:00
Klaus Basan
be3283305a
Ref T417, flight plan follow ups
...
* fixed eventfilter, only allow ASCII values, disable in read only mode
* set remarks values "from external"
* set SELCAL value
2019-09-16 22:40:13 +01:00
Klaus Basan
d84ec65271
Info about scaling and screen resolution
2019-09-16 20:30:01 +01:00
Klaus Basan
ad22d8b45b
Fixed "window on top"
...
* do not show navigator
* no longer "on top" does not mean "on bottom"
* Qt::QueuedConnection
2019-09-16 20:29:40 +01:00
Klaus Basan
242d6137e5
Avoid crash when accessing the main windget position
2019-05-13 11:20:47 +02:00
Klaus Basan
5c870a8404
Center wizard page and use "classic style"
2019-04-11 22:12:17 +01:00
Klaus Basan
423a7dc6f8
Ref T592, minor GUI utility renaming and adjustments
2019-04-11 22:12:09 +01:00
Klaus Basan
072bb34a32
Utility function to set button width for QWizard
2019-04-11 22:12:01 +01:00
Klaus Basan
53d5ed96af
Ref T573, elide text messages for labels
2019-04-11 22:11:46 +01:00
Klaus Basan
db0df3b00e
Ref T554, find parent dialog
2019-04-11 22:11:43 +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
e7582f2f3c
Move function-scope static QThreadStorage objects to namespace scope
...
to ensure destruction after all function-scope statics and avoid warning
"thread exited after QThreadStorage destroyed".
2019-02-22 20:35:15 +00:00
Klaus Basan
2de192600f
Reduced hard coded stylesheet values
...
* disabled hardcoded wizard pages style sheet
* adjusted style sheet
* fixed QMneu issue: https://stackoverflow.com/questions/53991839/qt-5-12-menu-items-with-unwanted-extra-space
* tagged remaining ones as "\fixme hardcoded"
2019-02-22 20:35:10 +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
333ea1b8df
Fixed clazy warnings: empty QStringLiteral.
2019-02-22 20:23:32 +00:00
Klaus Basan
08495a7854
Ref T447, utility function to set on top flag
...
Also a signal when "always on top" was triggered
2018-12-11 09:00:15 +01:00
Klaus Basan
2e68a52a42
Unhide password temporarily utility function
2018-12-10 03:41:15 +01:00
Klaus Basan
753511cafb
HTML overlay status message, smaller form of overlay message
...
* improved toHTML (with icon)
* overlay message
2018-11-22 19:54:51 +01:00
Klaus Basan
15a563058f
Ref T345, clear model function
2018-09-17 18:28:50 +02:00
Klaus Basan
6955e66641
Ref T357, support for overlay messages in QWizardPage
2018-09-17 18:28:36 +02:00
Klaus Basan
97cf9f4939
Ref T346, framless window “UpdateLayeredWindowIndirect failed” error preparations
2018-09-12 17:40:41 +02:00
Klaus Basan
947ca805bb
Ref T334, assert message
2018-09-09 02:54:38 +02:00
Klaus Basan
89ae16025e
Read only checkbox style
2018-08-01 03:06:19 +02:00
Klaus Basan
bf36a69be0
Stashed data file can be dropped to model view
...
* utility functions
* style changes / renamings / slots -> normal functions
* extra flag to enable file drop (and changed signatures)
* split view load function into 2 parts, one can use passed file parameter
2018-07-25 02:37:02 +02:00
Klaus Basan
afe4a09218
Formatting
2018-05-18 00:25:10 +02:00
Klaus Basan
2dc2d94b53
Ref T264, minor screen size adjustments
2018-05-12 21:40:15 +02:00
Klaus Basan
d5c9a29618
Check the min. window sizes
...
* on smaller screens makes sure the min.sizes are not exceeded
* normally not changing min.sizes
2018-01-30 20:30:08 +01:00
Klaus Basan
8e2a1b1b6f
Ref T225, utility function to force stylesheet update
...
* Needed when setting UI element to readonly, and stylesheet is different for readonly
* see https://stackoverflow.com/q/48141205/356726
2018-01-30 20:29:29 +01:00
Klaus Basan
89bd648021
Ref T220, some changes in gui utility
...
* use qreal font metrics
* pixel ratio
2018-01-14 18:47:17 +01: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
Klaus Basan
8885a938b6
Ref T220, font metric utility functions
...
Allows to obtain sizes based on number of characters
2018-01-14 18:46:52 +01:00
Klaus Basan
12667bca12
Ref T189, allow to set main window (injection)
...
In swift UI applications we init the main window explicitly, no need afterwars to search for it
2017-12-21 19:46:36 +01:00
Klaus Basan
3e6484cdda
Ref T189, CGuiUtility improvements
...
* only search for main window once
* static const QJsonObject for drag and drop
* formatting
2017-12-21 19:45:29 +01:00
Klaus Basan
eea6039d58
Ref T111, created aircraft parts form to be used in internals and dummy driver
2017-09-24 19:51:39 +01:00
Klaus Basan
66e17d62b6
Removed wrong assert
2017-04-17 23:58:34 +01:00
Klaus Basan
1690c560b7
refs #883 , added functions for fade in/out
2017-02-24 15:22:05 +00:00
Mathew Sutcliffe
51c3ae8c25
refs #815 Catch and handle CJsonException when calling convertFromJson.
2017-01-10 23:46:36 +00:00
Mathew Sutcliffe
429c6946c6
refs #800 Fixed making unnecessary copies.
2016-12-13 19:00:29 +01:00
Klaus Basan
a5aed9b346
GUI improvements found during #707
...
* logs only screen in core as default
* find top window, only use Qt::WA_TranslucentBackground on top level (Qt 5.6.1)
* correct presize when insert
* resize ATC when first station is added
2016-07-14 18:49:25 +02:00
Klaus Basan
6650f18e57
refs #693 , GUI dialog when application closes
2016-07-01 14:19:35 +02:00
Klaus Basan
47ae35a30a
refs 419, improved pilot client navigator
...
* added setting and allow to restore/save state
* allow to set margins
* fixed style sheet
* moved margin function to utility
2016-06-25 16:00:31 +02:00
Klaus Basan
1fd645fce4
Fixed masking issue
...
(failed when neither on top nor on bottom was set)
2016-06-15 00:11:14 +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
a9c6fe2036
refs #640 , find COverlayMessagesFrame in widget hierarchy
2016-05-05 20:49:22 +02:00
Klaus Basan
4b621bcb1a
refs #634 , find parent tab widget
2016-04-11 20:16:21 +02:00
Roland Winklmeier
d379f14133
Introduce build config template buildconfig.h.in
...
refs #625
2016-03-31 17:12:01 +02:00
Mathew Sutcliffe
a1861c69f0
refs #624 Some more occurrences of constexpr.
2016-03-22 16:02:53 +00:00
Klaus Basan
bcb00b1b91
refs #608 , generic menus are now available via CGuiApplication and don`t have to be redefined over and over again
2016-03-18 01:10:04 +00:00
Klaus Basan
fb046ae1fb
refs #485 , moved central GUI functionality to sGui
...
* allow to send status message to main window (from everywhere)
* Use sGui::changedStylesheet where possible
* message when model is stashed
* improved application startup
2016-03-18 01:09:11 +00:00
Klaus Basan
158efe819a
refs #485 , first version of a Gui/Core application class
...
Also specialized GUI application class for standard GUI
2016-03-18 01:08:02 +00:00