mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
* 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
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
[infoarea]
|
||||
; margins as used in infoarea.cpp
|
||||
[alias]
|
||||
; those are the component names and valid until an object name is set
|
||||
; in most cases the object name is not yet known in the constructor
|
||||
; this alias makes sense as long there is one object per component
|
||||
CMainInfoAreaComponent = comp_MainInfoArea
|
||||
CCockpitInfoAreaComponent = comp_CockpitInfoArea
|
||||
CInfoBarStatusComponent = dw_dw_InfoBarStatus
|
||||
|
||||
[comp_MainInfoArea]
|
||||
margindocked.left = 1
|
||||
margindocked.right = 1
|
||||
margindocked.top = 1
|
||||
@@ -8,4 +15,41 @@ margindocked.bottom = 1
|
||||
marginfloating.left = 5
|
||||
marginfloating.right = 20
|
||||
marginfloating.top = 5
|
||||
marginfloating.bottom = 20
|
||||
marginfloating.bottom = 40
|
||||
|
||||
marginfloating.frameless.left = 5
|
||||
marginfloating.frameless.right = 5
|
||||
marginfloating.frameless.top = 5
|
||||
marginfloating.frameless.bottom = 5
|
||||
|
||||
[comp_CockpitInfoArea]
|
||||
margindocked.left = 1
|
||||
margindocked.right = 1
|
||||
margindocked.top = 1
|
||||
margindocked.bottom = 1
|
||||
|
||||
marginfloating.left = 5
|
||||
marginfloating.right = 20
|
||||
marginfloating.top = 5
|
||||
marginfloating.bottom = 40
|
||||
|
||||
marginfloating.frameless.left = 5
|
||||
marginfloating.frameless.right = 5
|
||||
marginfloating.frameless.top = 5
|
||||
marginfloating.frameless.bottom = 5
|
||||
|
||||
[dw_InfoBarStatus]
|
||||
margindocked.left = 0
|
||||
margindocked.right = 0
|
||||
margindocked.top = 0
|
||||
margindocked.bottom = 0
|
||||
|
||||
marginfloating.left = 0
|
||||
marginfloating.right = 0
|
||||
marginfloating.top = 0
|
||||
marginfloating.bottom = 0
|
||||
|
||||
marginfloating.frameless.left = 0
|
||||
marginfloating.frameless.right = 0
|
||||
marginfloating.frameless.top = 0
|
||||
marginfloating.frameless.bottom = 0
|
||||
|
||||
Reference in New Issue
Block a user