PrEditor 0.4.0__py2.py3-none-any.whl → 0.6.0__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of PrEditor might be problematic. Click here for more details.

@@ -17,7 +17,7 @@ class SetTextEditorPathDialog(QDialog):
17
17
  super(SetTextEditorPathDialog, self).__init__(parent)
18
18
  loadUi(__file__, self)
19
19
 
20
- # Rerieve existing data from LoggerWindow
20
+ # Retrieve existing data from LoggerWindow
21
21
  path = self.parent().textEditorPath
22
22
  cmdTempl = self.parent().textEditorCmdTempl
23
23
 
@@ -29,9 +29,9 @@ class SetTextEditorPathDialog(QDialog):
29
29
 
30
30
  toolTip = (
31
31
  "Examples:\n"
32
- "SublimeText: {exePath} {modulePath}:{lineNum}\n"
33
- "notepad++: {exePath} {modulePath} -n{lineNum}\n"
34
- "vim: {exePath} +{lineNum} {modulePath}"
32
+ 'SublimeText: "{exePath}" "{modulePath}":{lineNum}\n'
33
+ 'notepad++: "{exePath}" "{modulePath}" -n{lineNum}\n'
34
+ 'vim: "{exePath}" + {lineNum} "{modulePath}'
35
35
  )
36
36
  self.uiTextEditorCommandPatternLE.setToolTip(toolTip)
37
37
 
@@ -1,9 +1,10 @@
1
1
  from __future__ import absolute_import
2
2
 
3
3
  from collections import deque
4
+ from functools import partial
4
5
 
5
6
  from Qt.QtCore import QPoint, QTimer
6
- from Qt.QtWidgets import QInputDialog, QLabel, QMenu
7
+ from Qt.QtWidgets import QApplication, QInputDialog, QLabel, QMenu
7
8
 
8
9
 
9
10
  class StatusLabel(QLabel):
@@ -33,6 +34,10 @@ class StatusLabel(QLabel):
33
34
  if limit:
34
35
  self.setLimit(limit)
35
36
 
37
+ def copy_action_text(self, action):
38
+ """Copy the text of the provided action into the clipboard."""
39
+ QApplication.clipboard().setText(action.text())
40
+
36
41
  def mouseReleaseEvent(self, event):
37
42
  QTimer.singleShot(0, self.showMenu)
38
43
  super(StatusLabel, self).mouseReleaseEvent(event)
@@ -54,18 +59,33 @@ class StatusLabel(QLabel):
54
59
 
55
60
  def showSeconds(self, seconds):
56
61
  self.times.append(seconds)
57
- self.setText(self.secondsText(seconds))
62
+ self.setText(self.secondsText(seconds[0]))
58
63
 
59
64
  def showMenu(self):
60
65
  menu = QMenu(self)
61
66
  if self.times:
62
67
  # Show the time it took to run the last X code calls
68
+ times = []
63
69
  for seconds in self.times:
64
- menu.addAction(self.secondsText(seconds))
70
+ secs, cmd = seconds
71
+ times.append(secs)
72
+
73
+ # Add a simplified copy of the command that was run
74
+ cmd = cmd.strip()
75
+ cmds = cmd.split("\n")
76
+ if len(cmds) > 1 or len(cmds[0]) > 50:
77
+ cmd = "{} ...".format(cmds[0][:50])
78
+ # Escape &'s so they dont' get turned into a shortcut'
79
+ cmd = cmd.replace("&", "&&")
80
+ act = menu.addAction("{}: {}".format(self.secondsText(secs), cmd))
81
+ # Selecting this action should copy the time it took to run
82
+ act.triggered.connect(partial(self.copy_action_text, act))
65
83
 
66
84
  menu.addSeparator()
67
- avg = sum(self.times) / len(self.times)
68
- menu.addAction("Average: {:0.04f}s".format(avg))
85
+ avg = sum(times) / len(times)
86
+ act = menu.addAction("Average: {:0.04f}s".format(avg))
87
+ act.triggered.connect(partial(self.copy_action_text, act))
88
+
69
89
  act = menu.addAction("Clear")
70
90
  act.triggered.connect(self.clearTimes)
71
91
 
@@ -0,0 +1,50 @@
1
+ from __future__ import absolute_import
2
+
3
+ from Qt.QtWidgets import QDialog
4
+
5
+ from . import loadUi
6
+
7
+
8
+ class SuggestPathQuotesDialog(QDialog):
9
+ """A dialog to suggest to enclose paths in double-quotes in the cmdTempl which is
10
+ used to launch an external text editor.
11
+ """
12
+
13
+ def __init__(self, parent, oldCmdTempl, newCmdTempl):
14
+ super(SuggestPathQuotesDialog, self).__init__(parent)
15
+ loadUi(__file__, self)
16
+
17
+ self.parentWindow = self.parent().window()
18
+
19
+ self.uiTextEditorOldCommandPatternLE.setText(oldCmdTempl)
20
+ self.uiTextEditorNewCommandPatternLE.setText(newCmdTempl)
21
+
22
+ toolTip = (
23
+ "Examples:\n"
24
+ 'SublimeText: "{exePath}" "{modulePath}":{lineNum}\n'
25
+ 'notepad++: "{exePath}" "{modulePath}" -n{lineNum}\n'
26
+ 'vim: "{exePath}" + {lineNum} "{modulePath}'
27
+ )
28
+ self.uiTextEditorNewCommandPatternLE.setToolTip(toolTip)
29
+
30
+ def accept(self):
31
+ """Set the parentWindow's textEditorCmdTempl property from the dialog, and
32
+ optionally add dialog to parent's dont_ask_again list, and accept.
33
+ """
34
+
35
+ cmdTempl = self.uiTextEditorNewCommandPatternLE.text()
36
+ self.parentWindow.textEditorCmdTempl = cmdTempl
37
+
38
+ if self.uiDontAskAgainCHK.isChecked():
39
+ if hasattr(self.parentWindow, "dont_ask_again"):
40
+ self.parentWindow.dont_ask_again.append(self.objectName())
41
+
42
+ super(SuggestPathQuotesDialog, self).accept()
43
+
44
+ def reject(self):
45
+ """Optionally add dialog to parentWindow's dont_ask_again list, and reject"""
46
+ if self.uiDontAskAgainCHK.isChecked():
47
+ if hasattr(self.parentWindow, "dont_ask_again"):
48
+ self.parentWindow.dont_ask_again.append(self.objectName())
49
+
50
+ super(SuggestPathQuotesDialog, self).reject()
@@ -92,7 +92,7 @@
92
92
  <x>0</x>
93
93
  <y>0</y>
94
94
  <width>796</width>
95
- <height>21</height>
95
+ <height>29</height>
96
96
  </rect>
97
97
  </property>
98
98
  <widget class="QMenu" name="uiDebugMENU">
@@ -137,10 +137,12 @@
137
137
  <string>Run</string>
138
138
  </property>
139
139
  <addaction name="uiRunSelectedACT"/>
140
+ <addaction name="uiRunSelectedDontTruncateACT"/>
140
141
  <addaction name="uiRunAllACT"/>
141
142
  <addaction name="separator"/>
142
143
  <addaction name="uiClearBeforeRunningACT"/>
143
144
  <addaction name="uiClearToLastPromptACT"/>
145
+ <addaction name="uiSelectTextACT"/>
144
146
  </widget>
145
147
  <widget class="QMenu" name="uiFileMENU">
146
148
  <property name="title">
@@ -160,34 +162,25 @@
160
162
  </property>
161
163
  <addaction name="separator"/>
162
164
  </widget>
163
- <widget class="QMenu" name="uiFont_MENU">
165
+ <widget class="QMenu" name="uiSelectFontsMENU">
164
166
  <property name="title">
165
- <string>Font</string>
167
+ <string>Select Font</string>
166
168
  </property>
167
- <widget class="QMenu" name="uiMonospaceFontMENU">
168
- <property name="title">
169
- <string>Monospace</string>
170
- </property>
171
- <addaction name="uiFontMENU"/>
172
- </widget>
173
- <widget class="QMenu" name="uiProportionalFontMENU">
174
- <property name="title">
175
- <string>Proportional</string>
176
- </property>
177
- <addaction name="actionPlaceHolderProportionalFont"/>
178
- </widget>
179
- <addaction name="uiMonospaceFontMENU"/>
180
- <addaction name="uiProportionalFontMENU"/>
169
+ <addaction name="uiSelectMonospaceFontACT"/>
170
+ <addaction name="uiSelectProportionalFontACT"/>
171
+ <addaction name="uiSelectAllFontACT"/>
181
172
  </widget>
182
- <addaction name="uiAutoCompleteEnabledACT"/>
173
+ <addaction name="uiConsoleAutoCompleteEnabledACT"/>
174
+ <addaction name="uiWorkboxAutoCompleteEnabledACT"/>
183
175
  <addaction name="uiSpellCheckEnabledACT"/>
184
176
  <addaction name="uiAutoCompleteCaseSensitiveACT"/>
185
177
  <addaction name="uiCompleterModeMENU"/>
178
+ <addaction name="uiHighlightExactCompletionACT"/>
186
179
  <addaction name="separator"/>
187
180
  <addaction name="uiClearLogACT"/>
188
181
  <addaction name="uiClearLogOnRefreshACT"/>
189
182
  <addaction name="separator"/>
190
- <addaction name="uiFont_MENU"/>
183
+ <addaction name="uiSelectFontsMENU"/>
191
184
  <addaction name="uiStyleMENU"/>
192
185
  <addaction name="separator"/>
193
186
  <addaction name="uiIndentationsTabsACT"/>
@@ -399,15 +392,21 @@
399
392
  <string>Ctrl+Alt+Shift+D</string>
400
393
  </property>
401
394
  </action>
402
- <action name="uiAutoCompleteEnabledACT">
395
+ <action name="uiConsoleAutoCompleteEnabledACT">
403
396
  <property name="checkable">
404
397
  <bool>true</bool>
405
398
  </property>
406
399
  <property name="checked">
407
- <bool>true</bool>
400
+ <bool>false</bool>
408
401
  </property>
409
402
  <property name="text">
410
- <string>Use &amp;Auto-Complete</string>
403
+ <string>Use Auto-Complete in console</string>
404
+ </property>
405
+ <property name="iconText">
406
+ <string>Use Auto-Complete in console</string>
407
+ </property>
408
+ <property name="toolTip">
409
+ <string>Use Auto-Complete in console</string>
411
410
  </property>
412
411
  </action>
413
412
  <action name="uiRunLineACT">
@@ -420,7 +419,7 @@
420
419
  </action>
421
420
  <action name="uiRunAllACT">
422
421
  <property name="text">
423
- <string>Run All...</string>
422
+ <string>Run All</string>
424
423
  </property>
425
424
  <property name="toolTip">
426
425
  <string>Run all code from the current workbox</string>
@@ -436,7 +435,7 @@
436
435
  </action>
437
436
  <action name="uiRunSelectedACT">
438
437
  <property name="text">
439
- <string>Run Selected...</string>
438
+ <string>Run Selected - truncate return value</string>
440
439
  </property>
441
440
  <property name="toolTip">
442
441
  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Run some code from the current workbox. If you have text selected, only the selected text is run. With no text selected, the current line is run. You can also use the Number Pad Enter key to activate this.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
@@ -648,16 +647,6 @@
648
647
  <string>FullFuzzy</string>
649
648
  </property>
650
649
  </action>
651
- <action name="uiFontMENU">
652
- <property name="text">
653
- <string>PlaceHolderMonospaceFont</string>
654
- </property>
655
- </action>
656
- <action name="actionPlaceHolderProportionalFont">
657
- <property name="text">
658
- <string>PlaceHolderProportionalFont</string>
659
- </property>
660
- </action>
661
650
  <action name="uiCycleCompleterModeACT">
662
651
  <property name="text">
663
652
  <string>Cycle Completer Modes</string>
@@ -964,6 +953,65 @@ at the indicated line in the specified text editor.
964
953
  <string>Ctrl+Shift+F</string>
965
954
  </property>
966
955
  </action>
956
+ <action name="uiSelectTextACT">
957
+ <property name="checkable">
958
+ <bool>true</bool>
959
+ </property>
960
+ <property name="checked">
961
+ <bool>true</bool>
962
+ </property>
963
+ <property name="text">
964
+ <string>Select text when Run Selected w/o selection</string>
965
+ </property>
966
+ </action>
967
+ <action name="uiWorkboxAutoCompleteEnabledACT">
968
+ <property name="checkable">
969
+ <bool>true</bool>
970
+ </property>
971
+ <property name="text">
972
+ <string>Use Auto-Complete in workbox</string>
973
+ </property>
974
+ </action>
975
+ <action name="uiSelectMonospaceFontACT">
976
+ <property name="text">
977
+ <string>Choose from monospace fonts</string>
978
+ </property>
979
+ <property name="toolTip">
980
+ <string>Choose from monospace fonts</string>
981
+ </property>
982
+ </action>
983
+ <action name="uiSelectProportionalFontACT">
984
+ <property name="text">
985
+ <string>Choose from proportional fonts</string>
986
+ </property>
987
+ <property name="toolTip">
988
+ <string>Choose from proportional fonts</string>
989
+ </property>
990
+ </action>
991
+ <action name="uiSelectAllFontACT">
992
+ <property name="text">
993
+ <string>Choose from all fonts</string>
994
+ </property>
995
+ <property name="toolTip">
996
+ <string>Choose from all fonts</string>
997
+ </property>
998
+ </action>
999
+ <action name="uiRunSelectedDontTruncateACT">
1000
+ <property name="text">
1001
+ <string>Run Selected - don't truncate return value</string>
1002
+ </property>
1003
+ <property name="shortcut">
1004
+ <string>Ctrl+Shift+Return</string>
1005
+ </property>
1006
+ </action>
1007
+ <action name="uiHighlightExactCompletionACT">
1008
+ <property name="checkable">
1009
+ <bool>true</bool>
1010
+ </property>
1011
+ <property name="text">
1012
+ <string>Highlight Exact Completion</string>
1013
+ </property>
1014
+ </action>
967
1015
  </widget>
968
1016
  <customwidgets>
969
1017
  <customwidget>
@@ -6,21 +6,33 @@
6
6
  <rect>
7
7
  <x>0</x>
8
8
  <y>0</y>
9
- <width>682</width>
10
- <height>151</height>
9
+ <width>1064</width>
10
+ <height>325</height>
11
11
  </rect>
12
12
  </property>
13
13
  <property name="windowTitle">
14
14
  <string>Set Text Editor Executable Path</string>
15
15
  </property>
16
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
+ <property name="spacing">
18
+ <number>15</number>
19
+ </property>
17
20
  <item>
18
21
  <widget class="QWidget" name="widget" native="true">
19
22
  <layout class="QVBoxLayout" name="verticalLayout_2">
20
23
  <property name="spacing">
24
+ <number>3</number>
25
+ </property>
26
+ <property name="leftMargin">
27
+ <number>0</number>
28
+ </property>
29
+ <property name="topMargin">
21
30
  <number>0</number>
22
31
  </property>
23
- <property name="margin">
32
+ <property name="rightMargin">
33
+ <number>0</number>
34
+ </property>
35
+ <property name="bottomMargin">
24
36
  <number>0</number>
25
37
  </property>
26
38
  <item>
@@ -31,6 +43,11 @@
31
43
  <verstretch>0</verstretch>
32
44
  </sizepolicy>
33
45
  </property>
46
+ <property name="font">
47
+ <font>
48
+ <pointsize>10</pointsize>
49
+ </font>
50
+ </property>
34
51
  <property name="text">
35
52
  <string>Path to the executable of your preferred text editor</string>
36
53
  </property>
@@ -38,6 +55,11 @@
38
55
  </item>
39
56
  <item>
40
57
  <widget class="QLineEdit" name="uiTextEditorExecutablePathLE">
58
+ <property name="font">
59
+ <font>
60
+ <pointsize>10</pointsize>
61
+ </font>
62
+ </property>
41
63
  <property name="text">
42
64
  <string>C:\Program Files\Sublime Text 3\sublime_text.exe</string>
43
65
  </property>
@@ -50,9 +72,18 @@
50
72
  <widget class="QWidget" name="widget_2" native="true">
51
73
  <layout class="QVBoxLayout" name="verticalLayout_3">
52
74
  <property name="spacing">
75
+ <number>3</number>
76
+ </property>
77
+ <property name="leftMargin">
78
+ <number>0</number>
79
+ </property>
80
+ <property name="topMargin">
53
81
  <number>0</number>
54
82
  </property>
55
- <property name="margin">
83
+ <property name="rightMargin">
84
+ <number>0</number>
85
+ </property>
86
+ <property name="bottomMargin">
56
87
  <number>0</number>
57
88
  </property>
58
89
  <item>
@@ -63,10 +94,14 @@
63
94
  <verstretch>0</verstretch>
64
95
  </sizepolicy>
65
96
  </property>
97
+ <property name="font">
98
+ <font>
99
+ <pointsize>10</pointsize>
100
+ </font>
101
+ </property>
66
102
  <property name="text">
67
- <string>Command Prompt template (template of how your chosen text editor may implement line numbers in a Command Prompt command).
68
- Use these template strings: {exePath}, {modulePath}, {lineNum}
69
- </string>
103
+ <string>Command Prompt template (template of the Command Prompt command to launch your text editor, including how it may implement specifying line numbers).
104
+ Use these template strings: &quot;{exePath}&quot;, &quot;{modulePath}&quot;, {lineNum}. Include quotes around exePath and modulePath to handle filepaths which contain spaces.</string>
70
105
  </property>
71
106
  <property name="wordWrap">
72
107
  <bool>true</bool>
@@ -75,11 +110,16 @@ Use these template strings: {exePath}, {modulePath}, {lineNum}
75
110
  </item>
76
111
  <item>
77
112
  <widget class="QLineEdit" name="uiTextEditorCommandPatternLE">
113
+ <property name="font">
114
+ <font>
115
+ <pointsize>10</pointsize>
116
+ </font>
117
+ </property>
78
118
  <property name="toolTip">
79
119
  <string/>
80
120
  </property>
81
121
  <property name="text">
82
- <string>{exePath} {modulePath}:{lineNum}</string>
122
+ <string>&quot;{exePath}&quot; &quot;{modulePath}&quot;:{lineNum}</string>
83
123
  </property>
84
124
  </widget>
85
125
  </item>
@@ -0,0 +1,225 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ui version="4.0">
3
+ <class>uiSuggestPathQuotesDLG</class>
4
+ <widget class="QDialog" name="uiSuggestPathQuotesDLG">
5
+ <property name="geometry">
6
+ <rect>
7
+ <x>0</x>
8
+ <y>0</y>
9
+ <width>716</width>
10
+ <height>342</height>
11
+ </rect>
12
+ </property>
13
+ <property name="windowTitle">
14
+ <string>Set Text Editor Executable Path</string>
15
+ </property>
16
+ <layout class="QVBoxLayout" name="verticalLayout">
17
+ <property name="spacing">
18
+ <number>15</number>
19
+ </property>
20
+ <item>
21
+ <widget class="QWidget" name="widget" native="true">
22
+ <layout class="QVBoxLayout" name="verticalLayout_2">
23
+ <property name="spacing">
24
+ <number>3</number>
25
+ </property>
26
+ <property name="leftMargin">
27
+ <number>0</number>
28
+ </property>
29
+ <property name="topMargin">
30
+ <number>0</number>
31
+ </property>
32
+ <property name="rightMargin">
33
+ <number>0</number>
34
+ </property>
35
+ <property name="bottomMargin">
36
+ <number>0</number>
37
+ </property>
38
+ <item>
39
+ <widget class="QLabel" name="label">
40
+ <property name="sizePolicy">
41
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
42
+ <horstretch>0</horstretch>
43
+ <verstretch>0</verstretch>
44
+ </sizepolicy>
45
+ </property>
46
+ <property name="font">
47
+ <font>
48
+ <pointsize>10</pointsize>
49
+ </font>
50
+ </property>
51
+ <property name="text">
52
+ <string>It is recommended to wrap filepaths in double-quotes in case of spaces in the paths. Would you like to update the command template from:</string>
53
+ </property>
54
+ <property name="wordWrap">
55
+ <bool>true</bool>
56
+ </property>
57
+ </widget>
58
+ </item>
59
+ <item>
60
+ <widget class="QLineEdit" name="uiTextEditorOldCommandPatternLE">
61
+ <property name="enabled">
62
+ <bool>false</bool>
63
+ </property>
64
+ <property name="font">
65
+ <font>
66
+ <pointsize>10</pointsize>
67
+ </font>
68
+ </property>
69
+ <property name="toolTip">
70
+ <string/>
71
+ </property>
72
+ <property name="text">
73
+ <string>uiTextEditorOldCommandPatternLE</string>
74
+ </property>
75
+ </widget>
76
+ </item>
77
+ </layout>
78
+ </widget>
79
+ </item>
80
+ <item>
81
+ <widget class="QWidget" name="widget_3" native="true">
82
+ <layout class="QVBoxLayout" name="verticalLayout_4">
83
+ <property name="spacing">
84
+ <number>3</number>
85
+ </property>
86
+ <property name="leftMargin">
87
+ <number>0</number>
88
+ </property>
89
+ <property name="topMargin">
90
+ <number>0</number>
91
+ </property>
92
+ <property name="rightMargin">
93
+ <number>0</number>
94
+ </property>
95
+ <property name="bottomMargin">
96
+ <number>0</number>
97
+ </property>
98
+ <item>
99
+ <widget class="QLabel" name="label_2">
100
+ <property name="sizePolicy">
101
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
102
+ <horstretch>0</horstretch>
103
+ <verstretch>0</verstretch>
104
+ </sizepolicy>
105
+ </property>
106
+ <property name="font">
107
+ <font>
108
+ <pointsize>10</pointsize>
109
+ </font>
110
+ </property>
111
+ <property name="text">
112
+ <string>to:</string>
113
+ </property>
114
+ <property name="wordWrap">
115
+ <bool>true</bool>
116
+ </property>
117
+ </widget>
118
+ </item>
119
+ <item>
120
+ <widget class="QLineEdit" name="uiTextEditorNewCommandPatternLE">
121
+ <property name="font">
122
+ <font>
123
+ <pointsize>10</pointsize>
124
+ </font>
125
+ </property>
126
+ <property name="toolTip">
127
+ <string/>
128
+ </property>
129
+ <property name="text">
130
+ <string/>
131
+ </property>
132
+ </widget>
133
+ </item>
134
+ </layout>
135
+ </widget>
136
+ </item>
137
+ <item>
138
+ <widget class="QWidget" name="widget_4" native="true">
139
+ <layout class="QVBoxLayout" name="verticalLayout_5">
140
+ <property name="spacing">
141
+ <number>3</number>
142
+ </property>
143
+ <property name="leftMargin">
144
+ <number>0</number>
145
+ </property>
146
+ <property name="topMargin">
147
+ <number>0</number>
148
+ </property>
149
+ <property name="rightMargin">
150
+ <number>0</number>
151
+ </property>
152
+ <property name="bottomMargin">
153
+ <number>0</number>
154
+ </property>
155
+ </layout>
156
+ </widget>
157
+ </item>
158
+ <item>
159
+ <spacer name="verticalSpacer">
160
+ <property name="orientation">
161
+ <enum>Qt::Vertical</enum>
162
+ </property>
163
+ <property name="sizeHint" stdset="0">
164
+ <size>
165
+ <width>20</width>
166
+ <height>40</height>
167
+ </size>
168
+ </property>
169
+ </spacer>
170
+ </item>
171
+ <item>
172
+ <widget class="QCheckBox" name="uiDontAskAgainCHK">
173
+ <property name="text">
174
+ <string>Don't Ask Again</string>
175
+ </property>
176
+ </widget>
177
+ </item>
178
+ <item>
179
+ <widget class="QDialogButtonBox" name="uiDialogButtonBox">
180
+ <property name="orientation">
181
+ <enum>Qt::Horizontal</enum>
182
+ </property>
183
+ <property name="standardButtons">
184
+ <set>QDialogButtonBox::No|QDialogButtonBox::Yes</set>
185
+ </property>
186
+ </widget>
187
+ </item>
188
+ </layout>
189
+ </widget>
190
+ <resources/>
191
+ <connections>
192
+ <connection>
193
+ <sender>uiDialogButtonBox</sender>
194
+ <signal>accepted()</signal>
195
+ <receiver>uiSuggestPathQuotesDLG</receiver>
196
+ <slot>accept()</slot>
197
+ <hints>
198
+ <hint type="sourcelabel">
199
+ <x>248</x>
200
+ <y>254</y>
201
+ </hint>
202
+ <hint type="destinationlabel">
203
+ <x>157</x>
204
+ <y>274</y>
205
+ </hint>
206
+ </hints>
207
+ </connection>
208
+ <connection>
209
+ <sender>uiDialogButtonBox</sender>
210
+ <signal>rejected()</signal>
211
+ <receiver>uiSuggestPathQuotesDLG</receiver>
212
+ <slot>reject()</slot>
213
+ <hints>
214
+ <hint type="sourcelabel">
215
+ <x>316</x>
216
+ <y>260</y>
217
+ </hint>
218
+ <hint type="destinationlabel">
219
+ <x>286</x>
220
+ <y>274</y>
221
+ </hint>
222
+ </hints>
223
+ </connection>
224
+ </connections>
225
+ </ui>