[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://touch_scroll.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 script = ExtResource( 5 ) __meta__ = { "_edit_use_anchors_": false } [node name="touch_scroll" 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 __meta__ = { "_edit_use_anchors_": false } [node name="process_id" type="LineEdit" parent="stage/controls"] margin_right = 1080.0 margin_bottom = 52.0 placeholder_text = "Nº Processo" caret_blink = true caret_blink_speed = 0.5 [node name="surgery_id" type="LineEdit" parent="stage/controls"] margin_top = 56.0 margin_right = 1080.0 margin_bottom = 108.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 = 112.0 margin_right = 1080.0 margin_bottom = 312.0 rect_min_size = Vector2( 400, 200 ) mouse_filter = 0 [node name="place" type="LineEdit" parent="stage/controls"] margin_top = 316.0 margin_right = 1080.0 margin_bottom = 368.0 placeholder_text = "Local" caret_blink = true caret_blink_speed = 0.5 [node name="anesthetic" type="LineEdit" parent="stage/controls"] margin_top = 372.0 margin_right = 1080.0 margin_bottom = 424.0 placeholder_text = "Anesthesics" caret_blink = true caret_blink_speed = 0.5 [node name="first_assistant" type="LineEdit" parent="stage/controls"] margin_top = 428.0 margin_right = 1080.0 margin_bottom = 480.0 placeholder_text = "1º Ajudante" caret_blink = true caret_blink_speed = 0.5 [node name="type" type="LineEdit" parent="stage/controls"] margin_top = 484.0 margin_right = 1080.0 margin_bottom = 536.0 placeholder_text = "Tipo" caret_blink = true caret_blink_speed = 0.5 [node name="sub_type" type="LineEdit" parent="stage/controls"] margin_top = 540.0 margin_right = 1080.0 margin_bottom = 592.0 placeholder_text = "Subtipo" caret_blink = true caret_blink_speed = 0.5 [node name="sub_sub_type" type="LineEdit" parent="stage/controls"] margin_top = 596.0 margin_right = 1080.0 margin_bottom = 648.0 placeholder_text = "Sub-Subtipo" caret_blink = true caret_blink_speed = 0.5 [node name="pathology" type="LineEdit" parent="stage/controls"] margin_top = 652.0 margin_right = 1080.0 margin_bottom = 704.0 placeholder_text = "Patologia" caret_blink = true caret_blink_speed = 0.5 [node name="intervention" type="LineEdit" parent="stage/controls"] margin_top = 708.0 margin_right = 1080.0 margin_bottom = 760.0 placeholder_text = "Intervenção" caret_blink = true caret_blink_speed = 0.5 [node name="is_urgency" type="CheckBox" parent="stage/controls"] margin_top = 764.0 margin_right = 1080.0 margin_bottom = 814.0 text = "Urgência" [node name="notes" type="LineEdit" parent="stage/controls"] margin_top = 818.0 margin_right = 1080.0 margin_bottom = 870.0 placeholder_text = "Notas" caret_blink = true caret_blink_speed = 0.5 [node name="save" type="Button" parent="stage/controls"] margin_top = 874.0 margin_right = 1080.0 margin_bottom = 924.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 0, 50 ) text = "save" __meta__ = { "_edit_use_anchors_": false } [node name="discard" type="Button" parent="stage/controls"] margin_top = 928.0 margin_right = 1080.0 margin_bottom = 978.0 grow_horizontal = 2 grow_vertical = 2 rect_min_size = Vector2( 0, 50 ) text = "discard" __meta__ = { "_edit_use_anchors_": false } [node name="menu" type="MenuButton" parent="."] anchor_right = 1.0 margin_bottom = 48.0 text = "≡" align = 2 script = ExtResource( 4 ) __meta__ = { "_edit_use_anchors_": false } [node name="about" type="AcceptDialog" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 window_title = "" dialog_autowrap = true __meta__ = { "_edit_use_anchors_": false } [node name="delete_filters" type="ConfirmationDialog" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 window_title = "delete filters" dialog_text = "Are you sure you want to delete all filters?" dialog_autowrap = true __meta__ = { "_edit_use_anchors_": false } [node name="import_filters" type="FileDialog" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 window_title = "Open a File" mode = 0 access = 2 filters = PoolStringArray( "*.csv" ) show_hidden_files = true current_dir = "" current_path = "" __meta__ = { "_edit_use_anchors_": false } [node name="export_filters" type="FileDialog" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 3 size_flags_vertical = 3 window_title = "export filters" access = 2 filters = PoolStringArray( "*.csv" ) show_hidden_files = true current_dir = "" current_path = "" __meta__ = { "_edit_use_anchors_": false } [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 }