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
Klaus Basan
d9aac6427b
refs #485 , renamed (CContextRuntime) to CCoreFacade
...
https://dev.vatsim-germany.org/issues/485#note-6
2016-03-18 01:07:58 +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
Mathew Sutcliffe
d35fc3f056
Fixed log filename based on the executable name instead of the human-readable application name.
2015-11-27 19:16:00 +00:00
Michał Garapich
1b06e15b61
refs #510 Remove underscores from all the source file names
2015-11-22 12:53:09 +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
4268f9c347
refs #473 , added help / version option for core and made help box info type
2015-11-19 21:06:41 +00:00
Klaus Basan
dda64d0879
refs #502 , cookie manager
...
* use authenticated user data objects in databaseauthentication
* shared threadsafe cookie manager across the QNetworkAccessManagers
* use cookie manager in existing readers
2015-11-19 21:06:22 +00:00
Klaus Basan
23b310ac9b
Formatting, typos
2015-11-19 21:06:11 +00:00
Mathew Sutcliffe
a7f8b54c43
refs #467 Log files should include debug messages.
2015-11-19 21:02:10 +00:00
Klaus Basan
b2d38d24e6
refs #452 Post merge: Fixed includes - without those compilation did not work at my (KB) place
2015-11-19 21:00:07 +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
Mathew Sutcliffe
af3775c8ea
refs #450 Changed path for log files in accordance with our new directory structure.
2015-11-19 20:58:12 +00:00
Roland Winklmeier
3e8b9dc0c9
Allocate CFileLogger on the heap instead of a local variable
2015-11-19 20:57:52 +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
Klaus Basan
f870fb3cf9
refs #312 , some minor adjustments:
...
* cpp check (Jenkins)
* init style sheet in navigator
* shorter names in JSON plugin names
2015-04-19 03:04:26 +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