|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.DataViews.PyCoverageJsonReportDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.DataViews.PyCoverageJsonReportDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to enter the parameters for a coverage JSON |
|
13 report. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 |
|
17 <table> |
|
18 <tr><td>None</td></tr> |
|
19 </table> |
|
20 <h3>Classes</h3> |
|
21 |
|
22 <table> |
|
23 |
|
24 <tr> |
|
25 <td><a href="#PyCoverageJsonReportDialog">PyCoverageJsonReportDialog</a></td> |
|
26 <td>Class implementing a dialog to enter the parameters for a coverage JSON report.</td> |
|
27 </tr> |
|
28 </table> |
|
29 <h3>Functions</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <hr /> |
|
35 <hr /> |
|
36 <a NAME="PyCoverageJsonReportDialog" ID="PyCoverageJsonReportDialog"></a> |
|
37 <h2>PyCoverageJsonReportDialog</h2> |
|
38 |
|
39 <p> |
|
40 Class implementing a dialog to enter the parameters for a coverage JSON |
|
41 report. |
|
42 </p> |
|
43 <h3>Derived from</h3> |
|
44 QDialog, Ui_PyCoverageJsonReportDialog |
|
45 <h3>Class Attributes</h3> |
|
46 |
|
47 <table> |
|
48 <tr><td>None</td></tr> |
|
49 </table> |
|
50 <h3>Class Methods</h3> |
|
51 |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Methods</h3> |
|
56 |
|
57 <table> |
|
58 |
|
59 <tr> |
|
60 <td><a href="#PyCoverageJsonReportDialog.__init__">PyCoverageJsonReportDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr> |
|
63 <tr> |
|
64 <td><a href="#PyCoverageJsonReportDialog.getData">getData</a></td> |
|
65 <td>Public method to get the entered data.</td> |
|
66 </tr> |
|
67 <tr> |
|
68 <td><a href="#PyCoverageJsonReportDialog.on_outputFilePicker_textChanged">on_outputFilePicker_textChanged</a></td> |
|
69 <td>Private slot handling a change of the output file.</td> |
|
70 </tr> |
|
71 </table> |
|
72 <h3>Static Methods</h3> |
|
73 |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 |
|
78 <a NAME="PyCoverageJsonReportDialog.__init__" ID="PyCoverageJsonReportDialog.__init__"></a> |
|
79 <h4>PyCoverageJsonReportDialog (Constructor)</h4> |
|
80 <b>PyCoverageJsonReportDialog</b>(<i>defaultDirectory, parent=None</i>) |
|
81 |
|
82 <p> |
|
83 Constructor |
|
84 </p> |
|
85 <dl> |
|
86 |
|
87 <dt><i>defaultDirectory</i> (str)</dt> |
|
88 <dd> |
|
89 default directory for selecting the output |
|
90 directory |
|
91 </dd> |
|
92 <dt><i>parent</i> (QWidget (optional))</dt> |
|
93 <dd> |
|
94 reference to the parent widget (defaults to None) |
|
95 </dd> |
|
96 </dl> |
|
97 <a NAME="PyCoverageJsonReportDialog.getData" ID="PyCoverageJsonReportDialog.getData"></a> |
|
98 <h4>PyCoverageJsonReportDialog.getData</h4> |
|
99 <b>getData</b>(<i></i>) |
|
100 |
|
101 <p> |
|
102 Public method to get the entered data. |
|
103 </p> |
|
104 <dl> |
|
105 <dt>Return:</dt> |
|
106 <dd> |
|
107 tuple containing the output file and a flag indicating the |
|
108 creation of a compact JSON file |
|
109 </dd> |
|
110 </dl> |
|
111 <dl> |
|
112 <dt>Return Type:</dt> |
|
113 <dd> |
|
114 tuple of (str, bool) |
|
115 </dd> |
|
116 </dl> |
|
117 <a NAME="PyCoverageJsonReportDialog.on_outputFilePicker_textChanged" ID="PyCoverageJsonReportDialog.on_outputFilePicker_textChanged"></a> |
|
118 <h4>PyCoverageJsonReportDialog.on_outputFilePicker_textChanged</h4> |
|
119 <b>on_outputFilePicker_textChanged</b>(<i>filename</i>) |
|
120 |
|
121 <p> |
|
122 Private slot handling a change of the output file. |
|
123 </p> |
|
124 <dl> |
|
125 |
|
126 <dt><i>filename</i> (str)</dt> |
|
127 <dd> |
|
128 current text of the file picker |
|
129 </dd> |
|
130 </dl> |
|
131 <div align="right"><a href="#top">Up</a></div> |
|
132 <hr /> |
|
133 </body></html> |