@@ -43,7 +43,7 @@ member_keyword_colors = {
4343"res_type" : Color (1 , 0.713726 , 0.756863 , 1 )
4444}
4545
46- [node name ="CollectionView" type ="PanelContainer" node_paths =PackedStringArray ("_collection_button" , "_selection_button" , "_selected_collection_label" , "_collection_entries_container" , "_search_line_edit" , "_entries_view_page_counter" , "_filters_check_button" , "_filters_panel" , "_category_filters_container" , "_expression_filter_text_edit" , "_advanced_filter_options" , "overwrite_check_box " , "_categories_option_button" , "_update_category_button" )]
46+ [node name ="CollectionView" type ="PanelContainer" node_paths =PackedStringArray ("_collection_button" , "_selection_button" , "_selected_collection_label" , "_collection_entries_container" , "_search_line_edit" , "_entries_view_page_counter" , "_filters_check_button" , "_filters_panel" , "_category_filters_container" , "_expression_filter_text_edit" , "_advanced_filter_options" , "_no_categories_label " , "_categories_option_button" , "_update_category_button" , "_clear_category_button " )]
4747anchors_preset = 15
4848anchor_right = 1.0
4949anchor_bottom = 1.0
@@ -65,9 +65,10 @@ _filters_panel = NodePath("VBoxContainer/HSplitContainer/FiltersContainer")
6565_category_filters_container = NodePath ("VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/ScrollContainer/CategoryFiltersContainer" )
6666_expression_filter_text_edit = NodePath ("VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/ExpressionFilterTextEdit" )
6767_advanced_filter_options = NodePath ("VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions" )
68- overwrite_check_box = NodePath ("VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions/OverwriteCheckBox " )
68+ _no_categories_label = NodePath ("VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions/NoCategoriesLabel " )
6969_categories_option_button = NodePath ("VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions/CategoriesOptionButton" )
7070_update_category_button = NodePath ("VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions/UpdateCategoryButton" )
71+ _clear_category_button = NodePath ("VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions/ClearCategoryButton" )
7172
7273[node name ="VBoxContainer" type ="VBoxContainer" parent ="." ]
7374layout_mode = 2
@@ -136,11 +137,6 @@ popup/item_8/text = "Remove category from selected"
136137popup/item_8/id = 8
137138popup/item_8/disabled = true
138139
139- [node name ="TestingButton" type ="Button" parent ="VBoxContainer/ToolsPanel/ToolsContainer" ]
140- visible = false
141- layout_mode = 2
142- text = "Testing"
143-
144140[node name ="FiltersCheckButton" type ="CheckButton" parent ="VBoxContainer/ToolsPanel/ToolsContainer" ]
145141layout_mode = 2
146142size_flags_horizontal = 10
@@ -215,12 +211,10 @@ layout_mode = 2
215211size_flags_vertical = 3
216212size_flags_stretch_ratio = 2.0
217213
218- [node name ="CategoryFiltersContainer" type ="HFlowContainer " parent ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/ScrollContainer" ]
214+ [node name ="CategoryFiltersContainer" type ="VBoxContainer " parent ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/ScrollContainer" ]
219215layout_mode = 2
220216size_flags_horizontal = 3
221217size_flags_vertical = 3
222- theme_override_constants/h_separation = 6
223- theme_override_constants/v_separation = 6
224218
225219[node name ="HSeparator" type ="HSeparator" parent ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer" ]
226220layout_mode = 2
@@ -269,21 +263,29 @@ text = "Advanced"
269263visible = false
270264layout_mode = 2
271265
272- [node name ="OverwriteCheckBox " type ="CheckBox " parent ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions" ]
266+ [node name ="NoCategoriesLabel " type ="Label " parent ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions" ]
273267layout_mode = 2
274- text = "Overwrite"
268+ text = "No categories"
269+ horizontal_alignment = 1
275270
276271[node name ="CategoriesOptionButton" type ="OptionButton" parent ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions" ]
272+ visible = false
277273layout_mode = 2
278274text_overrun_behavior = 3
279275fit_to_longest_item = false
280276
281277[node name ="UpdateCategoryButton" type ="Button" parent ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions" ]
282278layout_mode = 2
279+ disabled = true
283280text = "Update category"
284281flat = true
285282
286- [connection signal ="pressed" from ="VBoxContainer/ToolsPanel/ToolsContainer/TestingButton" to ="." method ="_on_testing_button_pressed" ]
283+ [node name ="ClearCategoryButton" type ="Button" parent ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions" ]
284+ layout_mode = 2
285+ disabled = true
286+ text = "Clear category"
287+ flat = true
288+
287289[connection signal ="toggled" from ="VBoxContainer/ToolsPanel/ToolsContainer/FiltersCheckButton" to ="." method ="_on_filters_check_button_toggled" ]
288290[connection signal ="text_changed" from ="VBoxContainer/HSplitContainer/EntriesElements/VBoxContainer/SearchLineEdit" to ="." method ="_on_search_line_edit_text_changed" ]
289291[connection signal ="change_page_requested" from ="VBoxContainer/HSplitContainer/EntriesElements/VBoxContainer/ViewPageCounter" to ="." method ="_on_view_page_counter_change_page_requested" ]
@@ -292,3 +294,4 @@ flat = true
292294[connection signal ="pressed" from ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/ExpressionOptionsContainer/ClearExpressionButton" to ="." method ="_on_clear_expression_button_pressed" ]
293295[connection signal ="toggled" from ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptionsCheckButton" to ="." method ="_on_advanced_filter_options_check_button_toggled" ]
294296[connection signal ="pressed" from ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions/UpdateCategoryButton" to ="." method ="_on_update_category_button_pressed" ]
297+ [connection signal ="pressed" from ="VBoxContainer/HSplitContainer/FiltersContainer/VBoxContainer/AdvancedFilterOptions/ClearCategoryButton" to ="." method ="_on_clear_category_button_pressed" ]
0 commit comments