[gd_scene load_steps=5 format=2] [ext_resource path="res://addons/SimpleTODO/TODOColumn.gd" type="Script" id=1] [sub_resource type="StyleBoxFlat" id=3] content_margin_left = 4.0 content_margin_right = 4.0 content_margin_top = 4.0 content_margin_bottom = 4.0 bg_color = Color( 0, 0, 0, 0.501961 ) corner_radius_top_left = 4 corner_radius_top_right = 4 corner_radius_bottom_right = 4 corner_radius_bottom_left = 4 [sub_resource type="Image" id=4] data = { "data": PoolByteArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), "format": "LumAlpha8", "height": 16, "mipmaps": false, "width": 16 } [sub_resource type="ImageTexture" id=2] flags = 4 flags = 4 image = SubResource( 4 ) size = Vector2( 16, 16 ) [node name="TODOColumn" type="PanelContainer"] margin_right = 400.0 margin_bottom = 480.0 rect_min_size = Vector2( 400, 0 ) size_flags_vertical = 0 custom_styles/panel = SubResource( 3 ) script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false } [node name="VBoxContainer" type="VBoxContainer" parent="."] margin_left = 4.0 margin_top = 4.0 margin_right = 396.0 margin_bottom = 476.0 rect_min_size = Vector2( 200, 0 ) [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"] margin_right = 392.0 margin_bottom = 24.0 [node name="Name" type="LineEdit" parent="VBoxContainer/HBoxContainer2"] margin_right = 360.0 margin_bottom = 24.0 size_flags_horizontal = 3 text = "Column name" [node name="Counter" type="Label" parent="VBoxContainer/HBoxContainer2"] margin_left = 364.0 margin_top = 5.0 margin_right = 392.0 margin_bottom = 19.0 rect_min_size = Vector2( 28, 0 ) text = "0" align = 1 [node name="HSeparator" type="HSeparator" parent="VBoxContainer"] margin_top = 28.0 margin_right = 392.0 margin_bottom = 32.0 [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"] margin_top = 36.0 margin_right = 392.0 margin_bottom = 438.0 size_flags_vertical = 3 scroll_horizontal_enabled = false scroll_vertical_enabled = false [node name="Items" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"] margin_right = 392.0 margin_bottom = 402.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="HSeparator2" type="HSeparator" parent="VBoxContainer"] margin_top = 442.0 margin_right = 392.0 margin_bottom = 446.0 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] margin_top = 450.0 margin_right = 392.0 margin_bottom = 472.0 [node name="AddItem" type="Button" parent="VBoxContainer/HBoxContainer"] margin_right = 360.0 margin_bottom = 22.0 hint_tooltip = "Add item" size_flags_horizontal = 3 text = "+" [node name="DeleteColumn" type="Button" parent="VBoxContainer/HBoxContainer"] margin_left = 364.0 margin_right = 392.0 margin_bottom = 22.0 hint_tooltip = "Delete column" icon = SubResource( 2 ) [node name="Timer" type="Timer" parent="."] wait_time = 0.5 one_shot = true [connection signal="text_changed" from="VBoxContainer/HBoxContainer2/Name" to="." method="name_changed"] [connection signal="pressed" from="VBoxContainer/HBoxContainer/AddItem" to="." method="add_item" binds= [ true ]] [connection signal="pressed" from="VBoxContainer/HBoxContainer/DeleteColumn" to="." method="delete_column"] [connection signal="timeout" from="Timer" to="." method="request_save"]