Commit Graph

28 Commits

Author SHA1 Message Date
Klaus Basan
18a907086d refs #485, moved stylesheet utility into CGuiApplication 2016-03-18 01:10:32 +00:00
Klaus Basan
431117e83b Support stylesheets in drop site widget 2015-12-20 16:57:54 +01:00
Klaus Basan
0d27351e11 Improved asserts/comments in dock widget class 2015-11-19 20:59:29 +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
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
Klaus Basan
e7c8c28252 refs #312 navigation bars, contributes also to #347
* allow to set/unset frameless mode in CDockWidget
* adjusted context menus
* adjusted style sheets
* ini settings for margins
* hidden info area to host floating widgets only visible when floating (allows to CDockInfoArea widgets)
* made some private slots non-virtual
2015-04-08 23:04:43 +02:00
Klaus Basan
425e034b19 refs #312, preparation for small navigation bars 2015-04-08 23:04:39 +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
bd2bf0d3ba refs #347, improvements in CInfoArea and CDockWidget
* renamed to toggleFloatingWholeInfoArea() for whole info area (in contrast to toggleInfoArea for individual areas)
* signal for changedWholeInfoAreaFloating (allows the main GUI to hide this area if empty)
* add. flag to understand m_resetedFloating
* prepared for frameless dock widget (not yet implemented)
2014-11-30 00:57:17 +01:00
Klaus Basan
facbefeeea Fixed some minor GUI issues
* resizing for floating widgets
* vertical policies
* menus for views
* margins for keypad
* using property mainwindowframeless in style sheet
2014-11-30 00:56:58 +01:00
Klaus Basan
8acf8e2ed0 refs #335, support for status bar for dock widgets
* status bar when floating
* improved info area status
* removed ui parts from infoarea
2014-11-30 00:54:28 +01:00
Klaus Basan
9a920367b2 Formatting 2014-11-30 00:54:15 +01:00
Klaus Basan
6e332683b1 refs #335, updated dock widget
* removed unused methods
* added toggleVisibility
* renamed slot
2014-11-30 00:52:34 +01:00
Klaus Basan
3c4fc76094 refs #335, renaming 2014-11-30 00:52:12 +01:00
Klaus Basan
6d01376e37 fixed paintEvent 2014-11-29 22:38:56 +01:00
Klaus Basan
b0f01a3ec6 refs #335, formatting, member initialization, new icons, remove redundant methods 2014-11-29 22:38:37 +01:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
b989dec74d Slightly changed ATC stations appearance, reload ATIS / load METAR 2014-10-07 13:08:23 +02:00
Klaus Basan
1ce7b11988 Formatting, renaming 2014-10-07 13:08:18 +02:00
Klaus Basan
936cc7c147 refs #325, as preparation to reduce loading I need to find out when an info area is visible.
Existing functions visible() / isHidden() are not suitable, as those represent "technical visibility".
We need a logical visibility telling us if the user can see / has selected the corresponing dockable widget.

* New base class info area (where dockable widgets are placed)
* Adjusted derived component (currently 1)
* Cleaned up old code in floatAllWidgets
2014-10-07 13:08:17 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +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
3c12cd7b30 refs #299, dockable widgets improvements
* preferred size instead of a auto adjustment for floatable widgets
* hack for hiding the tabbar (it still cosnumes space)
2014-08-05 23:32:09 +02:00
Klaus Basan
cb350d9086 Several fixes related to refs #304
* removed #include <QtDesigner/QDesignerExportWidget>
* correct targets swiftcore / swiftgui
* Annotated possible error of QFontDialog / style sheet compliance
+ Set sizePolicy to preferred due to RWs rewiew ("over sized drawing")
2014-08-05 23:32:07 +02:00
Klaus Basan
a78422bf3e Allow auto ajdust for floating widgets (via menu)
refs #299
2014-08-05 23:32:04 +02:00
Klaus Basan
c197ec8296 refs #304, style sheet support for dock widgets 2014-08-05 23:31:58 +02:00
Klaus Basan
4fe8144c3d refs #299, dockable main info area 2014-08-05 23:31:50 +02:00