76 <p> |
76 <p> |
77 Constructor |
77 Constructor |
78 </p> |
78 </p> |
79 <dl> |
79 <dl> |
80 |
80 |
81 <dt><i>entries</i></dt> |
81 <dt><i>entries</i> (list of str)</dt> |
82 <dd> |
82 <dd> |
83 list of entries to be shown (list of string) |
83 list of entries to be shown |
84 </dd> |
84 </dd> |
85 <dt><i>selectedEntries</i></dt> |
85 <dt><i>selectedEntries</i> (list of str or str)</dt> |
86 <dd> |
86 <dd> |
87 list of entries to be selected (list of string |
87 list of entries to be selected or a string with |
88 or string of entries separated by separator) |
88 entries separated by separator |
89 </dd> |
89 </dd> |
90 <dt><i>separator</i></dt> |
90 <dt><i>separator</i> (str)</dt> |
91 <dd> |
91 <dd> |
92 separator string (string) |
92 separator string |
93 </dd> |
93 </dd> |
94 <dt><i>subEntries</i></dt> |
94 <dt><i>subEntries</i> (list of str)</dt> |
95 <dd> |
95 <dd> |
96 secondary list of entries (list of string) |
96 secondary list of entries |
97 </dd> |
97 </dd> |
98 <dt><i>allowMultiMain</i></dt> |
98 <dt><i>allowMultiMain</i> (bool)</dt> |
99 <dd> |
99 <dd> |
100 flag indicating to allow multiple selections for |
100 flag indicating to allow multiple selections for |
101 the main entry (bool) |
101 the main entry |
102 </dd> |
102 </dd> |
103 <dt><i>allowMultiSub</i></dt> |
103 <dt><i>allowMultiSub</i> (bool)</dt> |
104 <dd> |
104 <dd> |
105 flag indicating to allow multiple selections for |
105 flag indicating to allow multiple selections for |
106 the sub entry (bool) |
106 the sub entry |
107 </dd> |
107 </dd> |
108 <dt><i>parent</i></dt> |
108 <dt><i>parent</i> (QWidget)</dt> |
109 <dd> |
109 <dd> |
110 reference to the parent widget (QWidget) |
110 reference to the parent widget |
111 </dd> |
111 </dd> |
112 </dl> |
112 </dl> |
113 <a NAME="DotDesktopListSelectionDialog.getData" ID="DotDesktopListSelectionDialog.getData"></a> |
113 <a NAME="DotDesktopListSelectionDialog.getData" ID="DotDesktopListSelectionDialog.getData"></a> |
114 <h4>DotDesktopListSelectionDialog.getData</h4> |
114 <h4>DotDesktopListSelectionDialog.getData</h4> |
115 <b>getData</b>(<i>separator=None, separatorAtEnd=False</i>) |
115 <b>getData</b>(<i>separator=None, separatorAtEnd=False</i>) |
118 Public method to extract the selected entries as a list |
118 Public method to extract the selected entries as a list |
119 or a string. |
119 or a string. |
120 </p> |
120 </p> |
121 <dl> |
121 <dl> |
122 |
122 |
123 <dt><i>separator</i></dt> |
123 <dt><i>separator</i> (str)</dt> |
124 <dd> |
124 <dd> |
125 separator string (string) |
125 separator string |
126 </dd> |
126 </dd> |
127 <dt><i>separatorAtEnd</i></dt> |
127 <dt><i>separatorAtEnd</i> (bool)</dt> |
128 <dd> |
128 <dd> |
129 flag indicating to append the separator (boolean) |
129 flag indicating to append the separator |
130 </dd> |
130 </dd> |
131 </dl> |
131 </dl> |
132 <dl> |
132 <dl> |
133 <dt>Return:</dt> |
133 <dt>Return:</dt> |
134 <dd> |
134 <dd> |
135 list of selected entries (list of string) if the separator is |
135 list of selected entries if the separator is None or a string |
136 None or a string with entries delimited by separator (string) |
136 with entries delimited by separator |
|
137 </dd> |
|
138 </dl> |
|
139 <dl> |
|
140 <dt>Return Type:</dt> |
|
141 <dd> |
|
142 list od str or str |
137 </dd> |
143 </dd> |
138 </dl> |
144 </dl> |
139 <div align="right"><a href="#top">Up</a></div> |
145 <div align="right"><a href="#top">Up</a></div> |
140 <hr /> |
146 <hr /> |
141 </body></html> |
147 </body></html> |