|
|
|
[gd_scene load_steps=6 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://gui/widgets/Background.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://gui/forms/NewPollForm.gd" type="Script" id=2]
|
|
|
|
[ext_resource path="res://gui/forms/CandidatesTree.gd" type="Script" id=3]
|
|
|
|
[ext_resource path="res://gui/popups/NoProviderPopup.tscn" type="PackedScene" id=4]
|
|
|
|
[ext_resource path="res://gui/themes/AndroidAppTheme.tres" type="Theme" id=5]
|
|
|
|
|
|
|
|
[node name="NewPollForm" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
theme = ExtResource( 5 )
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Background" parent="." instance=ExtResource( 1 )]
|
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
|
|
anchor_top = -0.00187078
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 0.998129
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_lock_": true,
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
|
|
margin_left = 80.0
|
|
|
|
margin_top = 170.0
|
|
|
|
margin_right = 532.0
|
|
|
|
margin_bottom = 628.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="TitleHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
|
|
|
|
visible = false
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 60.0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer/TitleHBoxContainer"]
|
|
|
|
margin_top = 10.0
|
|
|
|
margin_right = 72.0
|
|
|
|
margin_bottom = 50.0
|
|
|
|
text = "Title"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="TitleLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/TitleHBoxContainer"]
|
|
|
|
margin_left = 80.0
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 60.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
max_length = 256
|
|
|
|
placeholder_text = "Who should we raid?"
|
|
|
|
|
|
|
|
[node name="CandidatesContainer" type="MarginContainer" parent="CenterContainer/VBoxContainer"]
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 250.0
|
|
|
|
rect_min_size = Vector2( 230, 250 )
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="CandidatesTree" type="Tree" parent="CenterContainer/VBoxContainer/CandidatesContainer"]
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 250.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
hide_folding = true
|
|
|
|
hide_root = true
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="GradingHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
|
|
|
|
margin_top = 258.0
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 310.0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer/GradingHBoxContainer"]
|
|
|
|
self_modulate = Color( 1, 1, 1, 0.25098 )
|
|
|
|
margin_top = 6.0
|
|
|
|
margin_right = 128.0
|
|
|
|
margin_bottom = 46.0
|
|
|
|
text = "Grading"
|
|
|
|
|
|
|
|
[node name="GradingMenuButton" type="MenuButton" parent="CenterContainer/VBoxContainer/GradingHBoxContainer"]
|
|
|
|
margin_left = 136.0
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 52.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
disabled = true
|
|
|
|
text = "(6 grades)"
|
|
|
|
flat = false
|
|
|
|
clip_text = true
|
|
|
|
items = [ "Quality (2 grades)", null, 2, true, false, 0, 0, null, "", false, "Quality (3 grades)", null, 2, false, false, 0, 0, null, "", false, "Quality (4 grades)", null, 2, false, false, 2, 0, null, "", false ]
|
|
|
|
|
|
|
|
[node name="DelegationCheckButton" type="CheckButton" parent="CenterContainer/VBoxContainer"]
|
|
|
|
margin_top = 318.0
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 398.0
|
|
|
|
disabled = true
|
|
|
|
text = "Allow Delegations"
|
|
|
|
|
|
|
|
[node name="ButtonsHBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
|
|
|
|
margin_top = 406.0
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 458.0
|
|
|
|
|
|
|
|
[node name="CancelButton" type="Button" parent="CenterContainer/VBoxContainer/ButtonsHBoxContainer"]
|
|
|
|
margin_right = 214.0
|
|
|
|
margin_bottom = 52.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "CANCEL"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="CenterContainer/VBoxContainer/ButtonsHBoxContainer"]
|
|
|
|
margin_left = 222.0
|
|
|
|
margin_right = 230.0
|
|
|
|
margin_bottom = 52.0
|
|
|
|
|
|
|
|
[node name="LaunchButton" type="Button" parent="CenterContainer/VBoxContainer/ButtonsHBoxContainer"]
|
|
|
|
margin_left = 238.0
|
|
|
|
margin_right = 452.0
|
|
|
|
margin_bottom = 52.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "CREATE"
|
|
|
|
|
|
|
|
[node name="NoProviderPopup" parent="CenterContainer" instance=ExtResource( 4 )]
|
|
|
|
margin_left = 26.0
|
|
|
|
margin_top = 99.0
|
|
|
|
margin_right = 586.0
|
|
|
|
margin_bottom = 699.0
|
|
|
|
dialog_text = "No vote provider is enabled.
|
|
|
|
No-one will be able to vote!
|
|
|
|
|
|
|
|
Let's go pick one in the Settings!
|
|
|
|
I will come with you.
|
|
|
|
|
|
|
|
We're all in this together.
|
|
|
|
|
|
|
|
-- Your friend,
|
|
|
|
-- The Popup Painter
|
|
|
|
"
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/ButtonsHBoxContainer/CancelButton" to="." method="_on_CancelButton_pressed"]
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/ButtonsHBoxContainer/LaunchButton" to="." method="_on_LaunchButton_pressed"]
|