diff options
| author | dam <dam@gudinoff> | 2022-04-18 09:06:19 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2022-04-18 09:06:19 +0000 |
| commit | 79691f93bab7aa093bb606bfb80d2b4b236ee091 (patch) | |
| tree | 6e90c6601893895d7640f478f0cad402cc7590b4 /main.tscn | |
| parent | 697e1ba3c4cb0a96c4584f1553de368d46287ab7 (diff) | |
| parent | ee31a9a3d387121030a5f4503adeac5816d7726f (diff) | |
| download | surgery-log-1.0.tar.zst surgery-log-1.0.zip | |
Merge godot branch.v1.0
Diffstat (limited to 'main.tscn')
| -rw-r--r-- | main.tscn | 277 |
1 files changed, 277 insertions, 0 deletions
diff --git a/main.tscn b/main.tscn new file mode 100644 index 0000000..9fce789 --- /dev/null +++ b/main.tscn @@ -0,0 +1,277 @@ +[gd_scene load_steps=15 format=2] + +[ext_resource path="res://main.gd" type="Script" id=1] +[ext_resource path="res://ui/date_picker/date_picker.tscn" type="PackedScene" id=2] +[ext_resource path="res://themes/dark.tres" type="Theme" id=3] +[ext_resource path="res://logic/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://ui/option_set/option_set.tscn" type="PackedScene" id=7] +[ext_resource path="res://ui/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://ui/modal_popup/modal_popup.tscn" type="PackedScene" id=10] +[ext_resource path="res://ui/touch_item_list/touch_item_list.tscn" type="PackedScene" id=11] +[ext_resource path="res://ui/touch_vertical_container/touch_vertical_container.tscn" type="PackedScene" id=12] +[ext_resource path="res://ui/dialog/dialog.gd" type="Script" id=14] +[ext_resource path="res://logic/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 )] +script = ExtResource( 5 ) + +[node name="menu" type="MenuButton" parent="database"] +anchor_left = 1.0 +anchor_right = 1.0 +margin_left = -112.0 +margin_top = 32.0 +margin_right = -32.0 +margin_bottom = 112.0 +grow_horizontal = 0 +rect_min_size = Vector2( 90, 90 ) +custom_fonts/font = ExtResource( 6 ) +text = "" +flat = false +script = ExtResource( 4 ) + +[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 +custom_constants/separation = 30 +alignment = 2 + +[node name="delete" type="Button" parent="database/actions"] +margin_right = 90.0 +margin_bottom = 80.0 +rect_min_size = Vector2( 80, 80 ) +focus_mode = 0 +custom_fonts/font = ExtResource( 6 ) +shortcut_in_tooltip = false +enabled_focus_mode = 0 +text = "" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="edit" type="Button" parent="database/actions"] +margin_top = 110.0 +margin_right = 90.0 +margin_bottom = 190.0 +rect_min_size = Vector2( 80, 80 ) +focus_mode = 0 +custom_fonts/font = ExtResource( 6 ) +shortcut_in_tooltip = false +enabled_focus_mode = 0 +text = "" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="add" type="Button" parent="database/actions"] +margin_top = 220.0 +margin_right = 90.0 +margin_bottom = 310.0 +rect_min_size = Vector2( 90, 90 ) +focus_mode = 0 +custom_fonts/font = ExtResource( 6 ) +shortcut_in_tooltip = false +enabled_focus_mode = 0 +text = "" +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="stage" parent="." instance=ExtResource( 12 )] +visible = false +script = ExtResource( 9 ) + +[node name="title" type="Label" parent="stage/controls" index="0"] +margin_right = 1080.0 +margin_bottom = 62.0 +rect_min_size = Vector2( 0, 62 ) +align = 1 + +[node name="process_id" type="LineEdit" parent="stage/controls" index="1"] +margin_top = 72.0 +margin_right = 1080.0 +margin_bottom = 134.0 +rect_min_size = Vector2( 0, 62 ) +max_length = 32 +placeholder_text = "Process #" +caret_blink = true +caret_blink_speed = 0.5 + +[node name="surgery_id" type="LineEdit" parent="stage/controls" index="2"] +margin_top = 144.0 +margin_right = 1080.0 +margin_bottom = 206.0 +rect_min_size = Vector2( 0, 62 ) +max_length = 32 +placeholder_text = "Surgery #" +caret_blink = true +caret_blink_speed = 0.5 + +[node name="date_picker" parent="stage/controls" index="3" instance=ExtResource( 2 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 340.0 +margin_top = 216.0 +margin_right = 740.0 +margin_bottom = 416.0 +rect_min_size = Vector2( 400, 200 ) +size_flags_horizontal = 4 + +[node name="place" parent="stage/controls" index="4" instance=ExtResource( 7 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 426.0 +margin_right = 1080.0 +margin_bottom = 488.0 +rect_min_size = Vector2( 0, 62 ) +placeholder = "Place" + +[node name="anesthesia" parent="stage/controls" index="5" instance=ExtResource( 7 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 498.0 +margin_right = 1080.0 +margin_bottom = 560.0 +rect_min_size = Vector2( 0, 62 ) +placeholder = "Anesthesia" + +[node name="first_assistant" parent="stage/controls" index="6" instance=ExtResource( 7 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 570.0 +margin_right = 1080.0 +margin_bottom = 632.0 +rect_min_size = Vector2( 0, 62 ) +placeholder = "First assistant" + +[node name="type" parent="stage/controls" index="7" instance=ExtResource( 7 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 642.0 +margin_right = 1080.0 +margin_bottom = 704.0 +rect_min_size = Vector2( 0, 62 ) +placeholder = "Type" + +[node name="sub_type" parent="stage/controls" index="8" instance=ExtResource( 7 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 714.0 +margin_right = 1080.0 +margin_bottom = 776.0 +rect_min_size = Vector2( 0, 62 ) +placeholder = "Sub-type" + +[node name="sub_sub_type" parent="stage/controls" index="9" instance=ExtResource( 7 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 786.0 +margin_right = 1080.0 +margin_bottom = 848.0 +rect_min_size = Vector2( 0, 62 ) +placeholder = "Sub-sub-type" + +[node name="pathology" parent="stage/controls" index="10" instance=ExtResource( 7 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 858.0 +margin_right = 1080.0 +margin_bottom = 920.0 +rect_min_size = Vector2( 0, 62 ) +placeholder = "Pathology" + +[node name="intervention" parent="stage/controls" index="11" instance=ExtResource( 7 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 930.0 +margin_right = 1080.0 +margin_bottom = 992.0 +rect_min_size = Vector2( 0, 62 ) +placeholder = "Intervention" + +[node name="is_urgency" type="Button" parent="stage/controls" index="12"] +margin_top = 1002.0 +margin_right = 1080.0 +margin_bottom = 1064.0 +rect_min_size = Vector2( 0, 62 ) +toggle_mode = true +text = "Is urgency" +align = 0 + +[node name="notes" type="LineEdit" parent="stage/controls" index="13"] +margin_top = 1074.0 +margin_right = 1080.0 +margin_bottom = 1136.0 +rect_min_size = Vector2( 0, 62 ) +max_length = 4096 +placeholder_text = "Notes" +caret_blink = true +caret_blink_speed = 0.5 + +[node name="buttons" type="Control" parent="stage/controls" index="14"] +margin_top = 1146.0 +margin_right = 1080.0 +margin_bottom = 1146.0 + +[node name="discard" type="Button" parent="stage/controls/buttons"] +anchor_right = 0.5 +margin_right = -5.0 +rect_min_size = Vector2( 0, 62 ) +text = "Discard" + +[node name="save" type="Button" parent="stage/controls/buttons"] +anchor_left = 0.5 +anchor_right = 1.0 +margin_left = 5.0 +grow_horizontal = 0 +rect_min_size = Vector2( 0, 62 ) +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" parent="." instance=ExtResource( 10 )] + +[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"] |
