aboutsummaryrefslogtreecommitdiff
path: root/main.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'main.tscn')
-rw-r--r--main.tscn151
1 files changed, 42 insertions, 109 deletions
diff --git a/main.tscn b/main.tscn
index 6f38c89..db7c7f7 100644
--- a/main.tscn
+++ b/main.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=11 format=2]
+[gd_scene load_steps=12 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]
@@ -6,6 +6,7 @@
[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://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]
@@ -52,6 +53,8 @@ __meta__ = {
}
[node name="delete" type="Button" parent="database/actions"]
+margin_right = 95.0
+margin_bottom = 162.0
focus_mode = 0
custom_fonts/font = ExtResource( 6 )
enabled_focus_mode = 0
@@ -62,8 +65,9 @@ __meta__ = {
}
[node name="edit" type="Button" parent="database/actions"]
-anchor_top = 0.333
-anchor_bottom = 0.333
+margin_top = 166.0
+margin_right = 95.0
+margin_bottom = 328.0
focus_mode = 0
custom_fonts/font = ExtResource( 6 )
enabled_focus_mode = 0
@@ -74,8 +78,9 @@ __meta__ = {
}
[node name="add" type="Button" parent="database/actions"]
-anchor_top = 0.667
-anchor_bottom = 0.667
+margin_top = 332.0
+margin_right = 95.0
+margin_bottom = 494.0
focus_mode = 0
custom_fonts/font = ExtResource( 6 )
enabled_focus_mode = 0
@@ -114,141 +119,69 @@ margin_bottom = 332.0
rect_min_size = Vector2( 400, 200 )
size_flags_horizontal = 4
-[node name="place" type="LineEdit" parent="stage/controls" index="3"]
+[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
-placeholder_text = "Local"
-caret_blink = true
-caret_blink_speed = 0.5
-
-[node name="option_set" type="Button" parent="stage/controls/place"]
-anchor_left = 0.88
-anchor_right = 1.0
-anchor_bottom = 1.0
-text = "▽"
-__meta__ = {
-"_edit_use_anchors_": false
-}
+rect_min_size = Vector2( 0, 62 )
-[node name="anesthesia" type="LineEdit" parent="stage/controls" index="4"]
+[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
-placeholder_text = "Anestesia"
-caret_blink = true
-caret_blink_speed = 0.5
-
-[node name="option_set" type="Button" parent="stage/controls/anesthesia"]
-anchor_left = 0.88
-anchor_right = 1.0
-anchor_bottom = 1.0
-text = "▽"
-__meta__ = {
-"_edit_use_anchors_": false
-}
+rect_min_size = Vector2( 0, 62 )
-[node name="first_assistant" type="LineEdit" parent="stage/controls" index="5"]
+[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
-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.88
-anchor_right = 1.0
-anchor_bottom = 1.0
-text = "▽"
-__meta__ = {
-"_edit_use_anchors_": false
-}
+rect_min_size = Vector2( 0, 62 )
-[node name="type" type="LineEdit" parent="stage/controls" index="6"]
+[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
-placeholder_text = "Tipo"
-caret_blink = true
-caret_blink_speed = 0.5
-
-[node name="option_set" type="Button" parent="stage/controls/type"]
-anchor_left = 0.88
-anchor_right = 1.0
-anchor_bottom = 1.0
-text = "▽"
-__meta__ = {
-"_edit_use_anchors_": false
-}
+rect_min_size = Vector2( 0, 62 )
-[node name="sub_type" type="LineEdit" parent="stage/controls" index="7"]
+[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
-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.88
-anchor_right = 1.0
-anchor_bottom = 1.0
-text = "▽"
-__meta__ = {
-"_edit_use_anchors_": false
-}
+rect_min_size = Vector2( 0, 62 )
-[node name="sub_sub_type" type="LineEdit" parent="stage/controls" index="8"]
+[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
-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.88
-anchor_right = 1.0
-anchor_bottom = 1.0
-text = "▽"
-__meta__ = {
-"_edit_use_anchors_": false
-}
+rect_min_size = Vector2( 0, 62 )
-[node name="pathology" type="LineEdit" parent="stage/controls" index="9"]
+[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
-placeholder_text = "Patologia"
-caret_blink = true
-caret_blink_speed = 0.5
-
-[node name="option_set" type="Button" parent="stage/controls/pathology"]
-anchor_left = 0.88
-anchor_right = 1.0
-anchor_bottom = 1.0
-text = "▽"
-__meta__ = {
-"_edit_use_anchors_": false
-}
+rect_min_size = Vector2( 0, 62 )
-[node name="intervention" type="LineEdit" parent="stage/controls" index="10"]
+[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
-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.88
-anchor_right = 1.0
-anchor_bottom = 1.0
-text = "▽"
-__meta__ = {
-"_edit_use_anchors_": false
-}
+rect_min_size = Vector2( 0, 62 )
[node name="is_urgency" type="CheckBox" parent="stage/controls" index="11"]
margin_top = 864.0