QoL Fixes and Changes
This commit is contained in:
parent
b8201398e1
commit
93995959d0
1 changed files with 905 additions and 229 deletions
30
RequestResponsePopup.qml
Normal file
30
RequestResponsePopup.qml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
import QtQuick
|
||||
import QtQuick.Effects
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Controls.Material
|
||||
|
||||
Popup {
|
||||
id: request_response_popup
|
||||
property color accent_color: "#00000000"
|
||||
property int font_enlarged_text_size: 20
|
||||
property int font_normal_text_size: 16
|
||||
property string request_response_string: ""
|
||||
background: Rectangle {
|
||||
color: "#F0121212"
|
||||
radius: 5
|
||||
border.color: request_response_popup.accent_color
|
||||
border.width: 1
|
||||
}
|
||||
height: Math.max(parent.height / 1.6, contentHeight)
|
||||
width: parent.width / 1.2
|
||||
anchors.centerIn: Overlay.overlay
|
||||
ScrollView {
|
||||
id: view
|
||||
anchors.fill: parent
|
||||
TextArea {
|
||||
text: request_response_string
|
||||
font.pointSize: font_normal_text_size
|
||||
color: request_response_popup.accent_color
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue