aboutsummaryrefslogtreecommitdiff
path: root/main.tscn
diff options
context:
space:
mode:
authordam <dam@gudinoff>2021-12-06 01:39:16 +0000
committerdam <dam@gudinoff>2021-12-06 01:39:16 +0000
commit7d9370011834f736d17ebf167701735185f2453a (patch)
tree3d4b581b0c90746d192382555b1b3349c1d8b7a4 /main.tscn
parentab3e8de3e1d107d42ba62571ea7d17e741203123 (diff)
downloadsurgery-log-7d9370011834f736d17ebf167701735185f2453a.tar.zst
surgery-log-7d9370011834f736d17ebf167701735185f2453a.zip
Adjust UI to match mockups (WIP).
Diffstat (limited to 'main.tscn')
-rw-r--r--main.tscn159
1 files changed, 92 insertions, 67 deletions
diff --git a/main.tscn b/main.tscn
index 3ce2d4f..c2cf66a 100644
--- a/main.tscn
+++ b/main.tscn
@@ -1,22 +1,27 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=4 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://date_picker/date_picker.tscn" type="PackedScene" id=2]
+[ext_resource path="res://theme_white.tres" type="Theme" id=3]
-[node name="main" type="Node"]
+[node name="main" type="Control"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+theme = ExtResource( 3 )
[node name="TabContainer" type="TabContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
+tab_align = 0
__meta__ = {
"_edit_use_anchors_": false
}
-[node name="ScrollContainer" type="ScrollContainer" parent="TabContainer"]
+[node name="novo" type="ScrollContainer" parent="TabContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
-margin_top = 32.0
+margin_top = 38.0
margin_right = -4.0
margin_bottom = -4.0
scroll_horizontal_enabled = false
@@ -24,117 +29,136 @@ __meta__ = {
"_edit_use_anchors_": false
}
-[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/ScrollContainer"]
+[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/novo"]
margin_right = 720.0
-margin_bottom = 548.0
+margin_bottom = 822.0
rect_min_size = Vector2( 720, 0 )
rect_clip_content = true
script = ExtResource( 1 )
-[node name="process_number" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
+[node name="process_number" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
margin_right = 720.0
-margin_bottom = 24.0
+margin_bottom = 30.0
placeholder_text = "Nº Processo"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="surgery_number" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 28.0
+[node name="surgery_number" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 34.0
margin_right = 720.0
-margin_bottom = 52.0
+margin_bottom = 64.0
placeholder_text = "Nº Cirurgia"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="place" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 56.0
+[node name="date_picker" parent="TabContainer/novo/VBoxContainer" instance=ExtResource( 2 )]
+anchor_right = 0.0
+anchor_bottom = 0.0
+margin_top = 68.0
margin_right = 720.0
-margin_bottom = 80.0
+margin_bottom = 268.0
+rect_min_size = Vector2( 400, 200 )
+
+[node name="place" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 272.0
+margin_right = 720.0
+margin_bottom = 302.0
placeholder_text = "Local"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="anesthesia" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 84.0
+[node name="anesthesia" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 306.0
margin_right = 720.0
-margin_bottom = 108.0
+margin_bottom = 336.0
placeholder_text = "Anesthesics"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="first_aider" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 112.0
+[node name="first_aider" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 340.0
margin_right = 720.0
-margin_bottom = 136.0
+margin_bottom = 370.0
placeholder_text = "1º Ajudante"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="type" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 140.0
+[node name="type" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 374.0
margin_right = 720.0
-margin_bottom = 164.0
+margin_bottom = 404.0
placeholder_text = "Tipo"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="sub_type" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 168.0
+[node name="sub_type" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 408.0
margin_right = 720.0
-margin_bottom = 192.0
+margin_bottom = 438.0
placeholder_text = "Subtipo"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="sub_sub_type" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 196.0
+[node name="sub_sub_type" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 442.0
margin_right = 720.0
-margin_bottom = 220.0
+margin_bottom = 472.0
placeholder_text = "Sub-Subtipo"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="pathology" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 224.0
+[node name="pathology" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 476.0
margin_right = 720.0
-margin_bottom = 248.0
+margin_bottom = 506.0
placeholder_text = "Patologia"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="intervention" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 252.0
+[node name="intervention" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 510.0
margin_right = 720.0
-margin_bottom = 276.0
+margin_bottom = 540.0
placeholder_text = "Intervenção"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="urgency" type="CheckBox" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 280.0
+[node name="urgency" type="CheckBox" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 544.0
margin_right = 720.0
-margin_bottom = 304.0
+margin_bottom = 572.0
text = "Urgência"
-[node name="notes" type="LineEdit" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 308.0
+[node name="notes" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 576.0
margin_right = 720.0
-margin_bottom = 332.0
+margin_bottom = 606.0
placeholder_text = "Notas"
caret_blink = true
+caret_blink_speed = 0.5
-[node name="output" type="RichTextLabel" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 336.0
+[node name="output" type="RichTextLabel" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 610.0
margin_right = 720.0
-margin_bottom = 386.0
+margin_bottom = 660.0
rect_min_size = Vector2( 0, 50 )
__meta__ = {
"_edit_use_anchors_": false
}
-[node name="timer" type="RichTextLabel" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 390.0
+[node name="timer" type="RichTextLabel" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 664.0
margin_right = 720.0
-margin_bottom = 440.0
+margin_bottom = 714.0
rect_min_size = Vector2( 0, 50 )
__meta__ = {
"_edit_use_anchors_": false
}
-[node name="button" type="Button" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 444.0
+[node name="button" type="Button" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 718.0
margin_right = 720.0
-margin_bottom = 494.0
+margin_bottom = 768.0
grow_horizontal = 2
grow_vertical = 2
rect_min_size = Vector2( 0, 50 )
@@ -143,31 +167,32 @@ __meta__ = {
"_edit_use_anchors_": false
}
-[node name="log" type="RichTextLabel" parent="TabContainer/ScrollContainer/VBoxContainer"]
-margin_top = 498.0
+[node name="log" type="RichTextLabel" parent="TabContainer/novo/VBoxContainer"]
+margin_top = 772.0
margin_right = 720.0
-margin_bottom = 548.0
+margin_bottom = 822.0
rect_min_size = Vector2( 0, 50 )
__meta__ = {
"_edit_use_anchors_": false
}
-[node name="ScrollContainer2" type="ScrollContainer" parent="TabContainer"]
+[node name="historico" type="ScrollContainer" parent="TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
-margin_left = 4.0
-margin_top = 32.0
-margin_right = -4.0
-margin_bottom = -4.0
+margin_right = -8.0
+margin_bottom = -42.0
-[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/ScrollContainer2"]
-margin_right = 400.0
-margin_bottom = 200.0
+[node name="ItemList" type="ItemList" parent="TabContainer/historico"]
+visible = false
-[node name="date_picker" parent="TabContainer/ScrollContainer2/VBoxContainer" instance=ExtResource( 2 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_right = 400.0
-margin_bottom = 200.0
-rect_min_size = Vector2( 400, 200 )
+[node name="MenuButton" type="MenuButton" parent="."]
+anchor_left = 1.0
+anchor_right = 1.0
+margin_left = -32.0
+margin_bottom = 26.0
+text = "#"
+items = [ "Importar filtros", null, 0, false, false, 0, 0, null, "", false, "Exportar filtros", null, 0, false, false, 1, 0, null, "", false, "Apagar filtros", null, 0, false, false, 2, 0, null, "", false, "Sobre", null, 0, false, false, 3, 0, null, "", false ]
+__meta__ = {
+"_edit_use_anchors_": false
+}