[gd_scene load_steps=16 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_dark.tres" type="Theme" id=3] [ext_resource path="res://menu/menu.gd" type="Script" id=4] [ext_resource path="res://logic/database.gd" type="Script" id=5] [ext_resource path="res://fonts/font_icons.tres" type="DynamicFont" id=6] [ext_resource path="res://option_set/option_set.tscn" type="PackedScene" id=7] [ext_resource path="res://option_set/option_set_list.gd" type="Script" id=8] [ext_resource path="res://logic/stage.gd" type="Script" id=9] [ext_resource path="res://logic/popup.gd" type="Script" id=10] [ext_resource path="res://touch_item_list/touch_item_list.tscn" type="PackedScene" id=11] [ext_resource path="res://touch_vertical_container/touch_vertical_container.tscn" type="PackedScene" id=12] [ext_resource path="res://fonts/font_mono_regular.tres" type="DynamicFont" id=13] [ext_resource path="res://dialog/dialog.gd" type="Script" id=14] [ext_resource path="res://file_picker.gd" type="Script" id=15] [node name="main" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 3 ) script = ExtResource( 1 ) [node name="database" parent="." instance=ExtResource( 11 )] custom_fonts/font = ExtResource( 13 ) script = ExtResource( 5 ) [node name="menu" type="MenuButton" parent="database"] anchor_left = 1.0 anchor_right = 1.0 margin_left = -108.0 margin_right = -32.0 margin_bottom = 162.0 grow_horizontal = 0 custom_fonts/font = ExtResource( 6 ) text = "≡" script = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } [node name="actions" type="VBoxContainer" parent="database"] anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_right = -32.0 margin_bottom = -32.0 grow_horizontal = 0 grow_vertical = 0 [node name="delete" type="Button" parent="database/actions"] margin_right = 102.0 margin_bottom = 162.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) enabled_focus_mode = 0 text = "" flat = true __meta__ = { "_edit_use_anchors_": false } [node name="edit" type="Button" parent="database/actions"] margin_top = 166.0 margin_right = 102.0 margin_bottom = 328.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) enabled_focus_mode = 0 text = "" flat = true __meta__ = { "_edit_use_anchors_": false } [node name="add" type="Button" parent="database/actions"] margin_top = 332.0 margin_right = 102.0 margin_bottom = 494.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) enabled_focus_mode = 0 text = "" flat = true __meta__ = { "_edit_use_anchors_": false } [node name="stage" parent="." instance=ExtResource( 12 )] visible = false script = ExtResource( 9 ) [node name="process_id" type="LineEdit" parent="stage/controls" index="0"] margin_right = 1080.0 margin_bottom = 62.0 max_length = 32 placeholder_text = "Nº Processo" caret_blink = true caret_blink_speed = 0.5 [node name="surgery_id" type="LineEdit" parent="stage/controls" index="1"] margin_top = 66.0 margin_right = 1080.0 margin_bottom = 128.0 max_length = 32 placeholder_text = "Nº Cirurgia" caret_blink = true caret_blink_speed = 0.5 [node name="date_picker" parent="stage/controls" index="2" instance=ExtResource( 2 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 340.0 margin_top = 132.0 margin_right = 740.0 margin_bottom = 332.0 rect_min_size = Vector2( 400, 200 ) size_flags_horizontal = 4 [node name="place" parent="stage/controls" index="3" instance=ExtResource( 7 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 336.0 margin_right = 1080.0 margin_bottom = 398.0 rect_min_size = Vector2( 0, 62 ) placeholder = "Local" [node name="anesthesia" parent="stage/controls" index="4" instance=ExtResource( 7 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 402.0 margin_right = 1080.0 margin_bottom = 464.0 rect_min_size = Vector2( 0, 62 ) placeholder = "Anestesia" [node name="first_assistant" parent="stage/controls" index="5" instance=ExtResource( 7 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 468.0 margin_right = 1080.0 margin_bottom = 530.0 rect_min_size = Vector2( 0, 62 ) placeholder = "1º Ajudante" [node name="type" parent="stage/controls" index="6" instance=ExtResource( 7 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 534.0 margin_right = 1080.0 margin_bottom = 596.0 rect_min_size = Vector2( 0, 62 ) placeholder = "Tipo" [node name="sub_type" parent="stage/controls" index="7" instance=ExtResource( 7 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 600.0 margin_right = 1080.0 margin_bottom = 662.0 rect_min_size = Vector2( 0, 62 ) placeholder = "Sub-tipo" [node name="sub_sub_type" parent="stage/controls" index="8" instance=ExtResource( 7 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 666.0 margin_right = 1080.0 margin_bottom = 728.0 rect_min_size = Vector2( 0, 62 ) placeholder = "Sub-sub-tipo" [node name="pathology" parent="stage/controls" index="9" instance=ExtResource( 7 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 732.0 margin_right = 1080.0 margin_bottom = 794.0 rect_min_size = Vector2( 0, 62 ) placeholder = "Patologia" [node name="intervention" parent="stage/controls" index="10" instance=ExtResource( 7 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 798.0 margin_right = 1080.0 margin_bottom = 860.0 rect_min_size = Vector2( 0, 62 ) placeholder = "Intervenção" [node name="is_urgency" type="CheckBox" parent="stage/controls" index="11"] margin_top = 864.0 margin_right = 1080.0 margin_bottom = 924.0 text = "Urgência" [node name="notes" type="LineEdit" parent="stage/controls" index="12"] margin_top = 928.0 margin_right = 1080.0 margin_bottom = 990.0 max_length = 4096 placeholder_text = "Notas" caret_blink = true caret_blink_speed = 0.5 [node name="buttons" type="Control" parent="stage/controls" index="13"] margin_top = 994.0 margin_right = 1080.0 margin_bottom = 994.0 [node name="discard" type="Button" parent="stage/controls/buttons"] anchor_right = 0.5 text = "discard" [node name="save" type="Button" parent="stage/controls/buttons"] anchor_left = 0.5 anchor_right = 1.0 margin_bottom = 58.0 grow_horizontal = 0 text = "save" [node name="file_picker" type="FileDialog" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 window_title = "" mode_overrides_title = false access = 2 filters = PoolStringArray( "*.*" ) show_hidden_files = true current_dir = "" current_path = "" script = ExtResource( 15 ) __meta__ = { "_edit_use_anchors_": false } [node name="popup" type="ColorRect" parent="."] visible = false anchor_right = 1.0 anchor_bottom = 1.0 color = Color( 0, 0, 0, 0.870588 ) script = ExtResource( 10 ) [node name="background" type="Panel" parent="popup"] anchor_left = 0.05 anchor_top = 0.1 anchor_right = 0.95 anchor_bottom = 0.975 [node name="title" type="Label" parent="popup"] anchor_left = 0.05 anchor_top = 0.025 anchor_right = 0.95 anchor_bottom = 0.1 margin_left = 80.0 margin_right = -80.0 margin_bottom = -20.0 align = 1 valign = 1 autowrap = true [node name="dismiss" type="Button" parent="popup"] anchor_left = 0.05 anchor_top = 0.025 anchor_right = 0.95 anchor_bottom = 0.1 margin_right = -892.0 margin_bottom = -20.0 text = "<" flat = true [node name="option_set_list" type="Control" parent="."] visible = false anchor_right = 1.0 anchor_bottom = 1.0 rect_clip_content = true script = ExtResource( 8 ) [node name="dialog" type="Control" parent="."] visible = false anchor_right = 1.0 anchor_bottom = 1.0 rect_clip_content = true script = ExtResource( 14 ) [editable path="stage"]