pandemonium_engine/modules/material_maker/editor/createnamepopup.h

52 lines
1.1 KiB
C++

#ifndef CREATENAMEPOPUP_H
#define CREATENAMEPOPUP_H
class CreateNamePopup : public ConfirmationDialog {
GDCLASS(CreateNamePopup, ConfirmationDialog);
public:
NodePath get_line_edit_path();
void set_line_edit_path(const NodePath &val);
NodePath get_tree_path();
void set_tree_path(const NodePath &val);
PoolStringArray get_type_folders();
void set_type_folders(const PoolStringArray &val);
String get__resource_type();
void set__resource_type(const String &val);
LineEdit get_ *_line_edit();
void set_ *_line_edit(const LineEdit &val);
Tree get_ *_tree();
void set_ *_tree(const Tree &val);
void _ready();
void set_resource_type(const String &resource_type);
void about_to_show();
void evaluate_folder(const String &folder, const TreeItem &root);
void _on_OK_pressed();
CreateNamePopup();
~CreateNamePopup();
protected:
static void _bind_methods();
//tool
signal ok_pressed;
//export(NodePath)
NodePath line_edit_path = ;
//export(NodePath)
NodePath tree_path = ;
//export(PoolStringArray)
PoolStringArray type_folders = ;
String _resource_type = "MMNode";
LineEdit *_line_edit;
Tree *_tree;
};
#endif