16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.E5Gui.E5ListSelectionDialog</h1> |
23 <h1>eric6.E5Gui.E5ListSelectionDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to select from a list of strings. |
26 Module implementing a dialog to select from a list of strings. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#E5ListSelectionDialog">E5ListSelectionDialog</a></td> |
38 <td><a href="#E5ListSelectionDialog">E5ListSelectionDialog</a></td> |
34 <td>Class implementing a dialog to select from a list of strings.</td> |
39 <td>Class implementing a dialog to select from a list of strings.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="E5ListSelectionDialog" ID="E5ListSelectionDialog"></a> |
49 <a NAME="E5ListSelectionDialog" ID="E5ListSelectionDialog"></a> |
43 <h2>E5ListSelectionDialog</h2> |
50 <h2>E5ListSelectionDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a dialog to select from a list of strings. |
53 Class implementing a dialog to select from a list of strings. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_E5ListSelectionDialog |
56 QDialog, Ui_E5ListSelectionDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#E5ListSelectionDialog.__init__">E5ListSelectionDialog</a></td> |
72 <td><a href="#E5ListSelectionDialog.__init__">E5ListSelectionDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#E5ListSelectionDialog.getSelection">getSelection</a></td> |
76 <td><a href="#E5ListSelectionDialog.getSelection">getSelection</a></td> |
64 <td>Public method to retrieve the selected items.</td> |
77 <td>Public method to retrieve the selected items.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#E5ListSelectionDialog.on_selectionList_itemChanged">on_selectionList_itemChanged</a></td> |
80 <td><a href="#E5ListSelectionDialog.on_selectionList_itemChanged">on_selectionList_itemChanged</a></td> |
67 <td>Private slot handling a change of an item.</td> |
81 <td>Private slot handling a change of an item.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#E5ListSelectionDialog.on_selectionList_itemSelectionChanged">on_selectionList_itemSelectionChanged</a></td> |
84 <td><a href="#E5ListSelectionDialog.on_selectionList_itemSelectionChanged">on_selectionList_itemSelectionChanged</a></td> |
70 <td>Private slot handling a change of the selection.</td> |
85 <td>Private slot handling a change of the selection.</td> |
71 </tr> |
86 </tr> |
72 </table> |
87 </table> |
73 <h3>Static Methods</h3> |
88 <h3>Static Methods</h3> |
|
89 |
74 <table> |
90 <table> |
75 <tr><td>None</td></tr> |
91 <tr><td>None</td></tr> |
76 </table> |
92 </table> |
|
93 |
77 <a NAME="E5ListSelectionDialog.__init__" ID="E5ListSelectionDialog.__init__"></a> |
94 <a NAME="E5ListSelectionDialog.__init__" ID="E5ListSelectionDialog.__init__"></a> |
78 <h4>E5ListSelectionDialog (Constructor)</h4> |
95 <h4>E5ListSelectionDialog (Constructor)</h4> |
79 <b>E5ListSelectionDialog</b>(<i>entries, selectionMode=QAbstractItemView.ExtendedSelection, title="", message="", checkBoxSelection=False, parent=None</i>) |
96 <b>E5ListSelectionDialog</b>(<i>entries, selectionMode=QAbstractItemView.ExtendedSelection, title="", message="", checkBoxSelection=False, parent=None</i>) |
|
97 |
80 <p> |
98 <p> |
81 Constructor |
99 Constructor |
82 </p><dl> |
100 </p> |
|
101 <dl> |
|
102 |
83 <dt><i>entries</i> (list of str)</dt> |
103 <dt><i>entries</i> (list of str)</dt> |
84 <dd> |
104 <dd> |
85 list of entries to select from |
105 list of entries to select from |
86 </dd><dt><i>selectionMode</i> (QAbstractItemView.SelectionMode)</dt> |
106 </dd> |
|
107 <dt><i>selectionMode</i> (QAbstractItemView.SelectionMode)</dt> |
87 <dd> |
108 <dd> |
88 selection mode for the list |
109 selection mode for the list |
89 </dd><dt><i>title</i> (str)</dt> |
110 </dd> |
|
111 <dt><i>title</i> (str)</dt> |
90 <dd> |
112 <dd> |
91 tirle of the dialog |
113 tirle of the dialog |
92 </dd><dt><i>message</i> (str)</dt> |
114 </dd> |
|
115 <dt><i>message</i> (str)</dt> |
93 <dd> |
116 <dd> |
94 message to be show in the dialog |
117 message to be show in the dialog |
95 </dd><dt><i>checkBoxSelection</i> (bool)</dt> |
118 </dd> |
|
119 <dt><i>checkBoxSelection</i> (bool)</dt> |
96 <dd> |
120 <dd> |
97 flag indicating to select items via their |
121 flag indicating to select items via their |
98 checkbox |
122 checkbox |
99 </dd><dt><i>parent</i> (QWidget)</dt> |
123 </dd> |
|
124 <dt><i>parent</i> (QWidget)</dt> |
100 <dd> |
125 <dd> |
101 reference to the parent widget |
126 reference to the parent widget |
102 </dd> |
127 </dd> |
103 </dl><a NAME="E5ListSelectionDialog.getSelection" ID="E5ListSelectionDialog.getSelection"></a> |
128 </dl> |
|
129 <a NAME="E5ListSelectionDialog.getSelection" ID="E5ListSelectionDialog.getSelection"></a> |
104 <h4>E5ListSelectionDialog.getSelection</h4> |
130 <h4>E5ListSelectionDialog.getSelection</h4> |
105 <b>getSelection</b>(<i></i>) |
131 <b>getSelection</b>(<i></i>) |
|
132 |
106 <p> |
133 <p> |
107 Public method to retrieve the selected items. |
134 Public method to retrieve the selected items. |
108 </p><dl> |
135 </p> |
|
136 <dl> |
109 <dt>Returns:</dt> |
137 <dt>Returns:</dt> |
110 <dd> |
138 <dd> |
111 selected entries |
139 selected entries |
112 </dd> |
140 </dd> |
113 </dl><dl> |
141 </dl> |
|
142 <dl> |
114 <dt>Return Type:</dt> |
143 <dt>Return Type:</dt> |
115 <dd> |
144 <dd> |
116 list of str |
145 list of str |
117 </dd> |
146 </dd> |
118 </dl><a NAME="E5ListSelectionDialog.on_selectionList_itemChanged" ID="E5ListSelectionDialog.on_selectionList_itemChanged"></a> |
147 </dl> |
|
148 <a NAME="E5ListSelectionDialog.on_selectionList_itemChanged" ID="E5ListSelectionDialog.on_selectionList_itemChanged"></a> |
119 <h4>E5ListSelectionDialog.on_selectionList_itemChanged</h4> |
149 <h4>E5ListSelectionDialog.on_selectionList_itemChanged</h4> |
120 <b>on_selectionList_itemChanged</b>(<i>itm</i>) |
150 <b>on_selectionList_itemChanged</b>(<i>itm</i>) |
|
151 |
121 <p> |
152 <p> |
122 Private slot handling a change of an item. |
153 Private slot handling a change of an item. |
123 </p><dl> |
154 </p> |
|
155 <dl> |
|
156 |
124 <dt><i>itm</i> (QListWidgetItem)</dt> |
157 <dt><i>itm</i> (QListWidgetItem)</dt> |
125 <dd> |
158 <dd> |
126 reference to the changed item |
159 reference to the changed item |
127 </dd> |
160 </dd> |
128 </dl><a NAME="E5ListSelectionDialog.on_selectionList_itemSelectionChanged" ID="E5ListSelectionDialog.on_selectionList_itemSelectionChanged"></a> |
161 </dl> |
|
162 <a NAME="E5ListSelectionDialog.on_selectionList_itemSelectionChanged" ID="E5ListSelectionDialog.on_selectionList_itemSelectionChanged"></a> |
129 <h4>E5ListSelectionDialog.on_selectionList_itemSelectionChanged</h4> |
163 <h4>E5ListSelectionDialog.on_selectionList_itemSelectionChanged</h4> |
130 <b>on_selectionList_itemSelectionChanged</b>(<i></i>) |
164 <b>on_selectionList_itemSelectionChanged</b>(<i></i>) |
|
165 |
131 <p> |
166 <p> |
132 Private slot handling a change of the selection. |
167 Private slot handling a change of the selection. |
133 </p> |
168 </p> |
134 <div align="right"><a href="#top">Up</a></div> |
169 <div align="right"><a href="#top">Up</a></div> |
135 <hr /> |
170 <hr /> |