Documentation/Source/eric6.E5Gui.E5ListSelectionDialog.html

changeset 5244
54a0f215a6f0
child 6437
3dd851d1edf8
equal deleted inserted replaced
5243:f6346f4b46c2 5244:54a0f215a6f0
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.E5Gui.E5ListSelectionDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.E5Gui.E5ListSelectionDialog</h1>
23 <p>
24 Module implementing a dialog to select from a list of strings.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#E5ListSelectionDialog">E5ListSelectionDialog</a></td>
34 <td>Class implementing a dialog to select from a list of strings.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="E5ListSelectionDialog" ID="E5ListSelectionDialog"></a>
43 <h2>E5ListSelectionDialog</h2>
44 <p>
45 Class implementing a dialog to select from a list of strings.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_E5ListSelectionDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#E5ListSelectionDialog.__init__">E5ListSelectionDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#E5ListSelectionDialog.getSelection">getSelection</a></td>
64 <td>Public method to retrieve the selected items.</td>
65 </tr><tr>
66 <td><a href="#E5ListSelectionDialog.on_selectionList_itemSelectionChanged">on_selectionList_itemSelectionChanged</a></td>
67 <td>Private slot handling a change of the selection.</td>
68 </tr>
69 </table>
70 <h3>Static Methods</h3>
71 <table>
72 <tr><td>None</td></tr>
73 </table>
74 <a NAME="E5ListSelectionDialog.__init__" ID="E5ListSelectionDialog.__init__"></a>
75 <h4>E5ListSelectionDialog (Constructor)</h4>
76 <b>E5ListSelectionDialog</b>(<i>entries, selectionMode=QAbstractItemView.ExtendedSelection, title="", message="", parent=None</i>)
77 <p>
78 Constructor
79 </p><dl>
80 <dt><i>entries</i> (list of str)</dt>
81 <dd>
82 list of entries to select from
83 </dd><dt><i>selectionMode</i> (QAbstractItemView.SelectionMode)</dt>
84 <dd>
85 selection mode for the list
86 </dd><dt><i>title</i> (str)</dt>
87 <dd>
88 tirle of the dialog
89 </dd><dt><i>message</i> (str)</dt>
90 <dd>
91 message to be show in the dialog
92 </dd><dt><i>parent</i> (QWidget)</dt>
93 <dd>
94 reference to the parent widget
95 </dd>
96 </dl><a NAME="E5ListSelectionDialog.getSelection" ID="E5ListSelectionDialog.getSelection"></a>
97 <h4>E5ListSelectionDialog.getSelection</h4>
98 <b>getSelection</b>(<i></i>)
99 <p>
100 Public method to retrieve the selected items.
101 </p><dl>
102 <dt>Returns:</dt>
103 <dd>
104 selected entries
105 </dd>
106 </dl><dl>
107 <dt>Return Type:</dt>
108 <dd>
109 list of str
110 </dd>
111 </dl><a NAME="E5ListSelectionDialog.on_selectionList_itemSelectionChanged" ID="E5ListSelectionDialog.on_selectionList_itemSelectionChanged"></a>
112 <h4>E5ListSelectionDialog.on_selectionList_itemSelectionChanged</h4>
113 <b>on_selectionList_itemSelectionChanged</b>(<i></i>)
114 <p>
115 Private slot handling a change of the selection.
116 </p>
117 <div align="right"><a href="#top">Up</a></div>
118 <hr />
119 </body></html>

eric ide

mercurial