ruber 0.0.1.1

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.
Files changed (166) hide show
  1. data/COPYING +339 -0
  2. data/INSTALL +137 -0
  3. data/LICENSE +8 -0
  4. data/bin/ruber +65 -0
  5. data/data/share/apps/ruber/core_components.yaml +31 -0
  6. data/data/share/apps/ruber/ruberui.rc +109 -0
  7. data/data/share/icons/ruber.png +0 -0
  8. data/data/share/pixmaps/ruby.png +0 -0
  9. data/icons/ruber-16.png +0 -0
  10. data/icons/ruber-32.png +0 -0
  11. data/icons/ruber-48.png +0 -0
  12. data/icons/ruber-8.png +0 -0
  13. data/lib/ruber/application/application.rb +288 -0
  14. data/lib/ruber/application/plugin.yaml +11 -0
  15. data/lib/ruber/component_manager.rb +899 -0
  16. data/lib/ruber/config/config.rb +82 -0
  17. data/lib/ruber/config/plugin.yaml +3 -0
  18. data/lib/ruber/document_project.rb +209 -0
  19. data/lib/ruber/documents/document_list.rb +416 -0
  20. data/lib/ruber/documents/plugin.yaml +4 -0
  21. data/lib/ruber/editor/document.rb +506 -0
  22. data/lib/ruber/editor/editor_view.rb +167 -0
  23. data/lib/ruber/editor/ktexteditor_wrapper.rb +202 -0
  24. data/lib/ruber/exception_widgets.rb +245 -0
  25. data/lib/ruber/external_program_plugin.rb +397 -0
  26. data/lib/ruber/filtered_output_widget.rb +342 -0
  27. data/lib/ruber/gui_states_handler.rb +231 -0
  28. data/lib/ruber/kde_config_option_backend.rb +167 -0
  29. data/lib/ruber/kde_sugar.rb +249 -0
  30. data/lib/ruber/main_window/choose_plugins_dlg.rb +353 -0
  31. data/lib/ruber/main_window/main_window.rb +524 -0
  32. data/lib/ruber/main_window/main_window_actions.rb +537 -0
  33. data/lib/ruber/main_window/main_window_internal.rb +239 -0
  34. data/lib/ruber/main_window/open_file_in_project_dlg.rb +212 -0
  35. data/lib/ruber/main_window/output_color_widget.rb +35 -0
  36. data/lib/ruber/main_window/plugin.yaml +58 -0
  37. data/lib/ruber/main_window/save_modified_files_dlg.rb +89 -0
  38. data/lib/ruber/main_window/status_bar.rb +156 -0
  39. data/lib/ruber/main_window/ui/choose_plugins_widget.rb +90 -0
  40. data/lib/ruber/main_window/ui/choose_plugins_widget.ui +77 -0
  41. data/lib/ruber/main_window/ui/main_window_settings_widget.rb +108 -0
  42. data/lib/ruber/main_window/ui/main_window_settings_widget.ui +89 -0
  43. data/lib/ruber/main_window/ui/new_project_widget.rb +119 -0
  44. data/lib/ruber/main_window/ui/new_project_widget.ui +178 -0
  45. data/lib/ruber/main_window/ui/open_file_in_project_dlg.rb +109 -0
  46. data/lib/ruber/main_window/ui/open_file_in_project_dlg.ui +168 -0
  47. data/lib/ruber/main_window/ui/output_color_widget.rb +241 -0
  48. data/lib/ruber/main_window/ui/output_color_widget.ui +204 -0
  49. data/lib/ruber/main_window/workspace.rb +442 -0
  50. data/lib/ruber/output_widget.rb +1093 -0
  51. data/lib/ruber/plugin.rb +264 -0
  52. data/lib/ruber/plugin_like.rb +589 -0
  53. data/lib/ruber/plugin_specification.rb +106 -0
  54. data/lib/ruber/plugin_specification_reader.rb +451 -0
  55. data/lib/ruber/project.rb +493 -0
  56. data/lib/ruber/project_backend.rb +105 -0
  57. data/lib/ruber/projects/plugin.yaml +11 -0
  58. data/lib/ruber/projects/project_files_list.rb +314 -0
  59. data/lib/ruber/projects/project_files_widget.rb +301 -0
  60. data/lib/ruber/projects/project_list.rb +314 -0
  61. data/lib/ruber/projects/ui/project_files_rule_chooser_widget.rb +74 -0
  62. data/lib/ruber/projects/ui/project_files_rule_chooser_widget.ui +61 -0
  63. data/lib/ruber/projects/ui/project_files_widget.rb +117 -0
  64. data/lib/ruber/projects/ui/project_files_widget.ui +123 -0
  65. data/lib/ruber/qt_sugar.rb +673 -0
  66. data/lib/ruber/settings_container.rb +515 -0
  67. data/lib/ruber/settings_dialog.rb +244 -0
  68. data/lib/ruber/settings_dialog_manager.rb +503 -0
  69. data/lib/ruber/utils.rb +414 -0
  70. data/lib/ruber/yaml_option_backend.rb +159 -0
  71. data/outsider_files +15 -0
  72. data/plugins/autosave/autosave.rb +404 -0
  73. data/plugins/autosave/plugin.yaml +16 -0
  74. data/plugins/autosave/ui/autosave_config_widget.rb +83 -0
  75. data/plugins/autosave/ui/autosave_config_widget.ui +68 -0
  76. data/plugins/command/command.png +0 -0
  77. data/plugins/command/command.rb +74 -0
  78. data/plugins/command/plugin.yaml +11 -0
  79. data/plugins/find_in_files/find_in_files.rb +337 -0
  80. data/plugins/find_in_files/find_in_files_dlg.rb +411 -0
  81. data/plugins/find_in_files/find_in_files_ui.rc +11 -0
  82. data/plugins/find_in_files/find_in_files_widgets.rb +485 -0
  83. data/plugins/find_in_files/plugin.yaml +23 -0
  84. data/plugins/find_in_files/ui/config_widget.rb +58 -0
  85. data/plugins/find_in_files/ui/config_widget.ui +41 -0
  86. data/plugins/find_in_files/ui/find_in_files_widget.rb +260 -0
  87. data/plugins/find_in_files/ui/find_in_files_widget.ui +324 -0
  88. data/plugins/project_browser/plugin.yaml +10 -0
  89. data/plugins/project_browser/project_browser.rb +245 -0
  90. data/plugins/rake/plugin.yaml +39 -0
  91. data/plugins/rake/rake.png +0 -0
  92. data/plugins/rake/rake.rb +567 -0
  93. data/plugins/rake/rake_extension.rb +153 -0
  94. data/plugins/rake/rake_widgets.rb +615 -0
  95. data/plugins/rake/rakeui.rc +27 -0
  96. data/plugins/rake/ui/add_quick_task_widget.rb +71 -0
  97. data/plugins/rake/ui/add_quick_task_widget.ui +59 -0
  98. data/plugins/rake/ui/choose_task_widget.rb +77 -0
  99. data/plugins/rake/ui/choose_task_widget.ui +72 -0
  100. data/plugins/rake/ui/config_widget.rb +127 -0
  101. data/plugins/rake/ui/config_widget.ui +123 -0
  102. data/plugins/rake/ui/project_widget.rb +217 -0
  103. data/plugins/rake/ui/project_widget.ui +246 -0
  104. data/plugins/rspec/plugin.yaml +30 -0
  105. data/plugins/rspec/rspec.png +0 -0
  106. data/plugins/rspec/rspec.rb +945 -0
  107. data/plugins/rspec/rspec.svg +90 -0
  108. data/plugins/rspec/rspecui.rc +20 -0
  109. data/plugins/rspec/ruber_rspec_formatter.rb +312 -0
  110. data/plugins/rspec/ui/rspec_project_widget.rb +170 -0
  111. data/plugins/rspec/ui/rspec_project_widget.ui +193 -0
  112. data/plugins/ruby_development/plugin.yaml +27 -0
  113. data/plugins/ruby_development/ruby_development.png +0 -0
  114. data/plugins/ruby_development/ruby_development.rb +453 -0
  115. data/plugins/ruby_development/ruby_developmentui.rc +19 -0
  116. data/plugins/ruby_development/ui/project_widget.rb +112 -0
  117. data/plugins/ruby_development/ui/project_widget.ui +108 -0
  118. data/plugins/ruby_runner/config_widget.rb +116 -0
  119. data/plugins/ruby_runner/plugin.yaml +26 -0
  120. data/plugins/ruby_runner/project_widget.rb +62 -0
  121. data/plugins/ruby_runner/ruby.png +0 -0
  122. data/plugins/ruby_runner/ruby_interpretersui.rc +26 -0
  123. data/plugins/ruby_runner/ruby_runner.rb +411 -0
  124. data/plugins/ruby_runner/ui/config_widget.rb +92 -0
  125. data/plugins/ruby_runner/ui/config_widget.ui +91 -0
  126. data/plugins/ruby_runner/ui/project_widget.rb +60 -0
  127. data/plugins/ruby_runner/ui/project_widget.ui +48 -0
  128. data/plugins/ruby_runner/ui/ruby_runnner_plugin_option_widget.rb +59 -0
  129. data/plugins/ruby_runner/ui/ruby_runnner_plugin_option_widget.ui +44 -0
  130. data/plugins/state/plugin.yaml +28 -0
  131. data/plugins/state/state.rb +520 -0
  132. data/plugins/state/ui/config_widget.rb +92 -0
  133. data/plugins/state/ui/config_widget.ui +89 -0
  134. data/plugins/syntax_checker/plugin.yaml +18 -0
  135. data/plugins/syntax_checker/syntax_checker.rb +662 -0
  136. data/ruber.desktop +10 -0
  137. data/spec/annotation_model_spec.rb +174 -0
  138. data/spec/common.rb +119 -0
  139. data/spec/component_manager_spec.rb +1259 -0
  140. data/spec/document_list_spec.rb +626 -0
  141. data/spec/document_project_spec.rb +373 -0
  142. data/spec/document_spec.rb +779 -0
  143. data/spec/editor_view_spec.rb +167 -0
  144. data/spec/external_program_plugin_spec.rb +676 -0
  145. data/spec/filtered_output_widget_spec.rb +642 -0
  146. data/spec/gui_states_handler_spec.rb +304 -0
  147. data/spec/kde_config_option_backend_spec.rb +214 -0
  148. data/spec/kde_sugar_spec.rb +101 -0
  149. data/spec/ktexteditor_wrapper_spec.rb +305 -0
  150. data/spec/output_widget_spec.rb +1703 -0
  151. data/spec/plugin_spec.rb +1393 -0
  152. data/spec/plugin_specification_reader_spec.rb +1765 -0
  153. data/spec/plugin_specification_spec.rb +401 -0
  154. data/spec/project_backend_spec.rb +172 -0
  155. data/spec/project_files_list_spec.rb +401 -0
  156. data/spec/project_list_spec.rb +511 -0
  157. data/spec/project_spec.rb +990 -0
  158. data/spec/qt_sugar_spec.rb +328 -0
  159. data/spec/settings_container_spec.rb +617 -0
  160. data/spec/settings_dialog_manager_spec.rb +773 -0
  161. data/spec/settings_dialog_spec.rb +419 -0
  162. data/spec/state_spec.rb +991 -0
  163. data/spec/utils_spec.rb +406 -0
  164. data/spec/workspace_spec.rb +869 -0
  165. data/spec/yaml_option_backend_spec.rb +246 -0
  166. metadata +284 -0
@@ -0,0 +1,109 @@
1
+ =begin
2
+ ** Form generated from reading ui file 'open_file_in_project_dlg.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_OpenFileInProjectDlg
11
+ attr_reader :gridLayout
12
+ attr_reader :label
13
+ attr_reader :pattern
14
+ attr_reader :label_2
15
+ attr_reader :buttons
16
+ attr_reader :regexp_error
17
+ attr_reader :file_list
18
+
19
+ def setupUi(openFileInProjectDlg)
20
+ if openFileInProjectDlg.objectName.nil?
21
+ openFileInProjectDlg.objectName = "openFileInProjectDlg"
22
+ end
23
+ openFileInProjectDlg.resize(400, 353)
24
+ @gridLayout = Qt::GridLayout.new(openFileInProjectDlg)
25
+ @gridLayout.objectName = "gridLayout"
26
+ @label = Qt::Label.new(openFileInProjectDlg)
27
+ @label.objectName = "label"
28
+
29
+ @gridLayout.addWidget(@label, 0, 0, 1, 1)
30
+
31
+ @pattern = KDE::LineEdit.new(openFileInProjectDlg)
32
+ @pattern.objectName = "pattern"
33
+
34
+ @gridLayout.addWidget(@pattern, 1, 0, 1, 1)
35
+
36
+ @label_2 = Qt::Label.new(openFileInProjectDlg)
37
+ @label_2.objectName = "label_2"
38
+
39
+ @gridLayout.addWidget(@label_2, 3, 0, 1, 1)
40
+
41
+ @buttons = Qt::DialogButtonBox.new(openFileInProjectDlg)
42
+ @buttons.objectName = "buttons"
43
+ @buttons.orientation = Qt::Horizontal
44
+ @buttons.standardButtons = Qt::DialogButtonBox::Cancel|Qt::DialogButtonBox::Ok
45
+
46
+ @gridLayout.addWidget(@buttons, 5, 0, 1, 1)
47
+
48
+ @regexp_error = Qt::Label.new(openFileInProjectDlg)
49
+ @regexp_error.objectName = "regexp_error"
50
+ @palette = Qt::Palette.new
51
+ brush = Qt::Brush.new(Qt::Color.new(255, 0, 0, 255))
52
+ brush.style = Qt::SolidPattern
53
+ @palette.setBrush(Qt::Palette::Active, Qt::Palette::WindowText, brush)
54
+ @palette.setBrush(Qt::Palette::Inactive, Qt::Palette::WindowText, brush)
55
+ brush1 = Qt::Brush.new(Qt::Color.new(137, 141, 146, 255))
56
+ brush1.style = Qt::SolidPattern
57
+ @palette.setBrush(Qt::Palette::Disabled, Qt::Palette::WindowText, brush1)
58
+ @regexp_error.palette = @palette
59
+ @regexp_error.alignment = Qt::AlignCenter
60
+
61
+ @gridLayout.addWidget(@regexp_error, 2, 0, 1, 1)
62
+
63
+ @file_list = Qt::ListView.new(openFileInProjectDlg)
64
+ @file_list.objectName = "file_list"
65
+ @file_list.horizontalScrollBarPolicy = Qt::ScrollBarAsNeeded
66
+ @file_list.setProperty("showDropIndicator", Qt::Variant.new(false))
67
+ @file_list.textElideMode = Qt::ElideRight
68
+ @file_list.horizontalScrollMode = Qt::AbstractItemView::ScrollPerPixel
69
+
70
+ @gridLayout.addWidget(@file_list, 4, 0, 1, 1)
71
+
72
+ @label.buddy = @pattern
73
+ @label_2.buddy = @file_list
74
+
75
+ retranslateUi(openFileInProjectDlg)
76
+ Qt::Object.connect(@buttons, SIGNAL('accepted()'), openFileInProjectDlg, SLOT('accept()'))
77
+ Qt::Object.connect(@buttons, SIGNAL('rejected()'), openFileInProjectDlg, SLOT('reject()'))
78
+
79
+ Qt::MetaObject.connectSlotsByName(openFileInProjectDlg)
80
+ end # setupUi
81
+
82
+ def setup_ui(openFileInProjectDlg)
83
+ setupUi(openFileInProjectDlg)
84
+ end
85
+
86
+ def retranslateUi(openFileInProjectDlg)
87
+ openFileInProjectDlg.windowTitle = Qt::Application.translate("OpenFileInProjectDlg", "Open project file", nil, Qt::Application::UnicodeUTF8)
88
+ @label.text = Qt::Application.translate("OpenFileInProjectDlg", "&Pattern", nil, Qt::Application::UnicodeUTF8)
89
+ @pattern.toolTip = Qt::Application.translate("OpenFileInProjectDlg", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" \
90
+ "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" \
91
+ "p, li { white-space: pre-wrap; }\n" \
92
+ "</style></head><body style=\" font-family:'Utopia'; font-size:10pt; font-weight:400; font-style:normal;\">\n" \
93
+ "<p align=\"justify\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">A regexp for the files to display. If it includes the path separator (the / character on UNIX), it will be matched agains the whole path of the file, otherwise only the name of the file will be matched</p></body></html>", nil, Qt::Application::UnicodeUTF8)
94
+ @pattern.whatsThis = Qt::Application.translate("OpenFileInProjectDlg", "A regexp for the files to display. If it includes the path separator (the / character on UNIX), it will be matched agains the whole path of the file, otherwise only the name of the file will be matched", nil, Qt::Application::UnicodeUTF8)
95
+ @label_2.text = Qt::Application.translate("OpenFileInProjectDlg", "&Files in project", nil, Qt::Application::UnicodeUTF8)
96
+ @regexp_error.text = Qt::Application.translate("OpenFileInProjectDlg", "Invalid regexp.", nil, Qt::Application::UnicodeUTF8)
97
+ end # retranslateUi
98
+
99
+ def retranslate_ui(openFileInProjectDlg)
100
+ retranslateUi(openFileInProjectDlg)
101
+ end
102
+
103
+ end
104
+
105
+ module Ui
106
+ class OpenFileInProjectDlg < Ui_OpenFileInProjectDlg
107
+ end
108
+ end # module Ui
109
+
@@ -0,0 +1,168 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ui version="4.0">
3
+ <class>OpenFileInProjectDlg</class>
4
+ <widget class="QDialog" name="OpenFileInProjectDlg">
5
+ <property name="geometry">
6
+ <rect>
7
+ <x>0</x>
8
+ <y>0</y>
9
+ <width>400</width>
10
+ <height>353</height>
11
+ </rect>
12
+ </property>
13
+ <property name="windowTitle">
14
+ <string>Open project file</string>
15
+ </property>
16
+ <layout class="QGridLayout" name="gridLayout">
17
+ <item row="0" column="0">
18
+ <widget class="QLabel" name="label">
19
+ <property name="text">
20
+ <string>&amp;Pattern</string>
21
+ </property>
22
+ <property name="buddy">
23
+ <cstring>pattern</cstring>
24
+ </property>
25
+ </widget>
26
+ </item>
27
+ <item row="1" column="0">
28
+ <widget class="KLineEdit" name="pattern">
29
+ <property name="toolTip">
30
+ <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
31
+ &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
32
+ p, li { white-space: pre-wrap; }
33
+ &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Utopia'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
34
+ &lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;A regexp for the files to display. If it includes the path separator (the / character on UNIX), it will be matched agains the whole path of the file, otherwise only the name of the file will be matched&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
35
+ </property>
36
+ <property name="whatsThis">
37
+ <string>A regexp for the files to display. If it includes the path separator (the / character on UNIX), it will be matched agains the whole path of the file, otherwise only the name of the file will be matched</string>
38
+ </property>
39
+ </widget>
40
+ </item>
41
+ <item row="3" column="0">
42
+ <widget class="QLabel" name="label_2">
43
+ <property name="text">
44
+ <string>&amp;Files in project</string>
45
+ </property>
46
+ <property name="buddy">
47
+ <cstring>file_list</cstring>
48
+ </property>
49
+ </widget>
50
+ </item>
51
+ <item row="5" column="0">
52
+ <widget class="QDialogButtonBox" name="buttons">
53
+ <property name="orientation">
54
+ <enum>Qt::Horizontal</enum>
55
+ </property>
56
+ <property name="standardButtons">
57
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
58
+ </property>
59
+ </widget>
60
+ </item>
61
+ <item row="2" column="0">
62
+ <widget class="QLabel" name="regexp_error">
63
+ <property name="palette">
64
+ <palette>
65
+ <active>
66
+ <colorrole role="WindowText">
67
+ <brush brushstyle="SolidPattern">
68
+ <color alpha="255">
69
+ <red>255</red>
70
+ <green>0</green>
71
+ <blue>0</blue>
72
+ </color>
73
+ </brush>
74
+ </colorrole>
75
+ </active>
76
+ <inactive>
77
+ <colorrole role="WindowText">
78
+ <brush brushstyle="SolidPattern">
79
+ <color alpha="255">
80
+ <red>255</red>
81
+ <green>0</green>
82
+ <blue>0</blue>
83
+ </color>
84
+ </brush>
85
+ </colorrole>
86
+ </inactive>
87
+ <disabled>
88
+ <colorrole role="WindowText">
89
+ <brush brushstyle="SolidPattern">
90
+ <color alpha="255">
91
+ <red>137</red>
92
+ <green>141</green>
93
+ <blue>146</blue>
94
+ </color>
95
+ </brush>
96
+ </colorrole>
97
+ </disabled>
98
+ </palette>
99
+ </property>
100
+ <property name="text">
101
+ <string>Invalid regexp.</string>
102
+ </property>
103
+ <property name="alignment">
104
+ <set>Qt::AlignCenter</set>
105
+ </property>
106
+ </widget>
107
+ </item>
108
+ <item row="4" column="0">
109
+ <widget class="QListView" name="file_list">
110
+ <property name="horizontalScrollBarPolicy">
111
+ <enum>Qt::ScrollBarAsNeeded</enum>
112
+ </property>
113
+ <property name="showDropIndicator" stdset="0">
114
+ <bool>false</bool>
115
+ </property>
116
+ <property name="textElideMode">
117
+ <enum>Qt::ElideRight</enum>
118
+ </property>
119
+ <property name="horizontalScrollMode">
120
+ <enum>QAbstractItemView::ScrollPerPixel</enum>
121
+ </property>
122
+ </widget>
123
+ </item>
124
+ </layout>
125
+ </widget>
126
+ <customwidgets>
127
+ <customwidget>
128
+ <class>KLineEdit</class>
129
+ <extends>QLineEdit</extends>
130
+ <header>klineedit.h</header>
131
+ </customwidget>
132
+ </customwidgets>
133
+ <resources/>
134
+ <connections>
135
+ <connection>
136
+ <sender>buttons</sender>
137
+ <signal>accepted()</signal>
138
+ <receiver>OpenFileInProjectDlg</receiver>
139
+ <slot>accept()</slot>
140
+ <hints>
141
+ <hint type="sourcelabel">
142
+ <x>248</x>
143
+ <y>254</y>
144
+ </hint>
145
+ <hint type="destinationlabel">
146
+ <x>157</x>
147
+ <y>274</y>
148
+ </hint>
149
+ </hints>
150
+ </connection>
151
+ <connection>
152
+ <sender>buttons</sender>
153
+ <signal>rejected()</signal>
154
+ <receiver>OpenFileInProjectDlg</receiver>
155
+ <slot>reject()</slot>
156
+ <hints>
157
+ <hint type="sourcelabel">
158
+ <x>316</x>
159
+ <y>260</y>
160
+ </hint>
161
+ <hint type="destinationlabel">
162
+ <x>286</x>
163
+ <y>274</y>
164
+ </hint>
165
+ </hints>
166
+ </connection>
167
+ </connections>
168
+ </ui>
@@ -0,0 +1,241 @@
1
+ =begin
2
+ ** Form generated from reading ui file 'output_color_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_OutputColorWidget
11
+ attr_reader :verticalLayout
12
+ attr_reader :gridLayout
13
+ attr_reader :label_9
14
+ attr_reader :label_8
15
+ attr_reader :label_7
16
+ attr_reader :_output_colors__message
17
+ attr_reader :_output_colors__message_good
18
+ attr_reader :_output_colors__message_bad
19
+ attr_reader :label_10
20
+ attr_reader :line
21
+ attr_reader :gridLayout_2
22
+ attr_reader :label
23
+ attr_reader :label_2
24
+ attr_reader :label_3
25
+ attr_reader :label_5
26
+ attr_reader :_output_colors__output
27
+ attr_reader :_output_colors__output1
28
+ attr_reader :_output_colors__output2
29
+ attr_reader :label_6
30
+ attr_reader :_output_colors__error
31
+ attr_reader :_output_colors__error1
32
+ attr_reader :_output_colors__error2
33
+ attr_reader :label_4
34
+ attr_reader :_output_colors__warning
35
+ attr_reader :_output_colors__warning1
36
+ attr_reader :_output_colors__warning2
37
+ attr_reader :verticalSpacer
38
+
39
+ def setupUi(outputColorWidget)
40
+ if outputColorWidget.objectName.nil?
41
+ outputColorWidget.objectName = "outputColorWidget"
42
+ end
43
+ outputColorWidget.resize(392, 189)
44
+ @verticalLayout = Qt::VBoxLayout.new(outputColorWidget)
45
+ @verticalLayout.objectName = "verticalLayout"
46
+ @gridLayout = Qt::GridLayout.new()
47
+ @gridLayout.objectName = "gridLayout"
48
+ @label_9 = Qt::Label.new(outputColorWidget)
49
+ @label_9.objectName = "label_9"
50
+ @label_9.alignment = Qt::AlignCenter
51
+
52
+ @gridLayout.addWidget(@label_9, 0, 1, 1, 1)
53
+
54
+ @label_8 = Qt::Label.new(outputColorWidget)
55
+ @label_8.objectName = "label_8"
56
+ @label_8.alignment = Qt::AlignCenter
57
+
58
+ @gridLayout.addWidget(@label_8, 0, 2, 1, 1)
59
+
60
+ @label_7 = Qt::Label.new(outputColorWidget)
61
+ @label_7.objectName = "label_7"
62
+
63
+ @gridLayout.addWidget(@label_7, 1, 0, 1, 1)
64
+
65
+ @_output_colors__message = KDE::ColorButton.new(outputColorWidget)
66
+ @_output_colors__message.objectName = "_output_colors__message"
67
+
68
+ @gridLayout.addWidget(@_output_colors__message, 1, 1, 1, 1)
69
+
70
+ @_output_colors__message_good = KDE::ColorButton.new(outputColorWidget)
71
+ @_output_colors__message_good.objectName = "_output_colors__message_good"
72
+
73
+ @gridLayout.addWidget(@_output_colors__message_good, 1, 2, 1, 1)
74
+
75
+ @_output_colors__message_bad = KDE::ColorButton.new(outputColorWidget)
76
+ @_output_colors__message_bad.objectName = "_output_colors__message_bad"
77
+
78
+ @gridLayout.addWidget(@_output_colors__message_bad, 1, 3, 1, 1)
79
+
80
+ @label_10 = Qt::Label.new(outputColorWidget)
81
+ @label_10.objectName = "label_10"
82
+ @label_10.alignment = Qt::AlignCenter
83
+
84
+ @gridLayout.addWidget(@label_10, 0, 3, 1, 1)
85
+
86
+
87
+ @verticalLayout.addLayout(@gridLayout)
88
+
89
+ @line = Qt::Frame.new(outputColorWidget)
90
+ @line.objectName = "line"
91
+ @line.setFrameShape(Qt::Frame::HLine)
92
+ @line.setFrameShadow(Qt::Frame::Sunken)
93
+
94
+ @verticalLayout.addWidget(@line)
95
+
96
+ @gridLayout_2 = Qt::GridLayout.new()
97
+ @gridLayout_2.objectName = "gridLayout_2"
98
+ @label = Qt::Label.new(outputColorWidget)
99
+ @label.objectName = "label"
100
+ @label.alignment = Qt::AlignCenter
101
+
102
+ @gridLayout_2.addWidget(@label, 0, 1, 1, 1)
103
+
104
+ @label_2 = Qt::Label.new(outputColorWidget)
105
+ @label_2.objectName = "label_2"
106
+ @label_2.alignment = Qt::AlignCenter
107
+
108
+ @gridLayout_2.addWidget(@label_2, 0, 2, 1, 1)
109
+
110
+ @label_3 = Qt::Label.new(outputColorWidget)
111
+ @label_3.objectName = "label_3"
112
+ @label_3.alignment = Qt::AlignCenter
113
+
114
+ @gridLayout_2.addWidget(@label_3, 0, 3, 1, 1)
115
+
116
+ @label_5 = Qt::Label.new(outputColorWidget)
117
+ @label_5.objectName = "label_5"
118
+
119
+ @gridLayout_2.addWidget(@label_5, 1, 0, 1, 1)
120
+
121
+ @_output_colors__output = KDE::ColorButton.new(outputColorWidget)
122
+ @_output_colors__output.objectName = "_output_colors__output"
123
+
124
+ @gridLayout_2.addWidget(@_output_colors__output, 1, 1, 1, 1)
125
+
126
+ @_output_colors__output1 = KDE::ColorButton.new(outputColorWidget)
127
+ @_output_colors__output1.objectName = "_output_colors__output1"
128
+
129
+ @gridLayout_2.addWidget(@_output_colors__output1, 1, 2, 1, 1)
130
+
131
+ @_output_colors__output2 = KDE::ColorButton.new(outputColorWidget)
132
+ @_output_colors__output2.objectName = "_output_colors__output2"
133
+
134
+ @gridLayout_2.addWidget(@_output_colors__output2, 1, 3, 1, 1)
135
+
136
+ @label_6 = Qt::Label.new(outputColorWidget)
137
+ @label_6.objectName = "label_6"
138
+
139
+ @gridLayout_2.addWidget(@label_6, 2, 0, 1, 1)
140
+
141
+ @_output_colors__error = KDE::ColorButton.new(outputColorWidget)
142
+ @_output_colors__error.objectName = "_output_colors__error"
143
+
144
+ @gridLayout_2.addWidget(@_output_colors__error, 2, 1, 1, 1)
145
+
146
+ @_output_colors__error1 = KDE::ColorButton.new(outputColorWidget)
147
+ @_output_colors__error1.objectName = "_output_colors__error1"
148
+
149
+ @gridLayout_2.addWidget(@_output_colors__error1, 2, 2, 1, 1)
150
+
151
+ @_output_colors__error2 = KDE::ColorButton.new(outputColorWidget)
152
+ @_output_colors__error2.objectName = "_output_colors__error2"
153
+
154
+ @gridLayout_2.addWidget(@_output_colors__error2, 2, 3, 1, 1)
155
+
156
+ @label_4 = Qt::Label.new(outputColorWidget)
157
+ @label_4.objectName = "label_4"
158
+
159
+ @gridLayout_2.addWidget(@label_4, 3, 0, 1, 1)
160
+
161
+ @_output_colors__warning = KDE::ColorButton.new(outputColorWidget)
162
+ @_output_colors__warning.objectName = "_output_colors__warning"
163
+
164
+ @gridLayout_2.addWidget(@_output_colors__warning, 3, 1, 1, 1)
165
+
166
+ @_output_colors__warning1 = KDE::ColorButton.new(outputColorWidget)
167
+ @_output_colors__warning1.objectName = "_output_colors__warning1"
168
+
169
+ @gridLayout_2.addWidget(@_output_colors__warning1, 3, 2, 1, 1)
170
+
171
+ @_output_colors__warning2 = KDE::ColorButton.new(outputColorWidget)
172
+ @_output_colors__warning2.objectName = "_output_colors__warning2"
173
+
174
+ @gridLayout_2.addWidget(@_output_colors__warning2, 3, 3, 1, 1)
175
+
176
+
177
+ @verticalLayout.addLayout(@gridLayout_2)
178
+
179
+ @verticalSpacer = Qt::SpacerItem.new(20, 40, Qt::SizePolicy::Minimum, Qt::SizePolicy::Expanding)
180
+
181
+ @verticalLayout.addItem(@verticalSpacer)
182
+
183
+ label.raise()
184
+ label_2.raise()
185
+ label_3.raise()
186
+ label_5.raise()
187
+ _output_colors__output.raise()
188
+ _output_colors__output1.raise()
189
+ _output_colors__output2.raise()
190
+ label_6.raise()
191
+ _output_colors__error.raise()
192
+ _output_colors__error1.raise()
193
+ _output_colors__error2.raise()
194
+ _output_colors__warning2.raise()
195
+ label_4.raise()
196
+ _output_colors__warning1.raise()
197
+ _output_colors__warning.raise()
198
+ line.raise()
199
+ _output_colors__message.raise()
200
+ _output_colors__message_bad.raise()
201
+ label_7.raise()
202
+ label_8.raise()
203
+ label_9.raise()
204
+ label_10.raise()
205
+ _output_colors__message_good.raise()
206
+ label_10.raise()
207
+
208
+ retranslateUi(outputColorWidget)
209
+
210
+ Qt::MetaObject.connectSlotsByName(outputColorWidget)
211
+ end # setupUi
212
+
213
+ def setup_ui(outputColorWidget)
214
+ setupUi(outputColorWidget)
215
+ end
216
+
217
+ def retranslateUi(outputColorWidget)
218
+ outputColorWidget.windowTitle = Qt::Application.translate("OutputColorWidget", "Form", nil, Qt::Application::UnicodeUTF8)
219
+ @label_9.text = Qt::Application.translate("OutputColorWidget", "Default", nil, Qt::Application::UnicodeUTF8)
220
+ @label_8.text = Qt::Application.translate("OutputColorWidget", "Good", nil, Qt::Application::UnicodeUTF8)
221
+ @label_7.text = Qt::Application.translate("OutputColorWidget", "Message", nil, Qt::Application::UnicodeUTF8)
222
+ @label_10.text = Qt::Application.translate("OutputColorWidget", "Bad", nil, Qt::Application::UnicodeUTF8)
223
+ @label.text = Qt::Application.translate("OutputColorWidget", "Default", nil, Qt::Application::UnicodeUTF8)
224
+ @label_2.text = Qt::Application.translate("OutputColorWidget", "Variant 1", nil, Qt::Application::UnicodeUTF8)
225
+ @label_3.text = Qt::Application.translate("OutputColorWidget", "Variant 2", nil, Qt::Application::UnicodeUTF8)
226
+ @label_5.text = Qt::Application.translate("OutputColorWidget", "Output", nil, Qt::Application::UnicodeUTF8)
227
+ @label_6.text = Qt::Application.translate("OutputColorWidget", "Error", nil, Qt::Application::UnicodeUTF8)
228
+ @label_4.text = Qt::Application.translate("OutputColorWidget", "Warning", nil, Qt::Application::UnicodeUTF8)
229
+ end # retranslateUi
230
+
231
+ def retranslate_ui(outputColorWidget)
232
+ retranslateUi(outputColorWidget)
233
+ end
234
+
235
+ end
236
+
237
+ module Ui
238
+ class OutputColorWidget < Ui_OutputColorWidget
239
+ end
240
+ end # module Ui
241
+