ruber 0.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +339 -0
- data/INSTALL +137 -0
- data/LICENSE +8 -0
- data/bin/ruber +65 -0
- data/data/share/apps/ruber/core_components.yaml +31 -0
- data/data/share/apps/ruber/ruberui.rc +109 -0
- data/data/share/icons/ruber.png +0 -0
- data/data/share/pixmaps/ruby.png +0 -0
- data/icons/ruber-16.png +0 -0
- data/icons/ruber-32.png +0 -0
- data/icons/ruber-48.png +0 -0
- data/icons/ruber-8.png +0 -0
- data/lib/ruber/application/application.rb +288 -0
- data/lib/ruber/application/plugin.yaml +11 -0
- data/lib/ruber/component_manager.rb +899 -0
- data/lib/ruber/config/config.rb +82 -0
- data/lib/ruber/config/plugin.yaml +3 -0
- data/lib/ruber/document_project.rb +209 -0
- data/lib/ruber/documents/document_list.rb +416 -0
- data/lib/ruber/documents/plugin.yaml +4 -0
- data/lib/ruber/editor/document.rb +506 -0
- data/lib/ruber/editor/editor_view.rb +167 -0
- data/lib/ruber/editor/ktexteditor_wrapper.rb +202 -0
- data/lib/ruber/exception_widgets.rb +245 -0
- data/lib/ruber/external_program_plugin.rb +397 -0
- data/lib/ruber/filtered_output_widget.rb +342 -0
- data/lib/ruber/gui_states_handler.rb +231 -0
- data/lib/ruber/kde_config_option_backend.rb +167 -0
- data/lib/ruber/kde_sugar.rb +249 -0
- data/lib/ruber/main_window/choose_plugins_dlg.rb +353 -0
- data/lib/ruber/main_window/main_window.rb +524 -0
- data/lib/ruber/main_window/main_window_actions.rb +537 -0
- data/lib/ruber/main_window/main_window_internal.rb +239 -0
- data/lib/ruber/main_window/open_file_in_project_dlg.rb +212 -0
- data/lib/ruber/main_window/output_color_widget.rb +35 -0
- data/lib/ruber/main_window/plugin.yaml +58 -0
- data/lib/ruber/main_window/save_modified_files_dlg.rb +89 -0
- data/lib/ruber/main_window/status_bar.rb +156 -0
- data/lib/ruber/main_window/ui/choose_plugins_widget.rb +90 -0
- data/lib/ruber/main_window/ui/choose_plugins_widget.ui +77 -0
- data/lib/ruber/main_window/ui/main_window_settings_widget.rb +108 -0
- data/lib/ruber/main_window/ui/main_window_settings_widget.ui +89 -0
- data/lib/ruber/main_window/ui/new_project_widget.rb +119 -0
- data/lib/ruber/main_window/ui/new_project_widget.ui +178 -0
- data/lib/ruber/main_window/ui/open_file_in_project_dlg.rb +109 -0
- data/lib/ruber/main_window/ui/open_file_in_project_dlg.ui +168 -0
- data/lib/ruber/main_window/ui/output_color_widget.rb +241 -0
- data/lib/ruber/main_window/ui/output_color_widget.ui +204 -0
- data/lib/ruber/main_window/workspace.rb +442 -0
- data/lib/ruber/output_widget.rb +1093 -0
- data/lib/ruber/plugin.rb +264 -0
- data/lib/ruber/plugin_like.rb +589 -0
- data/lib/ruber/plugin_specification.rb +106 -0
- data/lib/ruber/plugin_specification_reader.rb +451 -0
- data/lib/ruber/project.rb +493 -0
- data/lib/ruber/project_backend.rb +105 -0
- data/lib/ruber/projects/plugin.yaml +11 -0
- data/lib/ruber/projects/project_files_list.rb +314 -0
- data/lib/ruber/projects/project_files_widget.rb +301 -0
- data/lib/ruber/projects/project_list.rb +314 -0
- data/lib/ruber/projects/ui/project_files_rule_chooser_widget.rb +74 -0
- data/lib/ruber/projects/ui/project_files_rule_chooser_widget.ui +61 -0
- data/lib/ruber/projects/ui/project_files_widget.rb +117 -0
- data/lib/ruber/projects/ui/project_files_widget.ui +123 -0
- data/lib/ruber/qt_sugar.rb +673 -0
- data/lib/ruber/settings_container.rb +515 -0
- data/lib/ruber/settings_dialog.rb +244 -0
- data/lib/ruber/settings_dialog_manager.rb +503 -0
- data/lib/ruber/utils.rb +414 -0
- data/lib/ruber/yaml_option_backend.rb +159 -0
- data/outsider_files +15 -0
- data/plugins/autosave/autosave.rb +404 -0
- data/plugins/autosave/plugin.yaml +16 -0
- data/plugins/autosave/ui/autosave_config_widget.rb +83 -0
- data/plugins/autosave/ui/autosave_config_widget.ui +68 -0
- data/plugins/command/command.png +0 -0
- data/plugins/command/command.rb +74 -0
- data/plugins/command/plugin.yaml +11 -0
- data/plugins/find_in_files/find_in_files.rb +337 -0
- data/plugins/find_in_files/find_in_files_dlg.rb +411 -0
- data/plugins/find_in_files/find_in_files_ui.rc +11 -0
- data/plugins/find_in_files/find_in_files_widgets.rb +485 -0
- data/plugins/find_in_files/plugin.yaml +23 -0
- data/plugins/find_in_files/ui/config_widget.rb +58 -0
- data/plugins/find_in_files/ui/config_widget.ui +41 -0
- data/plugins/find_in_files/ui/find_in_files_widget.rb +260 -0
- data/plugins/find_in_files/ui/find_in_files_widget.ui +324 -0
- data/plugins/project_browser/plugin.yaml +10 -0
- data/plugins/project_browser/project_browser.rb +245 -0
- data/plugins/rake/plugin.yaml +39 -0
- data/plugins/rake/rake.png +0 -0
- data/plugins/rake/rake.rb +567 -0
- data/plugins/rake/rake_extension.rb +153 -0
- data/plugins/rake/rake_widgets.rb +615 -0
- data/plugins/rake/rakeui.rc +27 -0
- data/plugins/rake/ui/add_quick_task_widget.rb +71 -0
- data/plugins/rake/ui/add_quick_task_widget.ui +59 -0
- data/plugins/rake/ui/choose_task_widget.rb +77 -0
- data/plugins/rake/ui/choose_task_widget.ui +72 -0
- data/plugins/rake/ui/config_widget.rb +127 -0
- data/plugins/rake/ui/config_widget.ui +123 -0
- data/plugins/rake/ui/project_widget.rb +217 -0
- data/plugins/rake/ui/project_widget.ui +246 -0
- data/plugins/rspec/plugin.yaml +30 -0
- data/plugins/rspec/rspec.png +0 -0
- data/plugins/rspec/rspec.rb +945 -0
- data/plugins/rspec/rspec.svg +90 -0
- data/plugins/rspec/rspecui.rc +20 -0
- data/plugins/rspec/ruber_rspec_formatter.rb +312 -0
- data/plugins/rspec/ui/rspec_project_widget.rb +170 -0
- data/plugins/rspec/ui/rspec_project_widget.ui +193 -0
- data/plugins/ruby_development/plugin.yaml +27 -0
- data/plugins/ruby_development/ruby_development.png +0 -0
- data/plugins/ruby_development/ruby_development.rb +453 -0
- data/plugins/ruby_development/ruby_developmentui.rc +19 -0
- data/plugins/ruby_development/ui/project_widget.rb +112 -0
- data/plugins/ruby_development/ui/project_widget.ui +108 -0
- data/plugins/ruby_runner/config_widget.rb +116 -0
- data/plugins/ruby_runner/plugin.yaml +26 -0
- data/plugins/ruby_runner/project_widget.rb +62 -0
- data/plugins/ruby_runner/ruby.png +0 -0
- data/plugins/ruby_runner/ruby_interpretersui.rc +26 -0
- data/plugins/ruby_runner/ruby_runner.rb +411 -0
- data/plugins/ruby_runner/ui/config_widget.rb +92 -0
- data/plugins/ruby_runner/ui/config_widget.ui +91 -0
- data/plugins/ruby_runner/ui/project_widget.rb +60 -0
- data/plugins/ruby_runner/ui/project_widget.ui +48 -0
- data/plugins/ruby_runner/ui/ruby_runnner_plugin_option_widget.rb +59 -0
- data/plugins/ruby_runner/ui/ruby_runnner_plugin_option_widget.ui +44 -0
- data/plugins/state/plugin.yaml +28 -0
- data/plugins/state/state.rb +520 -0
- data/plugins/state/ui/config_widget.rb +92 -0
- data/plugins/state/ui/config_widget.ui +89 -0
- data/plugins/syntax_checker/plugin.yaml +18 -0
- data/plugins/syntax_checker/syntax_checker.rb +662 -0
- data/ruber.desktop +10 -0
- data/spec/annotation_model_spec.rb +174 -0
- data/spec/common.rb +119 -0
- data/spec/component_manager_spec.rb +1259 -0
- data/spec/document_list_spec.rb +626 -0
- data/spec/document_project_spec.rb +373 -0
- data/spec/document_spec.rb +779 -0
- data/spec/editor_view_spec.rb +167 -0
- data/spec/external_program_plugin_spec.rb +676 -0
- data/spec/filtered_output_widget_spec.rb +642 -0
- data/spec/gui_states_handler_spec.rb +304 -0
- data/spec/kde_config_option_backend_spec.rb +214 -0
- data/spec/kde_sugar_spec.rb +101 -0
- data/spec/ktexteditor_wrapper_spec.rb +305 -0
- data/spec/output_widget_spec.rb +1703 -0
- data/spec/plugin_spec.rb +1393 -0
- data/spec/plugin_specification_reader_spec.rb +1765 -0
- data/spec/plugin_specification_spec.rb +401 -0
- data/spec/project_backend_spec.rb +172 -0
- data/spec/project_files_list_spec.rb +401 -0
- data/spec/project_list_spec.rb +511 -0
- data/spec/project_spec.rb +990 -0
- data/spec/qt_sugar_spec.rb +328 -0
- data/spec/settings_container_spec.rb +617 -0
- data/spec/settings_dialog_manager_spec.rb +773 -0
- data/spec/settings_dialog_spec.rb +419 -0
- data/spec/state_spec.rb +991 -0
- data/spec/utils_spec.rb +406 -0
- data/spec/workspace_spec.rb +869 -0
- data/spec/yaml_option_backend_spec.rb +246 -0
- metadata +284 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE kpartgui SYSTEM 'kpartgui.dtd'>
|
2
|
+
<kpartgui version="1" name="ruber-rake_plugin" >
|
3
|
+
<MenuBar>
|
4
|
+
<Menu noMerge="1" name="ruby" >
|
5
|
+
<text>&Ruby</text>
|
6
|
+
<Separator/>
|
7
|
+
<Menu noMerge="1" name="rake">
|
8
|
+
<text>Ra&ke</text>
|
9
|
+
<Action name="rake-run"/>
|
10
|
+
<Action name="rake-run_default"/>
|
11
|
+
<Separator/>
|
12
|
+
<Action name="rake-stop"/>
|
13
|
+
<Menu name="rake-quick_tasks">
|
14
|
+
<text>&Quick Tasks</text>
|
15
|
+
<ActionList name="rake-quick_tasks_list"/>
|
16
|
+
</Menu>
|
17
|
+
<Menu name="rake-project_tasks">
|
18
|
+
<text>&Project Tasks</text>
|
19
|
+
<Action name="rake-refresh"/>
|
20
|
+
<Separator/>
|
21
|
+
<ActionList name="rake-project_tasks_list"/>
|
22
|
+
</Menu>
|
23
|
+
</Menu>
|
24
|
+
</Menu>
|
25
|
+
</MenuBar>
|
26
|
+
<ActionProperties/>
|
27
|
+
</kpartgui>
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
** Form generated from reading ui file 'add_quick_task_widget.ui'
|
3
|
+
**
|
4
|
+
** Created: ven ott 29 17:39:04 2010
|
5
|
+
** by: Qt User Interface Compiler version 4.7.0
|
6
|
+
**
|
7
|
+
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
8
|
+
=end
|
9
|
+
|
10
|
+
class Ui_RakeAddQuickTaskWidget
|
11
|
+
attr_reader :horizontalLayout
|
12
|
+
attr_reader :label
|
13
|
+
attr_reader :task
|
14
|
+
attr_reader :label_2
|
15
|
+
attr_reader :shortcut
|
16
|
+
|
17
|
+
def setupUi(rakeAddQuickTaskWidget)
|
18
|
+
if rakeAddQuickTaskWidget.objectName.nil?
|
19
|
+
rakeAddQuickTaskWidget.objectName = "rakeAddQuickTaskWidget"
|
20
|
+
end
|
21
|
+
rakeAddQuickTaskWidget.resize(400, 41)
|
22
|
+
@horizontalLayout = Qt::HBoxLayout.new(rakeAddQuickTaskWidget)
|
23
|
+
@horizontalLayout.objectName = "horizontalLayout"
|
24
|
+
@label = Qt::Label.new(rakeAddQuickTaskWidget)
|
25
|
+
@label.objectName = "label"
|
26
|
+
|
27
|
+
@horizontalLayout.addWidget(@label)
|
28
|
+
|
29
|
+
@task = KDE::LineEdit.new(rakeAddQuickTaskWidget)
|
30
|
+
@task.objectName = "task"
|
31
|
+
|
32
|
+
@horizontalLayout.addWidget(@task)
|
33
|
+
|
34
|
+
@label_2 = Qt::Label.new(rakeAddQuickTaskWidget)
|
35
|
+
@label_2.objectName = "label_2"
|
36
|
+
|
37
|
+
@horizontalLayout.addWidget(@label_2)
|
38
|
+
|
39
|
+
@shortcut = KDE::KeySequenceWidget.new(rakeAddQuickTaskWidget)
|
40
|
+
@shortcut.objectName = "shortcut"
|
41
|
+
|
42
|
+
@horizontalLayout.addWidget(@shortcut)
|
43
|
+
|
44
|
+
@label.buddy = @task
|
45
|
+
|
46
|
+
retranslateUi(rakeAddQuickTaskWidget)
|
47
|
+
|
48
|
+
Qt::MetaObject.connectSlotsByName(rakeAddQuickTaskWidget)
|
49
|
+
end # setupUi
|
50
|
+
|
51
|
+
def setup_ui(rakeAddQuickTaskWidget)
|
52
|
+
setupUi(rakeAddQuickTaskWidget)
|
53
|
+
end
|
54
|
+
|
55
|
+
def retranslateUi(rakeAddQuickTaskWidget)
|
56
|
+
rakeAddQuickTaskWidget.windowTitle = Qt::Application.translate("RakeAddQuickTaskWidget", "Form", nil, Qt::Application::UnicodeUTF8)
|
57
|
+
@label.text = Qt::Application.translate("RakeAddQuickTaskWidget", "&Task", nil, Qt::Application::UnicodeUTF8)
|
58
|
+
@label_2.text = Qt::Application.translate("RakeAddQuickTaskWidget", "Shortcut", nil, Qt::Application::UnicodeUTF8)
|
59
|
+
end # retranslateUi
|
60
|
+
|
61
|
+
def retranslate_ui(rakeAddQuickTaskWidget)
|
62
|
+
retranslateUi(rakeAddQuickTaskWidget)
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
|
67
|
+
module Ui
|
68
|
+
class RakeAddQuickTaskWidget < Ui_RakeAddQuickTaskWidget
|
69
|
+
end
|
70
|
+
end # module Ui
|
71
|
+
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>RakeAddQuickTaskWidget</class>
|
4
|
+
<widget class="QWidget" name="RakeAddQuickTaskWidget">
|
5
|
+
<property name="geometry">
|
6
|
+
<rect>
|
7
|
+
<x>0</x>
|
8
|
+
<y>0</y>
|
9
|
+
<width>400</width>
|
10
|
+
<height>41</height>
|
11
|
+
</rect>
|
12
|
+
</property>
|
13
|
+
<property name="windowTitle">
|
14
|
+
<string>Form</string>
|
15
|
+
</property>
|
16
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
17
|
+
<item>
|
18
|
+
<widget class="QLabel" name="label">
|
19
|
+
<property name="text">
|
20
|
+
<string>&Task</string>
|
21
|
+
</property>
|
22
|
+
<property name="buddy">
|
23
|
+
<cstring>task</cstring>
|
24
|
+
</property>
|
25
|
+
</widget>
|
26
|
+
</item>
|
27
|
+
<item>
|
28
|
+
<widget class="KLineEdit" name="task"/>
|
29
|
+
</item>
|
30
|
+
<item>
|
31
|
+
<widget class="QLabel" name="label_2">
|
32
|
+
<property name="text">
|
33
|
+
<string>Shortcut</string>
|
34
|
+
</property>
|
35
|
+
</widget>
|
36
|
+
</item>
|
37
|
+
<item>
|
38
|
+
<widget class="KKeySequenceWidget" name="shortcut"/>
|
39
|
+
</item>
|
40
|
+
</layout>
|
41
|
+
</widget>
|
42
|
+
<customwidgets>
|
43
|
+
<customwidget>
|
44
|
+
<class>KKeySequenceWidget</class>
|
45
|
+
<extends>QWidget</extends>
|
46
|
+
<header>kkeysequencewidget.h</header>
|
47
|
+
</customwidget>
|
48
|
+
<customwidget>
|
49
|
+
<class>KLineEdit</class>
|
50
|
+
<extends>QLineEdit</extends>
|
51
|
+
<header>klineedit.h</header>
|
52
|
+
</customwidget>
|
53
|
+
</customwidgets>
|
54
|
+
<tabstops>
|
55
|
+
<tabstop>task</tabstop>
|
56
|
+
</tabstops>
|
57
|
+
<resources/>
|
58
|
+
<connections/>
|
59
|
+
</ui>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
=begin
|
2
|
+
** Form generated from reading ui file 'choose_task_widget.ui'
|
3
|
+
**
|
4
|
+
** Created: ven ott 29 17:39:04 2010
|
5
|
+
** by: Qt User Interface Compiler version 4.7.0
|
6
|
+
**
|
7
|
+
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
8
|
+
=end
|
9
|
+
|
10
|
+
class Ui_RakeChooseTaskWidget
|
11
|
+
attr_reader :verticalLayout
|
12
|
+
attr_reader :groupBox
|
13
|
+
attr_reader :gridLayout
|
14
|
+
attr_reader :refresh_tasks
|
15
|
+
attr_reader :tasks
|
16
|
+
attr_reader :search_line
|
17
|
+
|
18
|
+
def setupUi(rakeChooseTaskWidget)
|
19
|
+
if rakeChooseTaskWidget.objectName.nil?
|
20
|
+
rakeChooseTaskWidget.objectName = "rakeChooseTaskWidget"
|
21
|
+
end
|
22
|
+
rakeChooseTaskWidget.resize(483, 313)
|
23
|
+
rakeChooseTaskWidget.minimumSize = Qt::Size.new(480, 300)
|
24
|
+
rakeChooseTaskWidget.baseSize = Qt::Size.new(480, 300)
|
25
|
+
rakeChooseTaskWidget.focusPolicy = Qt::NoFocus
|
26
|
+
@verticalLayout = Qt::VBoxLayout.new(rakeChooseTaskWidget)
|
27
|
+
@verticalLayout.objectName = "verticalLayout"
|
28
|
+
@groupBox = Qt::GroupBox.new(rakeChooseTaskWidget)
|
29
|
+
@groupBox.objectName = "groupBox"
|
30
|
+
@gridLayout = Qt::GridLayout.new(@groupBox)
|
31
|
+
@gridLayout.objectName = "gridLayout"
|
32
|
+
@refresh_tasks = Qt::PushButton.new(@groupBox)
|
33
|
+
@refresh_tasks.objectName = "refresh_tasks"
|
34
|
+
|
35
|
+
@gridLayout.addWidget(@refresh_tasks, 2, 0, 1, 1)
|
36
|
+
|
37
|
+
@tasks = Qt::TreeView.new(@groupBox)
|
38
|
+
@tasks.objectName = "tasks"
|
39
|
+
@tasks.rootIsDecorated = false
|
40
|
+
|
41
|
+
@gridLayout.addWidget(@tasks, 1, 0, 1, 1)
|
42
|
+
|
43
|
+
@search_line = KDE::FilterProxySearchLine.new(@groupBox)
|
44
|
+
@search_line.objectName = "search_line"
|
45
|
+
|
46
|
+
@gridLayout.addWidget(@search_line, 0, 0, 1, 1)
|
47
|
+
|
48
|
+
|
49
|
+
@verticalLayout.addWidget(@groupBox)
|
50
|
+
|
51
|
+
|
52
|
+
retranslateUi(rakeChooseTaskWidget)
|
53
|
+
|
54
|
+
Qt::MetaObject.connectSlotsByName(rakeChooseTaskWidget)
|
55
|
+
end # setupUi
|
56
|
+
|
57
|
+
def setup_ui(rakeChooseTaskWidget)
|
58
|
+
setupUi(rakeChooseTaskWidget)
|
59
|
+
end
|
60
|
+
|
61
|
+
def retranslateUi(rakeChooseTaskWidget)
|
62
|
+
rakeChooseTaskWidget.windowTitle = Qt::Application.translate("RakeChooseTaskWidget", "Form", nil, Qt::Application::UnicodeUTF8)
|
63
|
+
@groupBox.title = Qt::Application.translate("RakeChooseTaskWidget", "Tasks", nil, Qt::Application::UnicodeUTF8)
|
64
|
+
@refresh_tasks.text = Qt::Application.translate("RakeChooseTaskWidget", "&Refresh Tasks", nil, Qt::Application::UnicodeUTF8)
|
65
|
+
end # retranslateUi
|
66
|
+
|
67
|
+
def retranslate_ui(rakeChooseTaskWidget)
|
68
|
+
retranslateUi(rakeChooseTaskWidget)
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
72
|
+
|
73
|
+
module Ui
|
74
|
+
class RakeChooseTaskWidget < Ui_RakeChooseTaskWidget
|
75
|
+
end
|
76
|
+
end # module Ui
|
77
|
+
|
@@ -0,0 +1,72 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>RakeChooseTaskWidget</class>
|
4
|
+
<widget class="QWidget" name="RakeChooseTaskWidget">
|
5
|
+
<property name="geometry">
|
6
|
+
<rect>
|
7
|
+
<x>0</x>
|
8
|
+
<y>0</y>
|
9
|
+
<width>483</width>
|
10
|
+
<height>313</height>
|
11
|
+
</rect>
|
12
|
+
</property>
|
13
|
+
<property name="minimumSize">
|
14
|
+
<size>
|
15
|
+
<width>480</width>
|
16
|
+
<height>300</height>
|
17
|
+
</size>
|
18
|
+
</property>
|
19
|
+
<property name="baseSize">
|
20
|
+
<size>
|
21
|
+
<width>480</width>
|
22
|
+
<height>300</height>
|
23
|
+
</size>
|
24
|
+
</property>
|
25
|
+
<property name="focusPolicy">
|
26
|
+
<enum>Qt::NoFocus</enum>
|
27
|
+
</property>
|
28
|
+
<property name="windowTitle">
|
29
|
+
<string>Form</string>
|
30
|
+
</property>
|
31
|
+
<layout class="QVBoxLayout" name="verticalLayout">
|
32
|
+
<item>
|
33
|
+
<widget class="QGroupBox" name="groupBox">
|
34
|
+
<property name="title">
|
35
|
+
<string>Tasks</string>
|
36
|
+
</property>
|
37
|
+
<layout class="QGridLayout" name="gridLayout">
|
38
|
+
<item row="2" column="0">
|
39
|
+
<widget class="QPushButton" name="refresh_tasks">
|
40
|
+
<property name="text">
|
41
|
+
<string>&Refresh Tasks</string>
|
42
|
+
</property>
|
43
|
+
</widget>
|
44
|
+
</item>
|
45
|
+
<item row="1" column="0">
|
46
|
+
<widget class="QTreeView" name="tasks">
|
47
|
+
<property name="rootIsDecorated">
|
48
|
+
<bool>false</bool>
|
49
|
+
</property>
|
50
|
+
</widget>
|
51
|
+
</item>
|
52
|
+
<item row="0" column="0">
|
53
|
+
<widget class="KFilterProxySearchLine" name="search_line"/>
|
54
|
+
</item>
|
55
|
+
</layout>
|
56
|
+
</widget>
|
57
|
+
</item>
|
58
|
+
</layout>
|
59
|
+
</widget>
|
60
|
+
<customwidgets>
|
61
|
+
<customwidget>
|
62
|
+
<class>KFilterProxySearchLine</class>
|
63
|
+
<extends>QWidget</extends>
|
64
|
+
<header>kfilterproxysearchline.h</header>
|
65
|
+
</customwidget>
|
66
|
+
</customwidgets>
|
67
|
+
<tabstops>
|
68
|
+
<tabstop>refresh_tasks</tabstop>
|
69
|
+
</tabstops>
|
70
|
+
<resources/>
|
71
|
+
<connections/>
|
72
|
+
</ui>
|
@@ -0,0 +1,127 @@
|
|
1
|
+
=begin
|
2
|
+
** Form generated from reading ui file 'config_widget.ui'
|
3
|
+
**
|
4
|
+
** Created: ven ott 29 17:39:04 2010
|
5
|
+
** by: Qt User Interface Compiler version 4.7.0
|
6
|
+
**
|
7
|
+
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
8
|
+
=end
|
9
|
+
|
10
|
+
class Ui_RakeConfigWidget
|
11
|
+
attr_reader :gridLayout_2
|
12
|
+
attr_reader :groupBox
|
13
|
+
attr_reader :gridLayout
|
14
|
+
attr_reader :_rake__quick_tasks
|
15
|
+
attr_reader :add_task
|
16
|
+
attr_reader :remove_task
|
17
|
+
attr_reader :groupBox_2
|
18
|
+
attr_reader :verticalLayout
|
19
|
+
attr_reader :horizontalLayout
|
20
|
+
attr_reader :label
|
21
|
+
attr_reader :_rake__rake
|
22
|
+
attr_reader :_rake__sync_stdout
|
23
|
+
|
24
|
+
def setupUi(rakeConfigWidget)
|
25
|
+
if rakeConfigWidget.objectName.nil?
|
26
|
+
rakeConfigWidget.objectName = "rakeConfigWidget"
|
27
|
+
end
|
28
|
+
rakeConfigWidget.resize(401, 300)
|
29
|
+
@sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Preferred, Qt::SizePolicy::Preferred)
|
30
|
+
@sizePolicy.setHorizontalStretch(0)
|
31
|
+
@sizePolicy.setVerticalStretch(0)
|
32
|
+
@sizePolicy.heightForWidth = rakeConfigWidget.sizePolicy.hasHeightForWidth
|
33
|
+
rakeConfigWidget.sizePolicy = @sizePolicy
|
34
|
+
@gridLayout_2 = Qt::GridLayout.new(rakeConfigWidget)
|
35
|
+
@gridLayout_2.objectName = "gridLayout_2"
|
36
|
+
@groupBox = Qt::GroupBox.new(rakeConfigWidget)
|
37
|
+
@groupBox.objectName = "groupBox"
|
38
|
+
@sizePolicy1 = Qt::SizePolicy.new(Qt::SizePolicy::Expanding, Qt::SizePolicy::Expanding)
|
39
|
+
@sizePolicy1.setHorizontalStretch(0)
|
40
|
+
@sizePolicy1.setVerticalStretch(0)
|
41
|
+
@sizePolicy1.heightForWidth = @groupBox.sizePolicy.hasHeightForWidth
|
42
|
+
@groupBox.sizePolicy = @sizePolicy1
|
43
|
+
@gridLayout = Qt::GridLayout.new(@groupBox)
|
44
|
+
@gridLayout.objectName = "gridLayout"
|
45
|
+
@_rake__quick_tasks = RakeQuickTasksView.new(@groupBox)
|
46
|
+
@_rake__quick_tasks.objectName = "_rake__quick_tasks"
|
47
|
+
@_rake__quick_tasks.rootIsDecorated = false
|
48
|
+
@_rake__quick_tasks.allColumnsShowFocus = true
|
49
|
+
|
50
|
+
@gridLayout.addWidget(@_rake__quick_tasks, 0, 0, 3, 1)
|
51
|
+
|
52
|
+
@add_task = Qt::PushButton.new(@groupBox)
|
53
|
+
@add_task.objectName = "add_task"
|
54
|
+
|
55
|
+
@gridLayout.addWidget(@add_task, 0, 1, 1, 1)
|
56
|
+
|
57
|
+
@remove_task = Qt::PushButton.new(@groupBox)
|
58
|
+
@remove_task.objectName = "remove_task"
|
59
|
+
@remove_task.enabled = false
|
60
|
+
|
61
|
+
@gridLayout.addWidget(@remove_task, 1, 1, 1, 1)
|
62
|
+
|
63
|
+
|
64
|
+
@gridLayout_2.addWidget(@groupBox, 1, 0, 1, 2)
|
65
|
+
|
66
|
+
@groupBox_2 = Qt::GroupBox.new(rakeConfigWidget)
|
67
|
+
@groupBox_2.objectName = "groupBox_2"
|
68
|
+
@verticalLayout = Qt::VBoxLayout.new(@groupBox_2)
|
69
|
+
@verticalLayout.objectName = "verticalLayout"
|
70
|
+
@horizontalLayout = Qt::HBoxLayout.new()
|
71
|
+
@horizontalLayout.objectName = "horizontalLayout"
|
72
|
+
@label = Qt::Label.new(@groupBox_2)
|
73
|
+
@label.objectName = "label"
|
74
|
+
|
75
|
+
@horizontalLayout.addWidget(@label)
|
76
|
+
|
77
|
+
@_rake__rake = KDE::UrlRequester.new(@groupBox_2)
|
78
|
+
@_rake__rake.objectName = "_rake__rake"
|
79
|
+
|
80
|
+
@horizontalLayout.addWidget(@_rake__rake)
|
81
|
+
|
82
|
+
|
83
|
+
@verticalLayout.addLayout(@horizontalLayout)
|
84
|
+
|
85
|
+
@_rake__sync_stdout = Qt::CheckBox.new(@groupBox_2)
|
86
|
+
@_rake__sync_stdout.objectName = "_rake__sync_stdout"
|
87
|
+
|
88
|
+
@verticalLayout.addWidget(@_rake__sync_stdout)
|
89
|
+
|
90
|
+
|
91
|
+
@gridLayout_2.addWidget(@groupBox_2, 0, 0, 1, 1)
|
92
|
+
|
93
|
+
@label.buddy = @_rake__rake
|
94
|
+
|
95
|
+
retranslateUi(rakeConfigWidget)
|
96
|
+
|
97
|
+
Qt::MetaObject.connectSlotsByName(rakeConfigWidget)
|
98
|
+
end # setupUi
|
99
|
+
|
100
|
+
def setup_ui(rakeConfigWidget)
|
101
|
+
setupUi(rakeConfigWidget)
|
102
|
+
end
|
103
|
+
|
104
|
+
def retranslateUi(rakeConfigWidget)
|
105
|
+
rakeConfigWidget.windowTitle = Qt::Application.translate("RakeConfigWidget", "Form", nil, Qt::Application::UnicodeUTF8)
|
106
|
+
@groupBox.title = Qt::Application.translate("RakeConfigWidget", "&Quick Tasks", nil, Qt::Application::UnicodeUTF8)
|
107
|
+
@_rake__quick_tasks.setProperty("store", Qt::Variant.new(Qt::Application.translate("RakeConfigWidget", "$store_quick_tasks", nil, Qt::Application::UnicodeUTF8)))
|
108
|
+
@_rake__quick_tasks.setProperty("read", Qt::Variant.new(Qt::Application.translate("RakeConfigWidget", "$read_quick_tasks", nil, Qt::Application::UnicodeUTF8)))
|
109
|
+
@_rake__quick_tasks.setProperty("signal", Qt::Variant.new(Qt::Application.translate("RakeConfigWidget", "tasks_changed()", nil, Qt::Application::UnicodeUTF8)))
|
110
|
+
@add_task.text = Qt::Application.translate("RakeConfigWidget", "&Add Task...", nil, Qt::Application::UnicodeUTF8)
|
111
|
+
@remove_task.text = Qt::Application.translate("RakeConfigWidget", "&Remove Task", nil, Qt::Application::UnicodeUTF8)
|
112
|
+
@groupBox_2.title = Qt::Application.translate("RakeConfigWidget", "Rake option", nil, Qt::Application::UnicodeUTF8)
|
113
|
+
@label.text = Qt::Application.translate("RakeConfigWidget", "&Rake program", nil, Qt::Application::UnicodeUTF8)
|
114
|
+
@_rake__sync_stdout.text = Qt::Application.translate("RakeConfigWidget", "&Sync standard output", nil, Qt::Application::UnicodeUTF8)
|
115
|
+
end # retranslateUi
|
116
|
+
|
117
|
+
def retranslate_ui(rakeConfigWidget)
|
118
|
+
retranslateUi(rakeConfigWidget)
|
119
|
+
end
|
120
|
+
|
121
|
+
end
|
122
|
+
|
123
|
+
module Ui
|
124
|
+
class RakeConfigWidget < Ui_RakeConfigWidget
|
125
|
+
end
|
126
|
+
end # module Ui
|
127
|
+
|
@@ -0,0 +1,123 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>RakeConfigWidget</class>
|
4
|
+
<widget class="QWidget" name="RakeConfigWidget">
|
5
|
+
<property name="geometry">
|
6
|
+
<rect>
|
7
|
+
<x>0</x>
|
8
|
+
<y>0</y>
|
9
|
+
<width>401</width>
|
10
|
+
<height>300</height>
|
11
|
+
</rect>
|
12
|
+
</property>
|
13
|
+
<property name="sizePolicy">
|
14
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
15
|
+
<horstretch>0</horstretch>
|
16
|
+
<verstretch>0</verstretch>
|
17
|
+
</sizepolicy>
|
18
|
+
</property>
|
19
|
+
<property name="windowTitle">
|
20
|
+
<string>Form</string>
|
21
|
+
</property>
|
22
|
+
<layout class="QGridLayout" name="gridLayout_2">
|
23
|
+
<item row="1" column="0" colspan="2">
|
24
|
+
<widget class="QGroupBox" name="groupBox">
|
25
|
+
<property name="sizePolicy">
|
26
|
+
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
27
|
+
<horstretch>0</horstretch>
|
28
|
+
<verstretch>0</verstretch>
|
29
|
+
</sizepolicy>
|
30
|
+
</property>
|
31
|
+
<property name="title">
|
32
|
+
<string>&Quick Tasks</string>
|
33
|
+
</property>
|
34
|
+
<layout class="QGridLayout" name="gridLayout">
|
35
|
+
<item row="0" column="0" rowspan="3">
|
36
|
+
<widget class="RakeQuickTasksView" name="_rake__quick_tasks">
|
37
|
+
<property name="rootIsDecorated">
|
38
|
+
<bool>false</bool>
|
39
|
+
</property>
|
40
|
+
<property name="allColumnsShowFocus">
|
41
|
+
<bool>true</bool>
|
42
|
+
</property>
|
43
|
+
<property name="store" stdset="0">
|
44
|
+
<string>$store_quick_tasks</string>
|
45
|
+
</property>
|
46
|
+
<property name="read" stdset="0">
|
47
|
+
<string>$read_quick_tasks</string>
|
48
|
+
</property>
|
49
|
+
<property name="signal" stdset="0">
|
50
|
+
<string>tasks_changed()</string>
|
51
|
+
</property>
|
52
|
+
</widget>
|
53
|
+
</item>
|
54
|
+
<item row="0" column="1">
|
55
|
+
<widget class="QPushButton" name="add_task">
|
56
|
+
<property name="text">
|
57
|
+
<string>&Add Task...</string>
|
58
|
+
</property>
|
59
|
+
</widget>
|
60
|
+
</item>
|
61
|
+
<item row="1" column="1">
|
62
|
+
<widget class="QPushButton" name="remove_task">
|
63
|
+
<property name="enabled">
|
64
|
+
<bool>false</bool>
|
65
|
+
</property>
|
66
|
+
<property name="text">
|
67
|
+
<string>&Remove Task</string>
|
68
|
+
</property>
|
69
|
+
</widget>
|
70
|
+
</item>
|
71
|
+
</layout>
|
72
|
+
</widget>
|
73
|
+
</item>
|
74
|
+
<item row="0" column="0">
|
75
|
+
<widget class="QGroupBox" name="groupBox_2">
|
76
|
+
<property name="title">
|
77
|
+
<string>Rake option</string>
|
78
|
+
</property>
|
79
|
+
<layout class="QVBoxLayout" name="verticalLayout">
|
80
|
+
<item>
|
81
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
82
|
+
<item>
|
83
|
+
<widget class="QLabel" name="label">
|
84
|
+
<property name="text">
|
85
|
+
<string>&Rake program</string>
|
86
|
+
</property>
|
87
|
+
<property name="buddy">
|
88
|
+
<cstring>_rake__rake</cstring>
|
89
|
+
</property>
|
90
|
+
</widget>
|
91
|
+
</item>
|
92
|
+
<item>
|
93
|
+
<widget class="KUrlRequester" name="_rake__rake"/>
|
94
|
+
</item>
|
95
|
+
</layout>
|
96
|
+
</item>
|
97
|
+
<item>
|
98
|
+
<widget class="QCheckBox" name="_rake__sync_stdout">
|
99
|
+
<property name="text">
|
100
|
+
<string>&Sync standard output</string>
|
101
|
+
</property>
|
102
|
+
</widget>
|
103
|
+
</item>
|
104
|
+
</layout>
|
105
|
+
</widget>
|
106
|
+
</item>
|
107
|
+
</layout>
|
108
|
+
</widget>
|
109
|
+
<customwidgets>
|
110
|
+
<customwidget>
|
111
|
+
<class>KUrlRequester</class>
|
112
|
+
<extends>QFrame</extends>
|
113
|
+
<header>kurlrequester.h</header>
|
114
|
+
</customwidget>
|
115
|
+
<customwidget>
|
116
|
+
<class>RakeQuickTasksView</class>
|
117
|
+
<extends>QTreeView</extends>
|
118
|
+
<header>rakequicktasksview.h</header>
|
119
|
+
</customwidget>
|
120
|
+
</customwidgets>
|
121
|
+
<resources/>
|
122
|
+
<connections/>
|
123
|
+
</ui>
|