Commit Graph

39 Commits

Author SHA1 Message Date
Klaus Basan
3fb0685d53 Minor tweaks, formatting 2018-01-14 18:46:47 +01:00
Klaus Basan
63fbeecc00 Ref T192, formatting and minor tweaks 2017-12-21 19:46:33 +01:00
Roland Winklmeier
f53ec46d20 Change the operating system name from OSX to MacOS everywhere
Summary:
- Changed the name in all build artifacts
- Everywhere in C++

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Maniphest Tasks: T205

Differential Revision: https://dev.swift-project.org/D69
2017-12-06 22:50:19 +01:00
Klaus Basan
f2820ba5a5 Style sheet improvements
* button clicked shown in different style (better user experience)
* menu toopen main style sheet
2017-09-27 02:59:55 +02:00
Klaus Basan
a9198e4f13 Ref T103, Unified naming of directory functions
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Klaus Basan
c0fb236b25 Ref T30, more utility functions for style sheets 2017-09-24 19:49:43 +01:00
Klaus Basan
0c7ead7977 Ref T30, allow to set font as string (stylesheet string) 2017-09-24 19:49:41 +01:00
Klaus Basan
e07e87cd9f Ref T34, review item 2017-06-18 22:51:12 +02:00
Mathew Sutcliffe
d5ab73e1bc Replace QRegExp with QRegularExpression
Reviewers: kbasan, msutcliffe

Reviewed By: kbasan, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D11
2017-05-05 23:08:35 +01:00
Klaus Basan
ed132add45 Ref T34, renamed function as requested by RW 2017-05-05 22:39:59 +01:00
Klaus Basan
ce8e5c1f10 Ref T34, OS specific stylesheets
e.g. fonts.mac.qss / default is fonts.qss
2017-04-21 19:47:44 +02:00
Klaus Basan
7907dff967 refs #935, refs #936 utility function to set OS specific properties
this can be used in qss selectors
2017-04-19 19:31:22 +01:00
Klaus Basan
4e381a048f refs #740, GUI settings in own component
* used in client/mapping tool
* reset font possible
2016-08-26 21:05:46 +01:00
Klaus Basan
f9c36d0a99 Improved automatic reloading of altered stylesheets 2016-07-14 18:49:31 +02:00
Klaus Basan
635410857e refs #419, reviewed style sheet paintEvent code
* removed for QWidget
* added for QDialog
http://stackoverflow.com/questions/37952348/enable-own-widget-for-stylesheet
2016-06-25 16:00:30 +02:00
Klaus Basan
ddace24c35 refs #512, removed ini file for offsets 2016-06-08 18:20:54 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
0ba46360dd Move sounds and stylesheet directory configuration to buildconfig.h.in
refs #615
2016-05-20 01:36:44 +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
22e259afe3 Fixed font settings (issue as reported by RW via slack)
* font change triggers style sheet reload
* now font settings are stored in copied qss file, so original file can be restored
2016-04-11 20:19:52 +02:00
Klaus Basan
c36028ca9c refs #485, Restricted<T> 2016-03-18 01:10:35 +00:00
Klaus Basan
18a907086d refs #485, moved stylesheet utility into CGuiApplication 2016-03-18 01:10:32 +00:00
Klaus Basan
63e1695e3b Icons, mainly for new launcher ( refs #507 )
Adjusted style sheets (qss) and resource files
2015-11-19 21:07:39 +00:00
Mathew Sutcliffe
e4adad45d0 refs #482 Rationalized the copying of files from source tree to build tree. 2015-11-19 21:02:47 +00:00
Klaus Basan
1bb0afdedd refs #452, style sheet utility
* view port enabled style sheet usage
* concat styles
2015-11-19 20:59:23 +00:00
Klaus Basan
091c61c909 refs #446, style sheet adjustments
* split up style sheets
* prepared stylesheet, also include placeholder for forthcoming data GUI
2015-11-19 20:57:13 +00:00
Roland Winklmeier
4ed0b6a54f refs #429 Rename swiftcorectrl to swiftcore 2015-05-25 16:09:36 +02:00
Roland Winklmeier
b03448c89b refs #412 swiftcorectrl 2015-05-21 01:37:45 +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
96434928fe refs #400, GUI after Qt 5.4.1 migration
* ini file to complement style sheets (values changed in code)
* aircrafts -> aircraft
* some .h code to .cpp
2015-04-08 23:04:33 +02:00
Klaus Basan
269c65b578 As of workshop RW/KB, improved / fixed text messages
Also refs #351
* messages can be formatted with style sheet
* fixed: removed command from message
* added originator to command line
* msg parsing now in core
* using ITimestampBased for text messages and status messages
* allow to resize rows to content (view base)
* model / views for text messages
* removed old qt stylesheets
2015-03-20 17:10:58 +01:00
Klaus Basan
23d3ea3ec5 refs #368, filter for views 2015-01-24 01:15:32 +01:00
Klaus Basan
7123cad53a refs #347, allow to pass primitive enum 2014-11-30 00:57:11 +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
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Klaus Basan
98942a6395 refs #304, changed font settings
* QFontDialog is not working, as it is affected by the style sheets itself
* Added font settings to the GUI settings tab
* Added font color dialog for fonts
* Several utility methods
2014-08-14 01:28:22 +02:00
Klaus Basan
600ea2b803 Fixed several issues detected during testing / review (refs #304)
* MS report 1-5 https://dev.vatsim-germany.org/issues/304#change-1800
* Clang warning https://dev.vatsim-germany.org/boards/22/topics/1982?r=1997#message-1997
* Wrong indexes for dockable widgets, RW: https://dev.vatsim-germany.org/issues/304#note-13
* Fixed wrong offset in Fsuipc class
* Improved position handling for floating widgets opened 1st time
2014-08-05 23:32:11 +02:00
Klaus Basan
edf4a6b80e ref #304, reloadable style sheets 2014-08-05 23:31:49 +02:00