src/eric7/Documentation/Source/eric7.Preferences.ProgramsDialog.html

branch
eric7
changeset 10428
a071d4065202
parent 9236
db53a9efe7ef
child 10479
856476537696
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
96 <p> 96 <p>
97 Constructor 97 Constructor
98 </p> 98 </p>
99 <dl> 99 <dl>
100 100
101 <dt><i>parent</i></dt> 101 <dt><i>parent</i> (QWidget)</dt>
102 <dd> 102 <dd>
103 The parent widget of this dialog. (QWidget) 103 The parent widget of this dialog.
104 </dd> 104 </dd>
105 </dl> 105 </dl>
106 <a NAME="ProgramsDialog.__createEntry" ID="ProgramsDialog.__createEntry"></a> 106 <a NAME="ProgramsDialog.__createEntry" ID="ProgramsDialog.__createEntry"></a>
107 <h4>ProgramsDialog.__createEntry</h4> 107 <h4>ProgramsDialog.__createEntry</h4>
108 <b>__createEntry</b>(<i>description, entryText, entryVersion</i>) 108 <b>__createEntry</b>(<i>description, entryText, entryVersion</i>)
110 <p> 110 <p>
111 Private method to generate a program entry. 111 Private method to generate a program entry.
112 </p> 112 </p>
113 <dl> 113 <dl>
114 114
115 <dt><i>description</i></dt> 115 <dt><i>description</i> (str)</dt>
116 <dd> 116 <dd>
117 descriptive text (string) 117 descriptive text
118 </dd> 118 </dd>
119 <dt><i>entryText</i></dt> 119 <dt><i>entryText</i> (str)</dt>
120 <dd> 120 <dd>
121 text to show (string) 121 text to show
122 </dd> 122 </dd>
123 <dt><i>entryVersion</i></dt> 123 <dt><i>entryVersion</i> (str)</dt>
124 <dd> 124 <dd>
125 version string to show (string). 125 version string to show
126 </dd> 126 </dd>
127 </dl> 127 </dl>
128 <a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a> 128 <a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a>
129 <h4>ProgramsDialog.__createProgramEntry</h4> 129 <h4>ProgramsDialog.__createProgramEntry</h4>
130 <b>__createProgramEntry</b>(<i>description, exe, versionCommand="", versionStartsWith="", versionPosition=None, version="", versionCleanup=None, versionRe=None, exeModule=None, </i>) 130 <b>__createProgramEntry</b>(<i>description, exe, versionCommand="", versionStartsWith="", versionPosition=None, version="", versionCleanup=None, versionRe=None, exeModule=None, </i>)
132 <p> 132 <p>
133 Private method to generate a program entry. 133 Private method to generate a program entry.
134 </p> 134 </p>
135 <dl> 135 <dl>
136 136
137 <dt><i>description</i></dt> 137 <dt><i>description</i> (str)</dt>
138 <dd> 138 <dd>
139 descriptive text (string) 139 descriptive text
140 </dd> 140 </dd>
141 <dt><i>exe</i></dt> 141 <dt><i>exe</i> (str)</dt>
142 <dd> 142 <dd>
143 name of the executable program (string) 143 name of the executable program
144 </dd> 144 </dd>
145 <dt><i>versionCommand</i></dt> 145 <dt><i>versionCommand</i> (str)</dt>
146 <dd> 146 <dd>
147 command line switch to get the version info 147 command line switch to get the version info.
148 (str). If this is empty, the given version will be shown. 148 If this is empty, the given version will be shown.
149 </dd> 149 </dd>
150 <dt><i>versionStartsWith</i></dt> 150 <dt><i>versionStartsWith</i> (str)</dt>
151 <dd> 151 <dd>
152 start of line identifying version info 152 start of line identifying version info
153 (string) 153 </dd>
154 </dd> 154 <dt><i>versionPosition</i> (int)</dt>
155 <dt><i>versionPosition</i></dt>
156 <dd> 155 <dd>
157 index of part containing the version info 156 index of part containing the version info
158 (integer) 157 </dd>
159 </dd> 158 <dt><i>version</i> (str)</dt>
160 <dt><i>version</i></dt> 159 <dd>
161 <dd> 160 version string to show
162 version string to show (string) 161 </dd>
163 </dd> 162 <dt><i>versionCleanup</i> (tuple of (int, int))</dt>
164 <dt><i>versionCleanup</i></dt>
165 <dd> 163 <dd>
166 tuple of two integers giving string positions 164 tuple of two integers giving string positions
167 start and stop for the version string (tuple of integers) 165 start and stop for the version string
168 </dd> 166 </dd>
169 <dt><i>versionRe</i></dt> 167 <dt><i>versionRe</i> (str)</dt>
170 <dd> 168 <dd>
171 regexp to determine the line identifying version 169 regexp to determine the line identifying version
172 info (string). Takes precedence over versionStartsWith. 170 info. Takes precedence over versionStartsWith.
173 </dd> 171 </dd>
174 <dt><i>exeModule</i></dt> 172 <dt><i>exeModule</i> (list of str)</dt>
175 <dd> 173 <dd>
176 list of command line parameters to execute a module 174 list of command line parameters to execute a module
177 with the program given in exe (e.g. to execute a Python module) 175 with the program given in exe (e.g. to execute a Python module)
178 (list of str)
179 </dd> 176 </dd>
180 </dl> 177 </dl>
181 <dl> 178 <dl>
182 <dt>Return:</dt> 179 <dt>Return:</dt>
183 <dd> 180 <dd>
184 version string of detected or given version (string) 181 version string of detected or given version
182 </dd>
183 </dl>
184 <dl>
185 <dt>Return Type:</dt>
186 <dd>
187 str
185 </dd> 188 </dd>
186 </dl> 189 </dl>
187 <a NAME="ProgramsDialog.on_buttonBox_clicked" ID="ProgramsDialog.on_buttonBox_clicked"></a> 190 <a NAME="ProgramsDialog.on_buttonBox_clicked" ID="ProgramsDialog.on_buttonBox_clicked"></a>
188 <h4>ProgramsDialog.on_buttonBox_clicked</h4> 191 <h4>ProgramsDialog.on_buttonBox_clicked</h4>
189 <b>on_buttonBox_clicked</b>(<i>button</i>) 192 <b>on_buttonBox_clicked</b>(<i>button</i>)
191 <p> 194 <p>
192 Private slot called by a button of the button box clicked. 195 Private slot called by a button of the button box clicked.
193 </p> 196 </p>
194 <dl> 197 <dl>
195 198
196 <dt><i>button</i></dt> 199 <dt><i>button</i> (QAbstractButton)</dt>
197 <dd> 200 <dd>
198 button that was clicked (QAbstractButton) 201 button that was clicked
199 </dd> 202 </dd>
200 </dl> 203 </dl>
201 <a NAME="ProgramsDialog.on_programsSearchButton_clicked" ID="ProgramsDialog.on_programsSearchButton_clicked"></a> 204 <a NAME="ProgramsDialog.on_programsSearchButton_clicked" ID="ProgramsDialog.on_programsSearchButton_clicked"></a>
202 <h4>ProgramsDialog.on_programsSearchButton_clicked</h4> 205 <h4>ProgramsDialog.on_programsSearchButton_clicked</h4>
203 <b>on_programsSearchButton_clicked</b>(<i></i>) 206 <b>on_programsSearchButton_clicked</b>(<i></i>)

eric ide

mercurial