[gd_scene load_steps=13 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://logic/popup_list.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] [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" parent="." instance=ExtResource( 11 )] script = ExtResource( 5 ) [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 = -160.0 margin_top = -430.0 __meta__ = { "_edit_use_anchors_": false } [node name="delete" type="Button" parent="database/actions"] margin_right = 160.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 = 160.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 = 160.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" parent="." instance=ExtResource( 12 )] visible = false margin_top = 60.0 script = ExtResource( 9 ) [node name="controls" parent="stage" index="0"] margin_bottom = 1860.0 [node name="process_id" type="LineEdit" parent="stage/controls" index="0"] 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" index="1"] 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" index="2" 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" index="3"] 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="option_set" type="Button" parent="stage/controls/place"] anchor_left = 0.85 anchor_right = 1.0 anchor_bottom = 1.0 text = "X" __meta__ = { "_edit_use_anchors_": false } [node name="anesthesia" type="LineEdit" parent="stage/controls" index="4"] 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="option_set" type="Button" parent="stage/controls/anesthesia"] anchor_left = 0.85 anchor_right = 1.0 anchor_bottom = 1.0 text = "X" __meta__ = { "_edit_use_anchors_": false } [node name="first_assistant" type="LineEdit" parent="stage/controls" index="5"] 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="option_set" type="Button" parent="stage/controls/first_assistant"] anchor_left = 0.85 anchor_right = 1.0 anchor_bottom = 1.0 text = "X" __meta__ = { "_edit_use_anchors_": false } [node name="type" type="LineEdit" parent="stage/controls" index="6"] 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="option_set" type="Button" parent="stage/controls/type"] anchor_left = 0.85 anchor_right = 1.0 anchor_bottom = 1.0 text = "X" __meta__ = { "_edit_use_anchors_": false } [node name="sub_type" type="LineEdit" parent="stage/controls" index="7"] 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="option_set" type="Button" parent="stage/controls/sub_type"] anchor_left = 0.85 anchor_right = 1.0 anchor_bottom = 1.0 text = "X" __meta__ = { "_edit_use_anchors_": false } [node name="sub_sub_type" type="LineEdit" parent="stage/controls" index="8"] 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="option_set" type="Button" parent="stage/controls/sub_sub_type"] anchor_left = 0.85 anchor_right = 1.0 anchor_bottom = 1.0 text = "X" __meta__ = { "_edit_use_anchors_": false } [node name="pathology" type="LineEdit" parent="stage/controls" index="9"] 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="option_set" type="Button" parent="stage/controls/pathology"] anchor_left = 0.85 anchor_right = 1.0 anchor_bottom = 1.0 text = "X" __meta__ = { "_edit_use_anchors_": false } [node name="intervention" type="LineEdit" parent="stage/controls" index="10"] 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="option_set" type="Button" parent="stage/controls/intervention"] anchor_left = 0.85 anchor_right = 1.0 anchor_bottom = 1.0 text = "X" __meta__ = { "_edit_use_anchors_": false } [node name="is_urgency" type="CheckBox" parent="stage/controls" index="11"] margin_top = 734.0 margin_right = 1080.0 margin_bottom = 781.0 text = "Urgência" [node name="notes" type="LineEdit" parent="stage/controls" index="12"] 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" index="13"] 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" index="14"] 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" mode_overrides_title = false access = 2 filters = PoolStringArray( "*.*" ) 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 = "Do you confirm this action?" dialog_autowrap = true [node name="popup_list" type="Popup" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 popup_exclusive = true script = ExtResource( 10 ) [node name="list" parent="popup_list" instance=ExtResource( 11 )] margin_top = 0.0 [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 } [editable path="stage"]