[gd_scene load_steps=11 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] [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://icons/edit.png" type="Texture" id=6] [ext_resource path="res://icons/add.png" type="Texture" id=7] [ext_resource path="res://icons/delete.png" type="Texture" id=8] [ext_resource path="res://logic/stage.gd" type="Script" id=9] [ext_resource path="res://pointer_input_sensor.gd" type="Script" id=10] [node name="main" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 3 ) script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false } [node name="database" type="ItemList" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 60.0 mouse_filter = 2 script = ExtResource( 5 ) __meta__ = { "_edit_use_anchors_": false } [node name="drag_sensor" type="Control" parent="database"] anchor_right = 1.0 anchor_bottom = 1.0 margin_right = -8.0 script = ExtResource( 10 ) __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_left = -140.0 margin_top = -410.0 __meta__ = { "_edit_use_anchors_": false } [node name="delete" type="Button" parent="database/actions"] margin_right = 140.0 margin_bottom = 134.0 focus_mode = 0 enabled_focus_mode = 0 icon = ExtResource( 8 ) flat = true __meta__ = { "_edit_use_anchors_": false } [node name="edit" type="Button" parent="database/actions"] margin_top = 138.0 margin_right = 140.0 margin_bottom = 272.0 focus_mode = 0 enabled_focus_mode = 0 icon = ExtResource( 6 ) flat = true __meta__ = { "_edit_use_anchors_": false } [node name="add" type="Button" parent="database/actions"] margin_top = 276.0 margin_right = 140.0 margin_bottom = 410.0 focus_mode = 0 enabled_focus_mode = 0 icon = ExtResource( 7 ) flat = true __meta__ = { "_edit_use_anchors_": false } [node name="stage" type="ScrollContainer" parent="."] visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 60.0 scroll_horizontal_enabled = false script = ExtResource( 9 ) __meta__ = { "_edit_use_anchors_": false } [node name="controls" type="VBoxContainer" parent="stage"] margin_right = 1080.0 margin_bottom = 1860.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="process_id" type="LineEdit" parent="stage/controls"] margin_right = 1080.0 margin_bottom = 49.0 placeholder_text = "Nº Processo" caret_blink = true caret_blink_speed = 0.5 [node name="surgery_id" type="LineEdit" parent="stage/controls"] margin_top = 53.0 margin_right = 1080.0 margin_bottom = 102.0 placeholder_text = "Nº Cirurgia" caret_blink = true caret_blink_speed = 0.5 [node name="date_picker" parent="stage/controls" instance=ExtResource( 2 )] anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 106.0 margin_right = 1080.0 margin_bottom = 306.0 rect_min_size = Vector2( 400, 200 ) [node name="place" type="LineEdit" parent="stage/controls"] margin_top = 310.0 margin_right = 1080.0 margin_bottom = 359.0 placeholder_text = "Local" caret_blink = true caret_blink_speed = 0.5 [node name="anesthesia" type="LineEdit" parent="stage/controls"] margin_top = 363.0 margin_right = 1080.0 margin_bottom = 412.0 placeholder_text = "Anestesia" caret_blink = true caret_blink_speed = 0.5 [node name="first_assistant" type="LineEdit" parent="stage/controls"] margin_top = 416.0 margin_right = 1080.0 margin_bottom = 465.0 placeholder_text = "1º Ajudante" caret_blink = true caret_blink_speed = 0.5 [node name="type" type="LineEdit" parent="stage/controls"] margin_top = 469.0 margin_right = 1080.0 margin_bottom = 518.0 placeholder_text = "Tipo" caret_blink = true caret_blink_speed = 0.5 [node name="sub_type" type="LineEdit" parent="stage/controls"] margin_top = 522.0 margin_right = 1080.0 margin_bottom = 571.0 placeholder_text = "Subtipo" caret_blink = true caret_blink_speed = 0.5 [node name="sub_sub_type" type="LineEdit" parent="stage/controls"] margin_top = 575.0 margin_right = 1080.0 margin_bottom = 624.0 placeholder_text = "Sub-Subtipo" caret_blink = true caret_blink_speed = 0.5 [node name="pathology" type="LineEdit" parent="stage/controls"] margin_top = 628.0 margin_right = 1080.0 margin_bottom = 677.0 placeholder_text = "Patologia" caret_blink = true caret_blink_speed = 0.5 [node name="intervention" type="LineEdit" parent="stage/controls"] margin_top = 681.0 margin_right = 1080.0 margin_bottom = 730.0 placeholder_text = "Intervenção" caret_blink = true caret_blink_speed = 0.5 [node name="is_urgency" type="CheckBox" parent="stage/controls"] margin_top = 734.0 margin_right = 1080.0 margin_bottom = 781.0 text = "Urgência" [node name="notes" type="LineEdit" parent="stage/controls"] margin_top = 785.0 margin_right = 1080.0 margin_bottom = 834.0 placeholder_text = "Notas" caret_blink = true caret_blink_speed = 0.5 [node name="discard" type="Button" parent="stage/controls"] margin_top = 838.0 margin_right = 1080.0 margin_bottom = 888.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 0, 50 ) text = "discard" __meta__ = { "_edit_use_anchors_": false } [node name="save" type="Button" parent="stage/controls"] margin_top = 892.0 margin_right = 1080.0 margin_bottom = 942.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 0, 50 ) text = "save" __meta__ = { "_edit_use_anchors_": false } [node name="menu" type="MenuButton" parent="."] anchor_right = 1.0 margin_bottom = 60.0 text = "≡" align = 2 script = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } [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 = "PICK FILE" access = 2 filters = PoolStringArray( "*.csv" ) show_hidden_files = true current_dir = "" current_path = "" __meta__ = { "_edit_use_anchors_": false } [node name="confirm_action" type="ConfirmationDialog" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 window_title = "CONFIRM ACTION" dialog_text = "Are you sure you want to delete all filters?" dialog_autowrap = true [node name="debug" type="Label" parent="."] visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 60.0 valign = 2 __meta__ = { "_edit_use_anchors_": false }