Add Qt.WindowTitleHint to qml dialogs
This commit is contained in:
parent
3d2f503305
commit
9504d02f18
@ -34,7 +34,7 @@ ApplicationWindow {
|
|||||||
width: 340
|
width: 340
|
||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.window
|
color: Nheko.colors.window
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(inviteDialogRoot)
|
Component.onCompleted: Nheko.reparent(inviteDialogRoot)
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
|
@ -15,7 +15,7 @@ ApplicationWindow {
|
|||||||
width: 420
|
width: 420
|
||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.window
|
color: Nheko.colors.window
|
||||||
flags: Qt.Tool | Qt.WindowStaysOnTopHint | Qt.WindowCloseButtonHint
|
flags: Qt.Tool | Qt.WindowStaysOnTopHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(rawMessageRoot)
|
Component.onCompleted: Nheko.reparent(rawMessageRoot)
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
|
@ -19,7 +19,7 @@ ApplicationWindow {
|
|||||||
minimumWidth: headerTitle.width + 2 * Nheko.paddingMedium
|
minimumWidth: headerTitle.width + 2 * Nheko.paddingMedium
|
||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.window
|
color: Nheko.colors.window
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(readReceiptsRoot)
|
Component.onCompleted: Nheko.reparent(readReceiptsRoot)
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
|
@ -19,7 +19,7 @@ ApplicationWindow {
|
|||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.window
|
color: Nheko.colors.window
|
||||||
modality: Qt.WindowModal
|
modality: Qt.WindowModal
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(roomDirectoryWindow)
|
Component.onCompleted: Nheko.reparent(roomDirectoryWindow)
|
||||||
title: qsTr("Explore Public Rooms")
|
title: qsTr("Explore Public Rooms")
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ ApplicationWindow {
|
|||||||
minimumHeight: 420
|
minimumHeight: 420
|
||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.window
|
color: Nheko.colors.window
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(roomMembersRoot)
|
Component.onCompleted: Nheko.reparent(roomMembersRoot)
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
|
@ -20,7 +20,7 @@ ApplicationWindow {
|
|||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.window
|
color: Nheko.colors.window
|
||||||
modality: Qt.NonModal
|
modality: Qt.NonModal
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(roomSettingsDialog)
|
Component.onCompleted: Nheko.reparent(roomSettingsDialog)
|
||||||
title: qsTr("Room Settings")
|
title: qsTr("Room Settings")
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ ApplicationWindow {
|
|||||||
color: Nheko.colors.window
|
color: Nheko.colors.window
|
||||||
title: profile.isGlobalUserProfile ? qsTr("Global User Profile") : qsTr("Room User Profile")
|
title: profile.isGlobalUserProfile ? qsTr("Global User Profile") : qsTr("Room User Profile")
|
||||||
modality: Qt.NonModal
|
modality: Qt.NonModal
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(userProfileDialog)
|
Component.onCompleted: Nheko.reparent(userProfileDialog)
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
|
@ -18,7 +18,7 @@ ApplicationWindow {
|
|||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
height: stack.implicitHeight
|
height: stack.implicitHeight
|
||||||
width: stack.implicitWidth
|
width: stack.implicitWidth
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(dialog)
|
Component.onCompleted: Nheko.reparent(dialog)
|
||||||
|
|
||||||
StackView {
|
StackView {
|
||||||
|
@ -27,7 +27,7 @@ ApplicationWindow {
|
|||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.base
|
color: Nheko.colors.base
|
||||||
modality: Qt.WindowModal
|
modality: Qt.WindowModal
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
|
|
||||||
AdaptiveLayout {
|
AdaptiveLayout {
|
||||||
id: adaptiveView
|
id: adaptiveView
|
||||||
|
@ -25,7 +25,7 @@ ApplicationWindow {
|
|||||||
palette: Nheko.colors
|
palette: Nheko.colors
|
||||||
color: Nheko.colors.base
|
color: Nheko.colors.base
|
||||||
modality: Qt.NonModal
|
modality: Qt.NonModal
|
||||||
flags: Qt.Dialog | Qt.WindowCloseButtonHint
|
flags: Qt.Dialog | Qt.WindowCloseButtonHint | Qt.WindowTitleHint
|
||||||
Component.onCompleted: Nheko.reparent(win)
|
Component.onCompleted: Nheko.reparent(win)
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
|
Loading…
Reference in New Issue
Block a user