|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopListSelectionDialog</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopListSelectionDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to select multiple entries from a list. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#DotDesktopListSelectionDialog">DotDesktopListSelectionDialog</a></td> |
|
39 <td>Class implementing a dialog to select multiple entries from a list.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="DotDesktopListSelectionDialog" ID="DotDesktopListSelectionDialog"></a> |
|
50 <h2>DotDesktopListSelectionDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to select multiple entries from a list. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_DotDesktopListSelectionDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#DotDesktopListSelectionDialog.__init__">DotDesktopListSelectionDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#DotDesktopListSelectionDialog.getData">getData</a></td> |
|
77 <td>Public method to extract the selected entries as a list or a string.</td> |
|
78 </tr> |
|
79 </table> |
|
80 <h3>Static Methods</h3> |
|
81 |
|
82 <table> |
|
83 <tr><td>None</td></tr> |
|
84 </table> |
|
85 |
|
86 <a NAME="DotDesktopListSelectionDialog.__init__" ID="DotDesktopListSelectionDialog.__init__"></a> |
|
87 <h4>DotDesktopListSelectionDialog (Constructor)</h4> |
|
88 <b>DotDesktopListSelectionDialog</b>(<i>entries, selectedEntries, separator, subEntries=None, allowMultiMain=True, allowMultiSub=True, parent=None</i>) |
|
89 |
|
90 <p> |
|
91 Constructor |
|
92 </p> |
|
93 <dl> |
|
94 |
|
95 <dt><i>entries</i></dt> |
|
96 <dd> |
|
97 list of entries to be shown (list of string) |
|
98 </dd> |
|
99 <dt><i>selectedEntries</i></dt> |
|
100 <dd> |
|
101 list of entries to be selected (list of string |
|
102 or string of entries separated by separator) |
|
103 </dd> |
|
104 <dt><i>separator</i></dt> |
|
105 <dd> |
|
106 separator string (string) |
|
107 </dd> |
|
108 <dt><i>subEntries</i></dt> |
|
109 <dd> |
|
110 secondary list of entries (list of string) |
|
111 </dd> |
|
112 <dt><i>allowMultiMain</i></dt> |
|
113 <dd> |
|
114 flag indicating to allow multiple selections for |
|
115 the main entry (bool) |
|
116 </dd> |
|
117 <dt><i>allowMultiSub</i></dt> |
|
118 <dd> |
|
119 flag indicating to allow multiple selections for |
|
120 the sub entry (bool) |
|
121 </dd> |
|
122 <dt><i>parent</i></dt> |
|
123 <dd> |
|
124 reference to the parent widget (QWidget) |
|
125 </dd> |
|
126 </dl> |
|
127 <a NAME="DotDesktopListSelectionDialog.getData" ID="DotDesktopListSelectionDialog.getData"></a> |
|
128 <h4>DotDesktopListSelectionDialog.getData</h4> |
|
129 <b>getData</b>(<i>separator=None, separatorAtEnd=False</i>) |
|
130 |
|
131 <p> |
|
132 Public method to extract the selected entries as a list |
|
133 or a string. |
|
134 </p> |
|
135 <dl> |
|
136 |
|
137 <dt><i>separator</i></dt> |
|
138 <dd> |
|
139 separator string (string) |
|
140 </dd> |
|
141 <dt><i>separatorAtEnd</i></dt> |
|
142 <dd> |
|
143 flag indicating to append the separator (boolean) |
|
144 </dd> |
|
145 </dl> |
|
146 <dl> |
|
147 <dt>Return:</dt> |
|
148 <dd> |
|
149 list of selected entries (list of string) if the separator is |
|
150 None or a string with entries delimited by separator (string) |
|
151 </dd> |
|
152 </dl> |
|
153 <div align="right"><a href="#top">Up</a></div> |
|
154 <hr /> |
|
155 </body></html> |