Commit Graph

37 Commits

Author SHA1 Message Date
Klaus Basan
68b01077ba Some dock widget formatting and ESC key can dock ("unfloat") widget 2018-01-14 18:46:38 +01:00
Klaus Basan
c39b8cd7fd Ref T30, use font shortcuts with dock widget
(instead of view)
2017-09-24 19:50:43 +01:00
Klaus Basan
82995ab690 refs #799, some minor adjustments 2016-12-13 18:59:49 +01:00
Klaus Basan
14f3eadc08 refs #766, refs #776 using object name as setting name %OwnerName%
* removed CDockWidgetsSettings (note Widgets, not Widget)
* goal: Use CDockWidgetSettings for all dock widgets

refs #684
2016-12-06 09:34:30 +01:00
Klaus Basan
d2aa2e9c1c refs #750, allow to reset window position of dock widget 2016-08-29 18:33:00 +02:00
Klaus Basan
862a84b661 refs #697, BlackGui settings renamed 2016-08-01 16:48:48 +02:00
Klaus Basan
c1179ed52b refs #680, now display CDockWidget context menus in views/info area 2016-06-23 20:13:34 +02:00
Klaus Basan
44bfcc2d9c Allow to reset dockwidget settings/margins
* changed name to object name
* reset to defaults possible
2016-06-23 20:13:33 +02:00
Klaus Basan
8b66f595d4 refs #512, changed dock widget to use settings
* allow to load from settings / save to settings
* removed outdated members / functions
* aligned naming of some functioss
2016-06-08 18:20:55 +02:00
Klaus Basan
436b60700f refs #512, added settings to dock widget for testing 2016-06-08 18:20:53 +02:00
Klaus Basan
67512d9d1f refs #512, GUI improvements
* menu widget to correct margin
* optimized stylesheet by adding dynamic properties for CDockWidget widgets (allows better qss selection)
2016-06-08 18:20:49 +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
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
Roland Winklmeier
a3cfcf58c8 refs #403 add BlackGui shared library build 2015-05-05 21:34:30 +02: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
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
78e4900243 refs #349, housekeeping
* formatting
* tweaks (such as changing to new log style),
* Doxygen
* int instead of qint
2014-12-13 13:17:31 +01: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
df5169ee98 refs #335, renaming
* the term "components" will only be used for GUI components (derived from QWidget/ QWidget derived classes) fron now on
* timer, and enabler classes renamed accordingly: CEnableForRuntime, CEnableForDockWidgetInfoArea, CUpdateTimer
* adjusted all dependent classes
2014-11-29 22:38:53 +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
5d6713032f Formatting, new icons 2014-10-07 13:10:17 +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
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
6d5461cff8 Formatting, headers, Doxygen 2014-08-05 23:31:53 +02:00
Klaus Basan
4fe8144c3d refs #299, dockable main info area 2014-08-05 23:31:50 +02:00