53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#ProgramsDialog.__init__">ProgramsDialog</a></td> |
57 <td><a href="#ProgramsDialog.__init__">ProgramsDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#ProgramsDialog.__createEntry">__createEntry</a></td> |
60 <td><a href="#ProgramsDialog.__createEntry">__createEntry</a></td> |
61 <td>Private method to generate a program entry.</td> |
61 <td>Private method to generate a program entry.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#ProgramsDialog.__createProgramEntry">__createProgramEntry</a></td> |
63 <td><a href="#ProgramsDialog.__createProgramEntry">__createProgramEntry</a></td> |
64 <td>Private method to generate a program entry.</td> |
64 <td>Private method to generate a program entry.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#ProgramsDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
66 <td><a href="#ProgramsDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
67 <td>Private slot called by a button of the button box clicked.</td> |
67 <td>Private slot called by a button of the button box clicked.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#ProgramsDialog.on_programsSearchButton_clicked">on_programsSearchButton_clicked</a></td> |
69 <td><a href="#ProgramsDialog.on_programsSearchButton_clicked">on_programsSearchButton_clicked</a></td> |
70 <td>Private slot to search for all supported/required programs.</td> |
70 <td>Private slot to search for all supported/required programs.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#ProgramsDialog.show">show</a></td> |
72 <td><a href="#ProgramsDialog.show">show</a></td> |
73 <td>Public slot to show the dialog.</td> |
73 <td>Public slot to show the dialog.</td> |
74 </tr> |
74 </tr> |
75 </table> |
75 </table> |
76 <a NAME="ProgramsDialog.__init__" ID="ProgramsDialog.__init__"></a> |
76 <a NAME="ProgramsDialog.__init__" ID="ProgramsDialog.__init__"></a> |
77 <h4>ProgramsDialog (Constructor)</h4> |
77 <h4>ProgramsDialog (Constructor)</h4> |
78 <b>ProgramsDialog</b>(<i>parent = None</i>) |
78 <b>ProgramsDialog</b>(<i>parent = None</i>) |
79 <p> |
79 <p> |
80 Constructor |
80 Constructor |
81 </p><dl> |
81 </p><dl> |
82 <dt><i>parent</i></dt> |
82 <dt><i>parent</i></dt> |
83 <dd> |
83 <dd> |
84 The parent widget of this dialog. (QWidget) |
84 The parent widget of this dialog. (QWidget) |
85 </dd> |
85 </dd> |
86 </dl><a NAME="ProgramsDialog.__createEntry" ID="ProgramsDialog.__createEntry"></a> |
86 </dl><a NAME="ProgramsDialog.__createEntry" ID="ProgramsDialog.__createEntry"></a> |
87 <h4>ProgramsDialog.__createEntry</h4> |
87 <h4>ProgramsDialog.__createEntry</h4> |
88 <b>__createEntry</b>(<i>description, entryText, entryVersion</i>) |
88 <b>__createEntry</b>(<i>description, entryText, entryVersion</i>) |
89 <p> |
89 <p> |
90 Private method to generate a program entry. |
90 Private method to generate a program entry. |
91 </p><dl> |
91 </p><dl> |
92 <dt><i>description</i></dt> |
92 <dt><i>description</i></dt> |
93 <dd> |
93 <dd> |
94 descriptive text (string) |
94 descriptive text (string) |
95 </dd><dt><i>entryText</i></dt> |
95 </dd><dt><i>entryText</i></dt> |
96 <dd> |
96 <dd> |
97 text to show (string) |
97 text to show (string) |
98 </dd><dt><i>entryVersion</i></dt> |
98 </dd><dt><i>entryVersion</i></dt> |
99 <dd> |
99 <dd> |
100 version string to show (string). |
100 version string to show (string). |
101 </dd> |
101 </dd> |
102 </dl><a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a> |
102 </dl><a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a> |
103 <h4>ProgramsDialog.__createProgramEntry</h4> |
103 <h4>ProgramsDialog.__createProgramEntry</h4> |
104 <b>__createProgramEntry</b>(<i>description, exe, versionCommand = "", versionStartsWith = "", versionPosition = 0, version = "", versionCleanup = None, versionRe = None</i>) |
104 <b>__createProgramEntry</b>(<i>description, exe, versionCommand = "", versionStartsWith = "", versionPosition = 0, version = "", versionCleanup = None, versionRe = None</i>) |
105 <p> |
105 <p> |
106 Private method to generate a program entry. |
106 Private method to generate a program entry. |
107 </p><dl> |
107 </p><dl> |
108 <dt><i>description</i></dt> |
108 <dt><i>description</i></dt> |
109 <dd> |
109 <dd> |
110 descriptive text (string) |
110 descriptive text (string) |
111 </dd><dt><i>exe</i></dt> |
111 </dd><dt><i>exe</i></dt> |
112 <dd> |
112 <dd> |
113 name of the executable program (string) |
113 name of the executable program (string) |
114 </dd><dt><i>versionCommand</i></dt> |
114 </dd><dt><i>versionCommand</i></dt> |
115 <dd> |
115 <dd> |
116 command line switch to get the version info (string) |
116 command line switch to get the version info (string) |
117 if this is empty, the given version will be shown. |
117 if this is empty, the given version will be shown. |
118 </dd><dt><i>versionStartsWith</i></dt> |
118 </dd><dt><i>versionStartsWith</i></dt> |
119 <dd> |
119 <dd> |
120 start of line identifying version info (string) |
120 start of line identifying version info (string) |
121 </dd><dt><i>versionPosition</i></dt> |
121 </dd><dt><i>versionPosition</i></dt> |
122 <dd> |
122 <dd> |
123 index of part containing the version info (integer) |
123 index of part containing the version info (integer) |
124 </dd><dt><i>version=</i></dt> |
124 </dd><dt><i>version=</i></dt> |
125 <dd> |
125 <dd> |
126 version string to show (string) |
126 version string to show (string) |
127 </dd><dt><i>versionCleanup=</i></dt> |
127 </dd><dt><i>versionCleanup=</i></dt> |
128 <dd> |
128 <dd> |
129 tuple of two integers giving string positions |
129 tuple of two integers giving string positions |
130 start and stop for the version string (tuple of integers) |
130 start and stop for the version string (tuple of integers) |
131 </dd><dt><i>versionRe=</i></dt> |
131 </dd><dt><i>versionRe=</i></dt> |
132 <dd> |
132 <dd> |
133 regexp to determine the line identifying version |
133 regexp to determine the line identifying version |
134 info (string). Takes precedence over versionStartsWith. |
134 info (string). Takes precedence over versionStartsWith. |
135 </dd> |
135 </dd> |
136 </dl><dl> |
136 </dl><dl> |
137 <dt>Returns:</dt> |
137 <dt>Returns:</dt> |
138 <dd> |
138 <dd> |
139 version string of detected or given version (string) |
139 version string of detected or given version (string) |
140 </dd> |
140 </dd> |
141 </dl><a NAME="ProgramsDialog.on_buttonBox_clicked" ID="ProgramsDialog.on_buttonBox_clicked"></a> |
141 </dl><a NAME="ProgramsDialog.on_buttonBox_clicked" ID="ProgramsDialog.on_buttonBox_clicked"></a> |
142 <h4>ProgramsDialog.on_buttonBox_clicked</h4> |
142 <h4>ProgramsDialog.on_buttonBox_clicked</h4> |
143 <b>on_buttonBox_clicked</b>(<i>button</i>) |
143 <b>on_buttonBox_clicked</b>(<i>button</i>) |
144 <p> |
144 <p> |
145 Private slot called by a button of the button box clicked. |
145 Private slot called by a button of the button box clicked. |
146 </p><dl> |
146 </p><dl> |
147 <dt><i>button</i></dt> |
147 <dt><i>button</i></dt> |
148 <dd> |
148 <dd> |
149 button that was clicked (QAbstractButton) |
149 button that was clicked (QAbstractButton) |
150 </dd> |
150 </dd> |
151 </dl><a NAME="ProgramsDialog.on_programsSearchButton_clicked" ID="ProgramsDialog.on_programsSearchButton_clicked"></a> |
151 </dl><a NAME="ProgramsDialog.on_programsSearchButton_clicked" ID="ProgramsDialog.on_programsSearchButton_clicked"></a> |
152 <h4>ProgramsDialog.on_programsSearchButton_clicked</h4> |
152 <h4>ProgramsDialog.on_programsSearchButton_clicked</h4> |
153 <b>on_programsSearchButton_clicked</b>(<i></i>) |
153 <b>on_programsSearchButton_clicked</b>(<i></i>) |
154 <p> |
154 <p> |
155 Private slot to search for all supported/required programs. |
155 Private slot to search for all supported/required programs. |
156 </p><a NAME="ProgramsDialog.show" ID="ProgramsDialog.show"></a> |
156 </p><a NAME="ProgramsDialog.show" ID="ProgramsDialog.show"></a> |
157 <h4>ProgramsDialog.show</h4> |
157 <h4>ProgramsDialog.show</h4> |
158 <b>show</b>(<i></i>) |
158 <b>show</b>(<i></i>) |
159 <p> |
159 <p> |
160 Public slot to show the dialog. |
160 Public slot to show the dialog. |
161 </p> |
161 </p> |
162 <div align="right"><a href="#top">Up</a></div> |
162 <div align="right"><a href="#top">Up</a></div> |
163 <hr /> |
163 <hr /> |
164 </body></html> |
164 </body></html> |