Commit Graph

44 Commits

Author SHA1 Message Date
Klaus Basan
d64bfcabce Formatting, minor tweaks 2017-09-24 19:50:54 +01:00
Klaus Basan
4acf496aa4 Ref T30, remove conflicting CTRL 0 from infoarea shortcuts 2017-09-24 19:50:42 +01:00
Klaus Basan
abbcd18d82 refs #883, shortcuts for dock widgets 2017-02-24 15:22:00 +00:00
Klaus Basan
d2aa2e9c1c refs #750, allow to reset window position of dock widget 2016-08-29 18:33:00 +02:00
Klaus Basan
e8aa873ea0 Formatting 2016-08-26 21:06:03 +01:00
Roland Winklmeier
fcac3b8137 Fix making a CInfoArea window visible during construction
refs #738
2016-08-26 21:05:25 +01:00
Roland Winklmeier
10810f5003 Explicitly use QTabBar scroll buttons
Even though QTabBar's property usesScrollButtons is set to true in Qt
Designer, it is not set explicitly in generated C++ code. The default
value is style dependent, which caused the scroll buttons to be visibile
everywhere except Mac OS/X.

refs #683
2016-08-26 21:05:09 +01: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
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
ddace24c35 refs #512, removed ini file for offsets 2016-06-08 18:20:54 +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
18a907086d refs #485, moved stylesheet utility into CGuiApplication 2016-03-18 01:10:32 +00:00
Klaus Basan
bf9ea12a2b Some fixes / tweaks found during testing
* clear setup URLs
* renamed to CInfoArea::connectTopLevelChanged()
* qss, margins for menu items
2016-03-18 01:10:01 +00:00
Klaus Basan
ef259539c5 Comment 2016-02-05 17:59:51 +01:00
Klaus Basan
d3487bb375 Event accept 2015-12-20 16:57:53 +01:00
Michał Garapich
584616de7a refs #443 Added PluginDetailsWindow
* New variable in the json metadata file - simulator name
* Added PluginDetailsWindow that shows plugin info
2015-11-19 21:08:18 +00:00
Klaus Basan
6ca0d480d3 refs #452 adjusted GUI components to
* changed classes (e.g. CAircraft -> CSimulatedAircraft)
* changes signatures in contexts / providers
* minor fixes as renamed GUI widgets, asserts, paint event
2015-11-19 20:59:35 +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
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
91f0b99cc5 Fixes some issues with navigator widget to avoid Qt size warnings.
Remarks: Some but not all warnings are gone
2015-05-12 21:03:33 +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
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
3153c2012b As of workshop RW/KB
* Allow to "jump" to text message channel from ATC / aircraft
* changed timer connections for components to new SLOT syntax
* housekeeping:
** new function in network context for station by callsign
** refactored textmessage component, allow to select tab by slot
** wired up signal / slots in main GUI
** removed unused functions
** allow to select area and "myself" in infoarea
2015-03-20 17:11:14 +01:00
Klaus Basan
b0e3805ca0 Message when info area is locked (no double click) 2015-01-24 01:15:40 +01:00
Klaus Basan
0d26a8fd9b Fixed style for floating QDockWidgets 2014-12-13 13:17:41 +01:00
Klaus Basan
394b8e04f3 refs #352, bug due to renaming fixed 2014-12-02 04:02:34 +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
42a4e0b48b refs #347, CMainWindow for frameless main windows 2014-11-30 00:57:01 +01:00
Klaus Basan
0eec00ced3 Fix compiler warning in release builds 2014-11-30 00:55:31 +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
48741c218f refs #335, changed info areas, obtain actions for main menu 2014-11-30 00:53:13 +01:00
Klaus Basan
3617fcdfec refs #335, improved infoarea
* changed from index to "name based" tabs, allows to change order
* renamed misc. vars, members
* removed unused methods
* set current tab by widget
2014-11-30 00:52:27 +01:00
Klaus Basan
3c4fc76094 refs #335, renaming 2014-11-30 00:52:12 +01:00
Klaus Basan
9452ff10c9 refs #335, preparation for new cockpit
* allow nested info areas
* added cockpit info area
* fixed several finder methods to excluded nested info areas from child elements
* using QScopedPointer for ui
* placeholder GUI components for new cockpit
2014-11-29 22:38:40 +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
Roland Winklmeier
4903993bd5 refs #341 Fix variableScope warnings 2014-11-05 16:34:24 +01:00
Klaus Basan
e929423fc9 Some GUI finetuning
* tabBar expanding
* removed setDocumentMode
* Flight plan in scroll area
2014-10-07 13:10:45 +02:00
Klaus Basan
f7719fb08b refs #325, improved info area
* signal when tab bar is changed (goal: reload in components when info area changes)
* tab bar locking (avoid unintended floating)
2014-10-07 13:10:22 +02: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