mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Remove window flags for external widgets & console
This commit is contained in:
parent
748d443c72
commit
af60ee595c
@ -35,11 +35,6 @@ Window {
|
|||||||
title: qsTr("Console")
|
title: qsTr("Console")
|
||||||
minimumWidth: terminal.implicitWidth + 16
|
minimumWidth: terminal.implicitWidth + 16
|
||||||
minimumHeight: terminal.implicitHeight + 16 + root.titlebarHeight
|
minimumHeight: terminal.implicitHeight + 16 + root.titlebarHeight
|
||||||
Component.onCompleted: {
|
|
||||||
root.flags = Qt.Dialog |
|
|
||||||
Qt.WindowTitleHint |
|
|
||||||
Qt.WindowCloseButtonHint
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Native window registration
|
// Native window registration
|
||||||
|
@ -109,15 +109,6 @@ Widgets.Pane {
|
|||||||
minimumHeight: 480 / 2
|
minimumHeight: 480 / 2
|
||||||
title: widget.widgetTitle
|
title: widget.widgetTitle
|
||||||
|
|
||||||
//
|
|
||||||
// Make window stay on top
|
|
||||||
//
|
|
||||||
Component.onCompleted: {
|
|
||||||
window.flags = Qt.Dialog |
|
|
||||||
Qt.WindowTitleHint |
|
|
||||||
Qt.WindowCloseButtonHint
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Close window instead of app
|
// Close window instead of app
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user