rugui 1.3.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Changelog +9 -0
- data/bin/rugui +4 -6
- data/lib/packing/release.rb +6 -5
- data/lib/rugui.rb +1 -1
- data/lib/rugui/framework_adapters/GTK.rb +21 -19
- data/lib/rugui/generators.rb +1 -0
- data/lib/rugui/generators/rugui/rugui.rb +89 -0
- data/{rugui_generators → lib/rugui/generators}/rugui/templates/README +0 -0
- data/{rugui_generators → lib/rugui/generators}/rugui/templates/Rakefile +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/app}/main.rb +0 -0
- data/{rugui_generators/rugui/templates/main_executable.erb → lib/rugui/generators/rugui/templates/bin/main_executable} +0 -0
- data/{rugui_generators/rugui/templates/main_executable.bat.erb → lib/rugui/generators/rugui/templates/bin/main_executable.bat} +1 -1
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config}/boot.rb +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config/environments}/development.rb.sample +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config/environments}/production.rb.sample +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/config/environments}/test.rb.sample +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/controllers}/application_controller.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/controllers}/main_controller.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/resources/glade}/main_view.glade +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/resources/styles}/main.rc +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views}/application_view.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views}/main_view.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/view_helpers}/application_view_helper.rb +0 -0
- data/{rugui_generators/rugui/templates/GTK → lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/view_helpers}/main_view_helper.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/controllers}/application_controller.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/controllers}/main_controller.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/resources/ui}/main_view.ui +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/views}/application_view.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/views}/main_view.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/view_helpers}/application_view_helper.rb +0 -0
- data/{rugui_generators/rugui/templates/Qt4 → lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/view_helpers}/main_view_helper.rb +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/rcov.opts +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/spec.opts +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/spec}/spec_helper.rb +0 -0
- data/{rugui_generators/rugui/templates → lib/rugui/generators/rugui/templates/test}/test_helper.rb +0 -0
- data/lib/rugui/observable_property_support.rb +2 -10
- data/script/spec +10 -0
- metadata +39 -81
- data/rugui_generators/controller/USAGE +0 -1
- data/rugui_generators/controller/controller_generator.rb +0 -35
- data/rugui_generators/controller/templates/controller.erb +0 -3
- data/rugui_generators/generators_support.rb +0 -75
- data/rugui_generators/model/USAGE +0 -1
- data/rugui_generators/model/model_generator.rb +0 -35
- data/rugui_generators/model/templates/model.erb +0 -3
- data/rugui_generators/pack/USAGE +0 -1
- data/rugui_generators/pack/pack_generator.rb +0 -40
- data/rugui_generators/pack/templates/README +0 -3
- data/rugui_generators/rugui/USAGE +0 -1
- data/rugui_generators/rugui/rugui_generator.rb +0 -163
- data/rugui_generators/rugui/templates/GTK/environment.rb +0 -39
- data/rugui_generators/rugui/templates/Qt4/environment.rb +0 -39
- data/rugui_generators/view/USAGE +0 -1
- data/rugui_generators/view/templates/toplevels/about_dialog.glade +0 -32
- data/rugui_generators/view/templates/toplevels/assistant.glade +0 -30
- data/rugui_generators/view/templates/toplevels/color_selection_dialog.glade +0 -60
- data/rugui_generators/view/templates/toplevels/dialog_box.glade +0 -35
- data/rugui_generators/view/templates/toplevels/file_chooser_dialog.glade +0 -35
- data/rugui_generators/view/templates/toplevels/font_selection_dialog.glade +0 -58
- data/rugui_generators/view/templates/toplevels/input_dialog.glade +0 -35
- data/rugui_generators/view/templates/toplevels/message_dialog.glade +0 -35
- data/rugui_generators/view/templates/toplevels/recent_chooser_dialog.glade +0 -33
- data/rugui_generators/view/templates/toplevels/window.glade +0 -11
- data/rugui_generators/view/templates/view.erb +0 -11
- data/rugui_generators/view/templates/view.glade +0 -4
- data/rugui_generators/view/templates/view.ui +0 -18
- data/rugui_generators/view/templates/view_helper.erb +0 -3
- data/rugui_generators/view/view_generator.rb +0 -36
data/rugui_generators/view/USAGE
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkAboutDialog" id="aboutdialog1">
|
|
5
|
-
<property name="border_width">5</property>
|
|
6
|
-
<property name="title" translatable="yes">About Glade</property>
|
|
7
|
-
<property name="resizable">False</property>
|
|
8
|
-
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
|
9
|
-
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
10
|
-
<property name="has_separator">False</property>
|
|
11
|
-
<property name="program_name">Glade</property>
|
|
12
|
-
<child internal-child="vbox">
|
|
13
|
-
<widget class="GtkVBox" id="dialog-vbox1">
|
|
14
|
-
<property name="visible">True</property>
|
|
15
|
-
<property name="spacing">2</property>
|
|
16
|
-
<child>
|
|
17
|
-
<placeholder/>
|
|
18
|
-
</child>
|
|
19
|
-
<child internal-child="action_area">
|
|
20
|
-
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
|
21
|
-
<property name="visible">True</property>
|
|
22
|
-
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
23
|
-
</widget>
|
|
24
|
-
<packing>
|
|
25
|
-
<property name="expand">False</property>
|
|
26
|
-
<property name="pack_type">GTK_PACK_END</property>
|
|
27
|
-
</packing>
|
|
28
|
-
</child>
|
|
29
|
-
</widget>
|
|
30
|
-
</child>
|
|
31
|
-
</widget>
|
|
32
|
-
</glade-interface>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkAssistant" id="assistant1">
|
|
5
|
-
<child>
|
|
6
|
-
<widget class="GtkLabel" id="label1">
|
|
7
|
-
<property name="visible">True</property>
|
|
8
|
-
<property name="label" translatable="yes">Introduction page</property>
|
|
9
|
-
</widget>
|
|
10
|
-
<packing>
|
|
11
|
-
<property name="page_type">GTK_ASSISTANT_PAGE_INTRO</property>
|
|
12
|
-
</packing>
|
|
13
|
-
</child>
|
|
14
|
-
<child>
|
|
15
|
-
<widget class="GtkLabel" id="label2">
|
|
16
|
-
<property name="visible">True</property>
|
|
17
|
-
<property name="label" translatable="yes">Content page</property>
|
|
18
|
-
</widget>
|
|
19
|
-
</child>
|
|
20
|
-
<child>
|
|
21
|
-
<widget class="GtkLabel" id="label3">
|
|
22
|
-
<property name="visible">True</property>
|
|
23
|
-
<property name="label" translatable="yes">Confirmation page</property>
|
|
24
|
-
</widget>
|
|
25
|
-
<packing>
|
|
26
|
-
<property name="page_type">GTK_ASSISTANT_PAGE_CONFIRM</property>
|
|
27
|
-
</packing>
|
|
28
|
-
</child>
|
|
29
|
-
</widget>
|
|
30
|
-
</glade-interface>
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkColorSelectionDialog" id="colorselectiondialog1">
|
|
5
|
-
<property name="border_width">5</property>
|
|
6
|
-
<property name="title" translatable="yes">Color Selection</property>
|
|
7
|
-
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
|
8
|
-
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
9
|
-
<child internal-child="color_selection">
|
|
10
|
-
<widget class="GtkColorSelection" id="colorsel-color_selection1">
|
|
11
|
-
<property name="visible">True</property>
|
|
12
|
-
<property name="border_width">5</property>
|
|
13
|
-
<property name="current_color">#ffffffffffff</property>
|
|
14
|
-
<child>
|
|
15
|
-
<placeholder/>
|
|
16
|
-
</child>
|
|
17
|
-
<child>
|
|
18
|
-
<placeholder/>
|
|
19
|
-
</child>
|
|
20
|
-
</widget>
|
|
21
|
-
</child>
|
|
22
|
-
<child internal-child="help_button">
|
|
23
|
-
<widget class="GtkButton" id="colorsel-help_button1">
|
|
24
|
-
<property name="visible">True</property>
|
|
25
|
-
<property name="can_focus">True</property>
|
|
26
|
-
<property name="can_default">True</property>
|
|
27
|
-
<property name="receives_default">True</property>
|
|
28
|
-
<property name="label" translatable="yes">gtk-help</property>
|
|
29
|
-
<property name="use_underline">True</property>
|
|
30
|
-
<property name="use_stock">True</property>
|
|
31
|
-
<property name="response_id">0</property>
|
|
32
|
-
</widget>
|
|
33
|
-
</child>
|
|
34
|
-
<child internal-child="cancel_button">
|
|
35
|
-
<widget class="GtkButton" id="colorsel-cancel_button1">
|
|
36
|
-
<property name="visible">True</property>
|
|
37
|
-
<property name="can_focus">True</property>
|
|
38
|
-
<property name="can_default">True</property>
|
|
39
|
-
<property name="receives_default">True</property>
|
|
40
|
-
<property name="label" translatable="yes">gtk-cancel</property>
|
|
41
|
-
<property name="use_underline">True</property>
|
|
42
|
-
<property name="use_stock">True</property>
|
|
43
|
-
<property name="response_id">0</property>
|
|
44
|
-
</widget>
|
|
45
|
-
</child>
|
|
46
|
-
<child internal-child="ok_button">
|
|
47
|
-
<widget class="GtkButton" id="colorsel-ok_button1">
|
|
48
|
-
<property name="visible">True</property>
|
|
49
|
-
<property name="can_focus">True</property>
|
|
50
|
-
<property name="can_default">True</property>
|
|
51
|
-
<property name="has_default">True</property>
|
|
52
|
-
<property name="receives_default">True</property>
|
|
53
|
-
<property name="label" translatable="yes">gtk-ok</property>
|
|
54
|
-
<property name="use_underline">True</property>
|
|
55
|
-
<property name="use_stock">True</property>
|
|
56
|
-
<property name="response_id">0</property>
|
|
57
|
-
</widget>
|
|
58
|
-
</child>
|
|
59
|
-
</widget>
|
|
60
|
-
</glade-interface>
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkDialog" id="dialog1">
|
|
5
|
-
<property name="border_width">5</property>
|
|
6
|
-
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
|
7
|
-
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
8
|
-
<property name="has_separator">False</property>
|
|
9
|
-
<child internal-child="vbox">
|
|
10
|
-
<widget class="GtkVBox" id="dialog-vbox1">
|
|
11
|
-
<property name="visible">True</property>
|
|
12
|
-
<property name="spacing">2</property>
|
|
13
|
-
<child>
|
|
14
|
-
<placeholder/>
|
|
15
|
-
</child>
|
|
16
|
-
<child internal-child="action_area">
|
|
17
|
-
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
|
18
|
-
<property name="visible">True</property>
|
|
19
|
-
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
20
|
-
<child>
|
|
21
|
-
<placeholder/>
|
|
22
|
-
</child>
|
|
23
|
-
<child>
|
|
24
|
-
<placeholder/>
|
|
25
|
-
</child>
|
|
26
|
-
</widget>
|
|
27
|
-
<packing>
|
|
28
|
-
<property name="expand">False</property>
|
|
29
|
-
<property name="pack_type">GTK_PACK_END</property>
|
|
30
|
-
</packing>
|
|
31
|
-
</child>
|
|
32
|
-
</widget>
|
|
33
|
-
</child>
|
|
34
|
-
</widget>
|
|
35
|
-
</glade-interface>
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkFileChooserDialog" id="filechooserdialog1">
|
|
5
|
-
<property name="border_width">5</property>
|
|
6
|
-
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
|
7
|
-
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
8
|
-
<property name="has_separator">False</property>
|
|
9
|
-
<child internal-child="vbox">
|
|
10
|
-
<widget class="GtkVBox" id="dialog-vbox1">
|
|
11
|
-
<property name="visible">True</property>
|
|
12
|
-
<property name="spacing">2</property>
|
|
13
|
-
<child>
|
|
14
|
-
<placeholder/>
|
|
15
|
-
</child>
|
|
16
|
-
<child internal-child="action_area">
|
|
17
|
-
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
|
18
|
-
<property name="visible">True</property>
|
|
19
|
-
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
20
|
-
<child>
|
|
21
|
-
<placeholder/>
|
|
22
|
-
</child>
|
|
23
|
-
<child>
|
|
24
|
-
<placeholder/>
|
|
25
|
-
</child>
|
|
26
|
-
</widget>
|
|
27
|
-
<packing>
|
|
28
|
-
<property name="expand">False</property>
|
|
29
|
-
<property name="pack_type">GTK_PACK_END</property>
|
|
30
|
-
</packing>
|
|
31
|
-
</child>
|
|
32
|
-
</widget>
|
|
33
|
-
</child>
|
|
34
|
-
</widget>
|
|
35
|
-
</glade-interface>
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkFontSelectionDialog" id="fontselectiondialog1">
|
|
5
|
-
<property name="border_width">5</property>
|
|
6
|
-
<property name="title" translatable="yes">Font Selection</property>
|
|
7
|
-
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
|
8
|
-
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
9
|
-
<child internal-child="font_selection">
|
|
10
|
-
<widget class="GtkFontSelection" id="fontsel-font_selection1">
|
|
11
|
-
<property name="visible">True</property>
|
|
12
|
-
<property name="border_width">5</property>
|
|
13
|
-
<property name="spacing">12</property>
|
|
14
|
-
<property name="font_name">Sans 12</property>
|
|
15
|
-
<child>
|
|
16
|
-
<placeholder/>
|
|
17
|
-
</child>
|
|
18
|
-
</widget>
|
|
19
|
-
</child>
|
|
20
|
-
<child internal-child="cancel_button">
|
|
21
|
-
<widget class="GtkButton" id="fontsel-cancel_button1">
|
|
22
|
-
<property name="visible">True</property>
|
|
23
|
-
<property name="can_focus">True</property>
|
|
24
|
-
<property name="can_default">True</property>
|
|
25
|
-
<property name="receives_default">True</property>
|
|
26
|
-
<property name="label" translatable="yes">gtk-cancel</property>
|
|
27
|
-
<property name="use_underline">True</property>
|
|
28
|
-
<property name="use_stock">True</property>
|
|
29
|
-
<property name="response_id">0</property>
|
|
30
|
-
</widget>
|
|
31
|
-
</child>
|
|
32
|
-
<child internal-child="apply_button">
|
|
33
|
-
<widget class="GtkButton" id="fontsel-apply_button1">
|
|
34
|
-
<property name="visible">True</property>
|
|
35
|
-
<property name="can_focus">True</property>
|
|
36
|
-
<property name="can_default">True</property>
|
|
37
|
-
<property name="receives_default">True</property>
|
|
38
|
-
<property name="label" translatable="yes">gtk-apply</property>
|
|
39
|
-
<property name="use_underline">True</property>
|
|
40
|
-
<property name="use_stock">True</property>
|
|
41
|
-
<property name="response_id">0</property>
|
|
42
|
-
</widget>
|
|
43
|
-
</child>
|
|
44
|
-
<child internal-child="ok_button">
|
|
45
|
-
<widget class="GtkButton" id="fontsel-ok_button1">
|
|
46
|
-
<property name="visible">True</property>
|
|
47
|
-
<property name="can_focus">True</property>
|
|
48
|
-
<property name="can_default">True</property>
|
|
49
|
-
<property name="has_default">True</property>
|
|
50
|
-
<property name="receives_default">True</property>
|
|
51
|
-
<property name="label" translatable="yes">gtk-ok</property>
|
|
52
|
-
<property name="use_underline">True</property>
|
|
53
|
-
<property name="use_stock">True</property>
|
|
54
|
-
<property name="response_id">0</property>
|
|
55
|
-
</widget>
|
|
56
|
-
</child>
|
|
57
|
-
</widget>
|
|
58
|
-
</glade-interface>
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkInputDialog" id="inputdialog1">
|
|
5
|
-
<property name="border_width">5</property>
|
|
6
|
-
<property name="title" translatable="yes">Input</property>
|
|
7
|
-
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
|
8
|
-
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
9
|
-
<child internal-child="save_button">
|
|
10
|
-
<widget class="GtkButton" id="inputdialog-save_button1">
|
|
11
|
-
<property name="visible">True</property>
|
|
12
|
-
<property name="can_focus">True</property>
|
|
13
|
-
<property name="can_default">True</property>
|
|
14
|
-
<property name="receives_default">True</property>
|
|
15
|
-
<property name="label" translatable="yes">gtk-save</property>
|
|
16
|
-
<property name="use_underline">True</property>
|
|
17
|
-
<property name="use_stock">True</property>
|
|
18
|
-
<property name="response_id">0</property>
|
|
19
|
-
</widget>
|
|
20
|
-
</child>
|
|
21
|
-
<child internal-child="close_button">
|
|
22
|
-
<widget class="GtkButton" id="inputdialog-close_button1">
|
|
23
|
-
<property name="visible">True</property>
|
|
24
|
-
<property name="can_focus">True</property>
|
|
25
|
-
<property name="can_default">True</property>
|
|
26
|
-
<property name="has_default">True</property>
|
|
27
|
-
<property name="receives_default">True</property>
|
|
28
|
-
<property name="label" translatable="yes">gtk-close</property>
|
|
29
|
-
<property name="use_underline">True</property>
|
|
30
|
-
<property name="use_stock">True</property>
|
|
31
|
-
<property name="response_id">0</property>
|
|
32
|
-
</widget>
|
|
33
|
-
</child>
|
|
34
|
-
</widget>
|
|
35
|
-
</glade-interface>
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkMessageDialog" id="messagedialog1">
|
|
5
|
-
<property name="border_width">5</property>
|
|
6
|
-
<property name="resizable">False</property>
|
|
7
|
-
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
|
8
|
-
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
9
|
-
<property name="skip_taskbar_hint">True</property>
|
|
10
|
-
<property name="has_separator">False</property>
|
|
11
|
-
<property name="image"></property>
|
|
12
|
-
<child internal-child="vbox">
|
|
13
|
-
<widget class="GtkVBox" id="dialog-vbox1">
|
|
14
|
-
<property name="visible">True</property>
|
|
15
|
-
<property name="spacing">2</property>
|
|
16
|
-
<child internal-child="action_area">
|
|
17
|
-
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
|
18
|
-
<property name="visible">True</property>
|
|
19
|
-
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
20
|
-
<child>
|
|
21
|
-
<placeholder/>
|
|
22
|
-
</child>
|
|
23
|
-
<child>
|
|
24
|
-
<placeholder/>
|
|
25
|
-
</child>
|
|
26
|
-
</widget>
|
|
27
|
-
<packing>
|
|
28
|
-
<property name="expand">False</property>
|
|
29
|
-
<property name="pack_type">GTK_PACK_END</property>
|
|
30
|
-
</packing>
|
|
31
|
-
</child>
|
|
32
|
-
</widget>
|
|
33
|
-
</child>
|
|
34
|
-
</widget>
|
|
35
|
-
</glade-interface>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkRecentChooserDialog" id="recentchooserdialog1">
|
|
5
|
-
<property name="border_width">5</property>
|
|
6
|
-
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
|
7
|
-
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
8
|
-
<property name="has_separator">False</property>
|
|
9
|
-
<property name="limit">50</property>
|
|
10
|
-
<child internal-child="vbox">
|
|
11
|
-
<widget class="GtkVBox" id="dialog-vbox1">
|
|
12
|
-
<property name="visible">True</property>
|
|
13
|
-
<property name="spacing">2</property>
|
|
14
|
-
<child internal-child="action_area">
|
|
15
|
-
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
|
16
|
-
<property name="visible">True</property>
|
|
17
|
-
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
18
|
-
<child>
|
|
19
|
-
<placeholder/>
|
|
20
|
-
</child>
|
|
21
|
-
<child>
|
|
22
|
-
<placeholder/>
|
|
23
|
-
</child>
|
|
24
|
-
</widget>
|
|
25
|
-
<packing>
|
|
26
|
-
<property name="expand">False</property>
|
|
27
|
-
<property name="pack_type">GTK_PACK_END</property>
|
|
28
|
-
</packing>
|
|
29
|
-
</child>
|
|
30
|
-
</widget>
|
|
31
|
-
</child>
|
|
32
|
-
</widget>
|
|
33
|
-
</glade-interface>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
3
|
-
<glade-interface>
|
|
4
|
-
<widget class="GtkWindow" id="window">
|
|
5
|
-
<property name="visible">True</property>
|
|
6
|
-
<property name="title" translatable="yes">Title</property>
|
|
7
|
-
<child>
|
|
8
|
-
<placeholder/>
|
|
9
|
-
</child>
|
|
10
|
-
</widget>
|
|
11
|
-
</glade-interface>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<ui version="4.0" >
|
|
2
|
-
<class>widget</class>
|
|
3
|
-
<widget class="QWidget" name="widget" >
|
|
4
|
-
<property name="geometry" >
|
|
5
|
-
<rect>
|
|
6
|
-
<x>0</x>
|
|
7
|
-
<y>0</y>
|
|
8
|
-
<width>400</width>
|
|
9
|
-
<height>300</height>
|
|
10
|
-
</rect>
|
|
11
|
-
</property>
|
|
12
|
-
<property name="windowTitle" >
|
|
13
|
-
<string>Widget</string>
|
|
14
|
-
</property>
|
|
15
|
-
</widget>
|
|
16
|
-
<resources/>
|
|
17
|
-
<connections/>
|
|
18
|
-
</ui>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
require File.join(File.dirname(__FILE__), "../generators_support")
|
|
2
|
-
|
|
3
|
-
class ViewGenerator < RubiGen::Base
|
|
4
|
-
include GeneratorsSupport
|
|
5
|
-
|
|
6
|
-
default_options :author => nil
|
|
7
|
-
|
|
8
|
-
attr_reader :name
|
|
9
|
-
|
|
10
|
-
def initialize(runtime_args, runtime_options = {})
|
|
11
|
-
@uses_builder = true
|
|
12
|
-
super
|
|
13
|
-
usage if args.empty?
|
|
14
|
-
@name = args.shift
|
|
15
|
-
extract_options
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
def manifest
|
|
19
|
-
record do |m|
|
|
20
|
-
build_view_templates(m)
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
protected
|
|
25
|
-
def banner
|
|
26
|
-
<<-EOS
|
|
27
|
-
Creates a RuGUI view with its resources.
|
|
28
|
-
|
|
29
|
-
USAGE: script/generate view YOUR_VIEW_NAME [options]
|
|
30
|
-
EOS
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
def add_options!(opts)
|
|
34
|
-
view_add_options!(opts)
|
|
35
|
-
end
|
|
36
|
-
end
|