clevic 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,201 @@
1
+ <ui version="4.0" >
2
+ <class>Browser</class>
3
+ <widget class="QMainWindow" name="Browser" >
4
+ <property name="geometry" >
5
+ <rect>
6
+ <x>0</x>
7
+ <y>0</y>
8
+ <width>727</width>
9
+ <height>740</height>
10
+ </rect>
11
+ </property>
12
+ <property name="windowIcon" >
13
+ <iconset>icon.png</iconset>
14
+ </property>
15
+ <widget class="QWidget" name="main_widget" >
16
+ <layout class="QVBoxLayout" />
17
+ </widget>
18
+ <widget class="QStatusBar" name="statusbar" />
19
+ <widget class="QMenuBar" name="menubar" >
20
+ <property name="geometry" >
21
+ <rect>
22
+ <x>0</x>
23
+ <y>0</y>
24
+ <width>727</width>
25
+ <height>31</height>
26
+ </rect>
27
+ </property>
28
+ <widget class="QMenu" name="menu_file" >
29
+ <property name="title" >
30
+ <string>File</string>
31
+ </property>
32
+ <addaction name="action_open" />
33
+ <addaction name="action_close" />
34
+ <addaction name="action_recent" />
35
+ <addaction name="action_new_window" />
36
+ </widget>
37
+ <widget class="QMenu" name="menu_edit" >
38
+ <property name="title" >
39
+ <string>Edit</string>
40
+ </property>
41
+ <addaction name="action_cut" />
42
+ <addaction name="action_copy" />
43
+ <addaction name="action_paste" />
44
+ </widget>
45
+ <widget class="QMenu" name="menu_search" >
46
+ <property name="title" >
47
+ <string>&amp;Search</string>
48
+ </property>
49
+ <addaction name="action_filter" />
50
+ <addaction name="action_find" />
51
+ <addaction name="action_find_next" />
52
+ <addaction name="action_highlight" />
53
+ </widget>
54
+ <widget class="QMenu" name="menu_model" >
55
+ <property name="title" >
56
+ <string>&amp;Table</string>
57
+ </property>
58
+ <addaction name="action_new_row" />
59
+ <addaction name="action_next" />
60
+ <addaction name="action_previous" />
61
+ <addaction name="separator" />
62
+ <addaction name="action_refresh" />
63
+ <addaction name="action_dump" />
64
+ </widget>
65
+ <addaction name="menu_file" />
66
+ <addaction name="menu_edit" />
67
+ <addaction name="menu_search" />
68
+ <addaction name="menu_model" />
69
+ </widget>
70
+ <action name="action_open" >
71
+ <property name="text" >
72
+ <string>&amp;Open</string>
73
+ </property>
74
+ </action>
75
+ <action name="action_close" >
76
+ <property name="text" >
77
+ <string>Close</string>
78
+ </property>
79
+ </action>
80
+ <action name="action_recent" >
81
+ <property name="text" >
82
+ <string>Recent</string>
83
+ </property>
84
+ </action>
85
+ <action name="action_cut" >
86
+ <property name="text" >
87
+ <string>Cut</string>
88
+ </property>
89
+ </action>
90
+ <action name="action_copy" >
91
+ <property name="text" >
92
+ <string>Copy</string>
93
+ </property>
94
+ </action>
95
+ <action name="action_paste" >
96
+ <property name="text" >
97
+ <string>Paste</string>
98
+ </property>
99
+ </action>
100
+ <action name="action_filter" >
101
+ <property name="checkable" >
102
+ <bool>true</bool>
103
+ </property>
104
+ <property name="text" >
105
+ <string>F&amp;ilter by current</string>
106
+ </property>
107
+ <property name="toolTip" >
108
+ <string>Filter by value in current field</string>
109
+ </property>
110
+ <property name="shortcut" >
111
+ <string>Ctrl+L</string>
112
+ </property>
113
+ </action>
114
+ <action name="action_find" >
115
+ <property name="text" >
116
+ <string>&amp;Find First</string>
117
+ </property>
118
+ <property name="statusTip" >
119
+ <string>Find a row with some value</string>
120
+ </property>
121
+ <property name="shortcut" >
122
+ <string>Ctrl+F</string>
123
+ </property>
124
+ </action>
125
+ <action name="action_dump" >
126
+ <property name="text" >
127
+ <string>Dump</string>
128
+ </property>
129
+ <property name="shortcut" >
130
+ <string>Ctrl+Shift+D</string>
131
+ </property>
132
+ </action>
133
+ <action name="action_refresh" >
134
+ <property name="text" >
135
+ <string>&amp;Refresh</string>
136
+ </property>
137
+ <property name="iconText" >
138
+ <string>Refresh current table from database</string>
139
+ </property>
140
+ <property name="toolTip" >
141
+ <string>Refresh current table from database</string>
142
+ </property>
143
+ <property name="shortcut" >
144
+ <string>Ctrl+R</string>
145
+ </property>
146
+ </action>
147
+ <action name="action_next" >
148
+ <property name="text" >
149
+ <string>&amp;Next</string>
150
+ </property>
151
+ <property name="iconText" >
152
+ <string>Next</string>
153
+ </property>
154
+ <property name="toolTip" >
155
+ <string>Next Model</string>
156
+ </property>
157
+ <property name="shortcut" >
158
+ <string>Ctrl+Tab</string>
159
+ </property>
160
+ </action>
161
+ <action name="action_previous" >
162
+ <property name="text" >
163
+ <string>&amp;Previous</string>
164
+ </property>
165
+ <property name="toolTip" >
166
+ <string>Previous Model</string>
167
+ </property>
168
+ <property name="shortcut" >
169
+ <string>Ctrl+Shift+Backtab</string>
170
+ </property>
171
+ </action>
172
+ <action name="action_highlight" >
173
+ <property name="text" >
174
+ <string>&amp;Highlight</string>
175
+ </property>
176
+ <property name="shortcut" >
177
+ <string>Ctrl+H</string>
178
+ </property>
179
+ </action>
180
+ <action name="action_new_window" >
181
+ <property name="text" >
182
+ <string>&amp;New Window</string>
183
+ </property>
184
+ </action>
185
+ <action name="action_find_next" >
186
+ <property name="text" >
187
+ <string>Find &amp;Next</string>
188
+ </property>
189
+ <property name="shortcut" >
190
+ <string>Ctrl+G</string>
191
+ </property>
192
+ </action>
193
+ <action name="action_new_row" >
194
+ <property name="text" >
195
+ <string>New &amp;Row</string>
196
+ </property>
197
+ </action>
198
+ </widget>
199
+ <resources/>
200
+ <connections/>
201
+ </ui>
@@ -0,0 +1,176 @@
1
+ =begin
2
+ ** Form generated from reading ui file 'browser.ui'
3
+ **
4
+ ** Created: Thu Jun 26 18:01:14 2008
5
+ ** by: Qt User Interface Compiler version 4.3.3
6
+ **
7
+ ** WARNING! All changes made in this file will be lost when recompiling ui file!
8
+ =end
9
+
10
+ class Ui_Browser
11
+ attr_reader :action_open
12
+ attr_reader :action_close
13
+ attr_reader :action_recent
14
+ attr_reader :action_cut
15
+ attr_reader :action_copy
16
+ attr_reader :action_paste
17
+ attr_reader :action_filter
18
+ attr_reader :action_find
19
+ attr_reader :action_dump
20
+ attr_reader :action_refresh
21
+ attr_reader :action_next
22
+ attr_reader :action_previous
23
+ attr_reader :action_highlight
24
+ attr_reader :action_new_window
25
+ attr_reader :action_find_next
26
+ attr_reader :action_new_row
27
+ attr_reader :main_widget
28
+ attr_reader :vboxLayout
29
+ attr_reader :statusbar
30
+ attr_reader :menubar
31
+ attr_reader :menu_file
32
+ attr_reader :menu_edit
33
+ attr_reader :menu_search
34
+ attr_reader :menu_model
35
+
36
+ def setupUi(browser)
37
+ if browser.objectName.nil?
38
+ browser.objectName = "browser"
39
+ end
40
+ browser.resize(727, 740)
41
+ icon = Qt::Icon.new("icon.png")
42
+ browser.windowIcon = icon
43
+ @action_open = Qt::Action.new(browser)
44
+ @action_open.objectName = "action_open"
45
+ @action_close = Qt::Action.new(browser)
46
+ @action_close.objectName = "action_close"
47
+ @action_recent = Qt::Action.new(browser)
48
+ @action_recent.objectName = "action_recent"
49
+ @action_cut = Qt::Action.new(browser)
50
+ @action_cut.objectName = "action_cut"
51
+ @action_copy = Qt::Action.new(browser)
52
+ @action_copy.objectName = "action_copy"
53
+ @action_paste = Qt::Action.new(browser)
54
+ @action_paste.objectName = "action_paste"
55
+ @action_filter = Qt::Action.new(browser)
56
+ @action_filter.objectName = "action_filter"
57
+ @action_filter.checkable = true
58
+ @action_find = Qt::Action.new(browser)
59
+ @action_find.objectName = "action_find"
60
+ @action_dump = Qt::Action.new(browser)
61
+ @action_dump.objectName = "action_dump"
62
+ @action_refresh = Qt::Action.new(browser)
63
+ @action_refresh.objectName = "action_refresh"
64
+ @action_next = Qt::Action.new(browser)
65
+ @action_next.objectName = "action_next"
66
+ @action_previous = Qt::Action.new(browser)
67
+ @action_previous.objectName = "action_previous"
68
+ @action_highlight = Qt::Action.new(browser)
69
+ @action_highlight.objectName = "action_highlight"
70
+ @action_new_window = Qt::Action.new(browser)
71
+ @action_new_window.objectName = "action_new_window"
72
+ @action_find_next = Qt::Action.new(browser)
73
+ @action_find_next.objectName = "action_find_next"
74
+ @action_new_row = Qt::Action.new(browser)
75
+ @action_new_row.objectName = "action_new_row"
76
+ @main_widget = Qt::Widget.new(browser)
77
+ @main_widget.objectName = "main_widget"
78
+ @vboxLayout = Qt::VBoxLayout.new(@main_widget)
79
+ @vboxLayout.objectName = "vboxLayout"
80
+ browser.centralWidget = @main_widget
81
+ @statusbar = Qt::StatusBar.new(browser)
82
+ @statusbar.objectName = "statusbar"
83
+ browser.statusBar = @statusbar
84
+ @menubar = Qt::MenuBar.new(browser)
85
+ @menubar.objectName = "menubar"
86
+ @menubar.geometry = Qt::Rect.new(0, 0, 727, 31)
87
+ @menu_file = Qt::Menu.new(@menubar)
88
+ @menu_file.objectName = "menu_file"
89
+ @menu_edit = Qt::Menu.new(@menubar)
90
+ @menu_edit.objectName = "menu_edit"
91
+ @menu_search = Qt::Menu.new(@menubar)
92
+ @menu_search.objectName = "menu_search"
93
+ @menu_model = Qt::Menu.new(@menubar)
94
+ @menu_model.objectName = "menu_model"
95
+ browser.setMenuBar(@menubar)
96
+
97
+ @menubar.addAction(@menu_file.menuAction())
98
+ @menubar.addAction(@menu_edit.menuAction())
99
+ @menubar.addAction(@menu_search.menuAction())
100
+ @menubar.addAction(@menu_model.menuAction())
101
+ @menu_file.addAction(@action_open)
102
+ @menu_file.addAction(@action_close)
103
+ @menu_file.addAction(@action_recent)
104
+ @menu_file.addAction(@action_new_window)
105
+ @menu_edit.addAction(@action_cut)
106
+ @menu_edit.addAction(@action_copy)
107
+ @menu_edit.addAction(@action_paste)
108
+ @menu_search.addAction(@action_filter)
109
+ @menu_search.addAction(@action_find)
110
+ @menu_search.addAction(@action_find_next)
111
+ @menu_search.addAction(@action_highlight)
112
+ @menu_model.addAction(@action_new_row)
113
+ @menu_model.addAction(@action_next)
114
+ @menu_model.addAction(@action_previous)
115
+ @menu_model.addSeparator()
116
+ @menu_model.addAction(@action_refresh)
117
+ @menu_model.addAction(@action_dump)
118
+
119
+ retranslateUi(browser)
120
+
121
+ Qt::MetaObject.connectSlotsByName(browser)
122
+ end # setupUi
123
+
124
+ def setup_ui(browser)
125
+ setupUi(browser)
126
+ end
127
+
128
+ def retranslateUi(browser)
129
+ @action_open.text = Qt::Application.translate("Browser", "&Open", nil, Qt::Application::UnicodeUTF8)
130
+ @action_close.text = Qt::Application.translate("Browser", "Close", nil, Qt::Application::UnicodeUTF8)
131
+ @action_recent.text = Qt::Application.translate("Browser", "Recent", nil, Qt::Application::UnicodeUTF8)
132
+ @action_cut.text = Qt::Application.translate("Browser", "Cut", nil, Qt::Application::UnicodeUTF8)
133
+ @action_copy.text = Qt::Application.translate("Browser", "Copy", nil, Qt::Application::UnicodeUTF8)
134
+ @action_paste.text = Qt::Application.translate("Browser", "Paste", nil, Qt::Application::UnicodeUTF8)
135
+ @action_filter.text = Qt::Application.translate("Browser", "F&ilter by current", nil, Qt::Application::UnicodeUTF8)
136
+ @action_filter.toolTip = Qt::Application.translate("Browser", "Filter by value in current field", nil, Qt::Application::UnicodeUTF8)
137
+ @action_filter.shortcut = Qt::Application.translate("Browser", "Ctrl+L", nil, Qt::Application::UnicodeUTF8)
138
+ @action_find.text = Qt::Application.translate("Browser", "&Find First", nil, Qt::Application::UnicodeUTF8)
139
+ @action_find.statusTip = Qt::Application.translate("Browser", "Find a row with some value", nil, Qt::Application::UnicodeUTF8)
140
+ @action_find.shortcut = Qt::Application.translate("Browser", "Ctrl+F", nil, Qt::Application::UnicodeUTF8)
141
+ @action_dump.text = Qt::Application.translate("Browser", "Dump", nil, Qt::Application::UnicodeUTF8)
142
+ @action_dump.shortcut = Qt::Application.translate("Browser", "Ctrl+Shift+D", nil, Qt::Application::UnicodeUTF8)
143
+ @action_refresh.text = Qt::Application.translate("Browser", "&Refresh", nil, Qt::Application::UnicodeUTF8)
144
+ @action_refresh.iconText = Qt::Application.translate("Browser", "Refresh current table from database", nil, Qt::Application::UnicodeUTF8)
145
+ @action_refresh.toolTip = Qt::Application.translate("Browser", "Refresh current table from database", nil, Qt::Application::UnicodeUTF8)
146
+ @action_refresh.shortcut = Qt::Application.translate("Browser", "Ctrl+R", nil, Qt::Application::UnicodeUTF8)
147
+ @action_next.text = Qt::Application.translate("Browser", "&Next", nil, Qt::Application::UnicodeUTF8)
148
+ @action_next.iconText = Qt::Application.translate("Browser", "Next", nil, Qt::Application::UnicodeUTF8)
149
+ @action_next.toolTip = Qt::Application.translate("Browser", "Next Model", nil, Qt::Application::UnicodeUTF8)
150
+ @action_next.shortcut = Qt::Application.translate("Browser", "Ctrl+Tab", nil, Qt::Application::UnicodeUTF8)
151
+ @action_previous.text = Qt::Application.translate("Browser", "&Previous", nil, Qt::Application::UnicodeUTF8)
152
+ @action_previous.toolTip = Qt::Application.translate("Browser", "Previous Model", nil, Qt::Application::UnicodeUTF8)
153
+ @action_previous.shortcut = Qt::Application.translate("Browser", "Ctrl+Shift+Backtab", nil, Qt::Application::UnicodeUTF8)
154
+ @action_highlight.text = Qt::Application.translate("Browser", "&Highlight", nil, Qt::Application::UnicodeUTF8)
155
+ @action_highlight.shortcut = Qt::Application.translate("Browser", "Ctrl+H", nil, Qt::Application::UnicodeUTF8)
156
+ @action_new_window.text = Qt::Application.translate("Browser", "&New Window", nil, Qt::Application::UnicodeUTF8)
157
+ @action_find_next.text = Qt::Application.translate("Browser", "Find &Next", nil, Qt::Application::UnicodeUTF8)
158
+ @action_find_next.shortcut = Qt::Application.translate("Browser", "Ctrl+G", nil, Qt::Application::UnicodeUTF8)
159
+ @action_new_row.text = Qt::Application.translate("Browser", "New &Row", nil, Qt::Application::UnicodeUTF8)
160
+ @menu_file.title = Qt::Application.translate("Browser", "File", nil, Qt::Application::UnicodeUTF8)
161
+ @menu_edit.title = Qt::Application.translate("Browser", "Edit", nil, Qt::Application::UnicodeUTF8)
162
+ @menu_search.title = Qt::Application.translate("Browser", "&Search", nil, Qt::Application::UnicodeUTF8)
163
+ @menu_model.title = Qt::Application.translate("Browser", "&Table", nil, Qt::Application::UnicodeUTF8)
164
+ end # retranslateUi
165
+
166
+ def retranslate_ui(browser)
167
+ retranslateUi(browser)
168
+ end
169
+
170
+ end
171
+
172
+ module Ui
173
+ class Browser < Ui_Browser
174
+ end
175
+ end # module Ui
176
+
Binary file
@@ -0,0 +1,216 @@
1
+ <ui version="4.0" >
2
+ <class>SearchDialog</class>
3
+ <widget class="QDialog" name="SearchDialog" >
4
+ <property name="windowModality" >
5
+ <enum>Qt::WindowModal</enum>
6
+ </property>
7
+ <property name="geometry" >
8
+ <rect>
9
+ <x>0</x>
10
+ <y>0</y>
11
+ <width>307</width>
12
+ <height>400</height>
13
+ </rect>
14
+ </property>
15
+ <property name="windowTitle" >
16
+ <string>Search</string>
17
+ </property>
18
+ <property name="windowIcon" >
19
+ <iconset>../../hilfer/bin/hilfer-icon.png</iconset>
20
+ </property>
21
+ <widget class="QDialogButtonBox" name="button_box" >
22
+ <property name="geometry" >
23
+ <rect>
24
+ <x>30</x>
25
+ <y>240</y>
26
+ <width>261</width>
27
+ <height>32</height>
28
+ </rect>
29
+ </property>
30
+ <property name="orientation" >
31
+ <enum>Qt::Horizontal</enum>
32
+ </property>
33
+ <property name="standardButtons" >
34
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
35
+ </property>
36
+ </widget>
37
+ <widget class="QCheckBox" name="selected_rows" >
38
+ <property name="enabled" >
39
+ <bool>false</bool>
40
+ </property>
41
+ <property name="geometry" >
42
+ <rect>
43
+ <x>30</x>
44
+ <y>280</y>
45
+ <width>191</width>
46
+ <height>21</height>
47
+ </rect>
48
+ </property>
49
+ <property name="text" >
50
+ <string>Selected Rows</string>
51
+ </property>
52
+ </widget>
53
+ <widget class="QCheckBox" name="selected_columns" >
54
+ <property name="enabled" >
55
+ <bool>false</bool>
56
+ </property>
57
+ <property name="geometry" >
58
+ <rect>
59
+ <x>30</x>
60
+ <y>310</y>
61
+ <width>191</width>
62
+ <height>21</height>
63
+ </rect>
64
+ </property>
65
+ <property name="text" >
66
+ <string>Selected Columns</string>
67
+ </property>
68
+ </widget>
69
+ <widget class="QLabel" name="search_label" >
70
+ <property name="geometry" >
71
+ <rect>
72
+ <x>20</x>
73
+ <y>10</y>
74
+ <width>51</width>
75
+ <height>21</height>
76
+ </rect>
77
+ </property>
78
+ <property name="text" >
79
+ <string>Search</string>
80
+ </property>
81
+ <property name="textFormat" >
82
+ <enum>Qt::PlainText</enum>
83
+ </property>
84
+ <property name="buddy" >
85
+ <cstring>search_combo</cstring>
86
+ </property>
87
+ </widget>
88
+ <widget class="QComboBox" name="search_combo" >
89
+ <property name="geometry" >
90
+ <rect>
91
+ <x>90</x>
92
+ <y>10</y>
93
+ <width>201</width>
94
+ <height>25</height>
95
+ </rect>
96
+ </property>
97
+ <property name="focusPolicy" >
98
+ <enum>Qt::StrongFocus</enum>
99
+ </property>
100
+ <property name="editable" >
101
+ <bool>true</bool>
102
+ </property>
103
+ </widget>
104
+ <widget class="QCheckBox" name="from_start" >
105
+ <property name="geometry" >
106
+ <rect>
107
+ <x>90</x>
108
+ <y>50</y>
109
+ <width>191</width>
110
+ <height>21</height>
111
+ </rect>
112
+ </property>
113
+ <property name="text" >
114
+ <string>From &amp;Start</string>
115
+ </property>
116
+ </widget>
117
+ <widget class="QCheckBox" name="regex" >
118
+ <property name="geometry" >
119
+ <rect>
120
+ <x>90</x>
121
+ <y>80</y>
122
+ <width>191</width>
123
+ <height>21</height>
124
+ </rect>
125
+ </property>
126
+ <property name="text" >
127
+ <string>&amp;Regular Expression</string>
128
+ </property>
129
+ </widget>
130
+ <widget class="QCheckBox" name="whole_words" >
131
+ <property name="geometry" >
132
+ <rect>
133
+ <x>90</x>
134
+ <y>110</y>
135
+ <width>191</width>
136
+ <height>21</height>
137
+ </rect>
138
+ </property>
139
+ <property name="text" >
140
+ <string>&amp;Whole Words</string>
141
+ </property>
142
+ </widget>
143
+ <widget class="QRadioButton" name="forwards" >
144
+ <property name="geometry" >
145
+ <rect>
146
+ <x>90</x>
147
+ <y>140</y>
148
+ <width>171</width>
149
+ <height>26</height>
150
+ </rect>
151
+ </property>
152
+ <property name="text" >
153
+ <string>&amp;Forwards</string>
154
+ </property>
155
+ <property name="checked" >
156
+ <bool>true</bool>
157
+ </property>
158
+ </widget>
159
+ <widget class="QRadioButton" name="backwards" >
160
+ <property name="geometry" >
161
+ <rect>
162
+ <x>90</x>
163
+ <y>170</y>
164
+ <width>176</width>
165
+ <height>26</height>
166
+ </rect>
167
+ </property>
168
+ <property name="text" >
169
+ <string>&amp;Backwards</string>
170
+ </property>
171
+ </widget>
172
+ </widget>
173
+ <tabstops>
174
+ <tabstop>search_combo</tabstop>
175
+ <tabstop>selected_columns</tabstop>
176
+ <tabstop>selected_rows</tabstop>
177
+ <tabstop>button_box</tabstop>
178
+ </tabstops>
179
+ <resources>
180
+ <include location="icons.qrc" />
181
+ </resources>
182
+ <connections>
183
+ <connection>
184
+ <sender>button_box</sender>
185
+ <signal>accepted()</signal>
186
+ <receiver>SearchDialog</receiver>
187
+ <slot>accept()</slot>
188
+ <hints>
189
+ <hint type="sourcelabel" >
190
+ <x>248</x>
191
+ <y>254</y>
192
+ </hint>
193
+ <hint type="destinationlabel" >
194
+ <x>157</x>
195
+ <y>274</y>
196
+ </hint>
197
+ </hints>
198
+ </connection>
199
+ <connection>
200
+ <sender>button_box</sender>
201
+ <signal>rejected()</signal>
202
+ <receiver>SearchDialog</receiver>
203
+ <slot>reject()</slot>
204
+ <hints>
205
+ <hint type="sourcelabel" >
206
+ <x>316</x>
207
+ <y>260</y>
208
+ </hint>
209
+ <hint type="destinationlabel" >
210
+ <x>286</x>
211
+ <y>274</y>
212
+ </hint>
213
+ </hints>
214
+ </connection>
215
+ </connections>
216
+ </ui>