[gd_scene load_steps=3 format=3 uid="uid://dwtxrx5xtewur"] [ext_resource type="Script" path="res://row_edit_popup.cs" id="1_1wf8q"] [ext_resource type="Script" path="res://RowDeleteButton.cs" id="2_wjpay"] [node name="RowEditPopup" type="PanelContainer"] script = ExtResource("1_1wf8q") [node name="RowEditMarginContainer" type="MarginContainer" parent="."] layout_mode = 2 theme_override_constants/margin_right = 5 theme_override_constants/margin_bottom = 5 [node name="RowEditOuterVbox" type="VSplitContainer" parent="RowEditMarginContainer"] layout_mode = 2 dragger_visibility = 1 [node name="RowEditInnerVbox" type="VSplitContainer" parent="RowEditMarginContainer/RowEditOuterVbox"] layout_mode = 2 dragger_visibility = 1 [node name="RowEditVbox" type="HSplitContainer" parent="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox"] layout_mode = 2 dragger_visibility = 1 [node name="ColorPickerButton" type="ColorPickerButton" parent="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox/RowEditVbox"] unique_name_in_owner = true custom_minimum_size = Vector2(200, 200) layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 0 edit_alpha = false [node name="RowTextEdit" type="TextEdit" parent="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox/RowEditVbox"] unique_name_in_owner = true custom_minimum_size = Vector2(200, 0) layout_mode = 2 [node name="RowDeleteHbox" type="HSplitContainer" parent="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox"] layout_mode = 2 size_flags_horizontal = 8 dragger_visibility = 1 [node name="RowDeleteEnableButton" type="CheckBox" parent="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox/RowDeleteHbox"] layout_mode = 2 [node name="RowDeleteButton" type="Button" parent="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox/RowDeleteHbox"] custom_minimum_size = Vector2(135, 0) layout_mode = 2 disabled = true text = "DELETE" script = ExtResource("2_wjpay") [node name="RowEditButtonContainer" type="HBoxContainer" parent="RowEditMarginContainer/RowEditOuterVbox"] layout_mode = 2 alignment = 2 [node name="RowEditCancelButton" type="Button" parent="RowEditMarginContainer/RowEditOuterVbox/RowEditButtonContainer"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 0) layout_mode = 2 size_flags_horizontal = 8 text = "Cancel" [node name="RowEditOkButton" type="Button" parent="RowEditMarginContainer/RowEditOuterVbox/RowEditButtonContainer"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 0) layout_mode = 2 size_flags_horizontal = 8 text = "OK" [connection signal="toggled" from="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox/RowDeleteHbox/RowDeleteEnableButton" to="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox/RowDeleteHbox/RowDeleteButton" method="ToggleEnable"] [connection signal="pressed" from="RowEditMarginContainer/RowEditOuterVbox/RowEditInnerVbox/RowDeleteHbox/RowDeleteButton" to="." method="DeleteRow"] [connection signal="pressed" from="RowEditMarginContainer/RowEditOuterVbox/RowEditButtonContainer/RowEditCancelButton" to="." method="CancelClicked"] [connection signal="pressed" from="RowEditMarginContainer/RowEditOuterVbox/RowEditButtonContainer/RowEditOkButton" to="." method="OkClicked"]