Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
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
1690c560b7 refs #883, added functions for fade in/out 2017-02-24 15:22:05 +00:00
Klaus Basan
2cc88d9c6a refs #751, overlay message for Login Component fixed 2016-09-02 19:47:17 +02: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
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
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
Klaus Basan
021530f2b5 refs #577, make read only checkboxes better readable
(by not disabling them, but using a little trick)
2016-02-05 18:00:23 +01:00
Klaus Basan
746985fa3c refs #507, adjustments for launcher
* renamed GUI enum to reflect where audio runs
* removed assumpted position, this is no longer possible as launcher is independet application
2015-11-19 21:07:50 +00:00
Klaus Basan
b1044e9844 refs #452 drag and drop enabled area
* label can be used as area to drop
* utility functions for drag and drop
2015-11-19 20:59:24 +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
08670c9e89 refs #446, moved common parts for GUI applications in a utility function
* for init
* for parser
2015-11-19 20:57:15 +00:00
Roland Winklmeier
a3cfcf58c8 refs #403 add BlackGui shared library build 2015-05-05 21:34:30 +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
Klaus Basan
206fb156d0 refs #368, GUI utility
* fixed CGuiUtility::replaceTabCountValue
* added CGuiUtility::mainApplicationWindowWidget
2015-01-24 01:15:24 +01:00
Klaus Basan
42a4e0b48b refs #347, CMainWindow for frameless main windows 2014-11-30 00:57:01 +01:00
Klaus Basan
c965fbb785 refs #335, style sheet fixes / improvements and support methods
style sheets:
* style sheets with background textures
* scroll area / toolbox style sheet fix
* floating dock widgets
* kept 1st version of stylesheets in backup directory
* removed maininfoarea stylesheet, no longer needed with fixed style sheet

code
* central paintEvent method to enable style sheets in derived widgets
* detect frameless windows, dynamic properties
2014-11-29 22:38:34 +01:00
Klaus Basan
ae0ef4283c Display number of table rows in tab
* countChanged event
* applied in components
2014-10-07 13:10:41 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Klaus Basan
18fe626db7 refs #304, reflect changes in components for GUI, GUI utility class to set main window position correctly 2014-08-05 23:32:02 +02:00