src/eric7/Documentation/Source/eric7.Sessions.CrashedSessionsSelectionDialog.html

branch
eric7
changeset 11206
9271719f43a7
child 11208
f776db7cc222
equal deleted inserted replaced
11205:7981b062ec1b 11206:9271719f43a7
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Sessions.CrashedSessionsSelectionDialog</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.Sessions.CrashedSessionsSelectionDialog</h1>
10 <p>
11 Module implementing a dialog to show a list of existing crash session files.
12 </p>
13
14 <h3>Global Attributes</h3>
15 <table>
16 <tr><td>None</td></tr>
17 </table>
18
19 <h3>Classes</h3>
20 <table>
21 <tr>
22 <td><a href="#CrashedSessionsSelectionDialog">CrashedSessionsSelectionDialog</a></td>
23 <td>Class implementing a dialog to show a list of existing crash session files.</td>
24 </tr>
25 </table>
26
27 <h3>Functions</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31
32 <hr />
33 <hr />
34 <a NAME="CrashedSessionsSelectionDialog" ID="CrashedSessionsSelectionDialog"></a>
35 <h2>CrashedSessionsSelectionDialog</h2>
36 <p>
37 Class implementing a dialog to show a list of existing crash session files.
38 </p>
39
40 <h3>Derived from</h3>
41 QDialog, Ui_CrashedSessionsSelectionDialog
42 <h3>Class Attributes</h3>
43 <table>
44 <tr><td>None</td></tr>
45 </table>
46
47 <h3>Class Methods</h3>
48 <table>
49 <tr><td>None</td></tr>
50 </table>
51
52 <h3>Methods</h3>
53 <table>
54 <tr>
55 <td><a href="#CrashedSessionsSelectionDialog.__init__">CrashedSessionsSelectionDialog</a></td>
56 <td>Constructor</td>
57 </tr>
58 <tr>
59 <td><a href="#CrashedSessionsSelectionDialog.__addSessionFileEntry">__addSessionFileEntry</a></td>
60 <td>Private method to read the given session file and add a list entry for it.</td>
61 </tr>
62 <tr>
63 <td><a href="#CrashedSessionsSelectionDialog.__updateOk">__updateOk</a></td>
64 <td>Private method to update the enabled state of the OK button.</td>
65 </tr>
66 <tr>
67 <td><a href="#CrashedSessionsSelectionDialog.getSelectedCrashSession">getSelectedCrashSession</a></td>
68 <td>Public method to get the selected crash session file name.</td>
69 </tr>
70 </table>
71
72 <h3>Static Methods</h3>
73 <table>
74 <tr><td>None</td></tr>
75 </table>
76
77
78 <a NAME="CrashedSessionsSelectionDialog.__init__" ID="CrashedSessionsSelectionDialog.__init__"></a>
79 <h4>CrashedSessionsSelectionDialog (Constructor)</h4>
80 <b>CrashedSessionsSelectionDialog</b>(<i>sessionFiles, parent=None</i>)
81 <p>
82 Constructor
83 </p>
84
85 <dl>
86
87 <dt><i>sessionFiles</i> (list of str)</dt>
88 <dd>
89 list of crash session file names
90 </dd>
91 <dt><i>parent</i> (QWidget (optional))</dt>
92 <dd>
93 reference to the parent widget (defaults to None)
94 </dd>
95 </dl>
96 <a NAME="CrashedSessionsSelectionDialog.__addSessionFileEntry" ID="CrashedSessionsSelectionDialog.__addSessionFileEntry"></a>
97 <h4>CrashedSessionsSelectionDialog.__addSessionFileEntry</h4>
98 <b>__addSessionFileEntry</b>(<i>sessionFile</i>)
99 <p>
100 Private method to read the given session file and add a list entry for it.
101 </p>
102
103 <dl>
104
105 <dt><i>sessionFile</i> (str)</dt>
106 <dd>
107 file name of the session to be read
108 </dd>
109 </dl>
110 <a NAME="CrashedSessionsSelectionDialog.__updateOk" ID="CrashedSessionsSelectionDialog.__updateOk"></a>
111 <h4>CrashedSessionsSelectionDialog.__updateOk</h4>
112 <b>__updateOk</b>(<i></i>)
113 <p>
114 Private method to update the enabled state of the OK button.
115 </p>
116
117 <a NAME="CrashedSessionsSelectionDialog.getSelectedCrashSession" ID="CrashedSessionsSelectionDialog.getSelectedCrashSession"></a>
118 <h4>CrashedSessionsSelectionDialog.getSelectedCrashSession</h4>
119 <b>getSelectedCrashSession</b>(<i></i>)
120 <p>
121 Public method to get the selected crash session file name.
122 </p>
123
124 <dl>
125 <dt>Return:</dt>
126 <dd>
127 file name of the selected crash session
128 </dd>
129 </dl>
130 <dl>
131 <dt>Return Type:</dt>
132 <dd>
133 str
134 </dd>
135 </dl>
136 <div align="right"><a href="#top">Up</a></div>
137 <hr />
138 </body></html>

eric ide

mercurial