-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMain.tscn
147 lines (125 loc) · 4.07 KB
/
Main.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[gd_scene load_steps=6 format=2]
[ext_resource path="res://src/UI/StatusBar/StatusBar.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/UI/UI.tscn" type="PackedScene" id=2]
[ext_resource path="res://Main.gd" type="Script" id=3]
[ext_resource path="res://assets/themes/dark/theme.tres" type="Theme" id=4]
[ext_resource path="res://src/UI/TopMenuContainer/TopMenuContainer.tscn" type="PackedScene" id=5]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 4 )
script = ExtResource( 3 )
[node name="MenuAndUI" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="TopMenuContainer" parent="MenuAndUI" instance=ExtResource( 5 )]
[node name="UI" parent="MenuAndUI" instance=ExtResource( 2 )]
margin_top = 29.0
margin_bottom = 566.0
[node name="StatusBar" parent="MenuAndUI" instance=ExtResource( 1 )]
[node name="HBoxContainer" type="HBoxContainer" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -149.07
margin_top = 38.1407
margin_right = -19.07
margin_bottom = 138.141
[node name="Buttons" type="VBoxContainer" parent="HBoxContainer"]
margin_right = 20.0
margin_bottom = 100.0
[node name="Add" type="Button" parent="HBoxContainer/Buttons"]
margin_right = 20.0
margin_bottom = 22.0
text = "+"
[node name="Delete" type="Button" parent="HBoxContainer/Buttons"]
margin_top = 26.0
margin_right = 20.0
margin_bottom = 48.0
text = "-"
[node name="Boards" type="VBoxContainer" parent="HBoxContainer"]
margin_left = 24.0
margin_right = 130.0
margin_bottom = 100.0
rect_min_size = Vector2( 106, 0 )
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="Dialogs" type="Control" parent="."]
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TaskOptions" type="WindowDialog" parent="Dialogs"]
margin_right = 354.0
margin_bottom = 265.0
[node name="VBoxContainer" type="VBoxContainer" parent="Dialogs/TaskOptions"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -165.0
margin_top = -107.5
margin_right = 165.0
margin_bottom = 90.5
__meta__ = {
"_edit_group_": true,
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Dialogs/TaskOptions/VBoxContainer"]
margin_right = 330.0
margin_bottom = 22.0
text = "Paste Link"
align = 1
[node name="LineEdit" type="LineEdit" parent="Dialogs/TaskOptions/VBoxContainer"]
margin_top = 26.0
margin_right = 330.0
margin_bottom = 48.0
caret_blink = true
caret_blink_speed = 0.5
[node name="Comment" type="TextEdit" parent="Dialogs/TaskOptions/VBoxContainer"]
margin_top = 52.0
margin_right = 330.0
margin_bottom = 198.0
size_flags_vertical = 3
text = "Comment..."
[node name="Load" type="Button" parent="Dialogs/TaskOptions"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -21.0
margin_top = -30.0908
margin_right = 21.0
margin_bottom = -10.0908
rect_min_size = Vector2( 42, 20 )
text = "Load"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RightMenu" type="PopupMenu" parent="Dialogs"]
popup_exclusive = true
[node name="OpenBoard" type="FileDialog" parent="Dialogs"]
margin_right = 537.0
margin_bottom = 398.0
rect_min_size = Vector2( 170, 59.5 )
window_title = "Open a File"
resizable = true
mode = 0
access = 2
filters = PoolStringArray( "*.vplan" )
[node name="SaveBoard" type="FileDialog" parent="Dialogs"]
margin_right = 537.0
margin_bottom = 398.0
rect_min_size = Vector2( 170, 59.5 )
resizable = true
access = 2
filters = PoolStringArray( "*.vplan" )
__meta__ = {
"_editor_description_": ""
}
[connection signal="tree_exiting" from="." to="." method="_on_Main_tree_exiting"]
[connection signal="pressed" from="HBoxContainer/Buttons/Add" to="." method="_on_Add_pressed"]
[connection signal="pressed" from="HBoxContainer/Buttons/Delete" to="." method="_on_Delete_pressed"]
[connection signal="index_pressed" from="Dialogs/RightMenu" to="." method="_on_RightMenu_index_pressed"]
[connection signal="mouse_entered" from="Dialogs/RightMenu" to="." method="_on_RightMenu_mouse_entered"]
[connection signal="mouse_exited" from="Dialogs/RightMenu" to="." method="_on_RightMenu_mouse_exited"]