|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.WizardPlugins.DotDesktopWizard.DotDesktopListSelectionDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to select multiple entries from a list. |
|
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="#DotDesktopListSelectionDialog">DotDesktopListSelectionDialog</a></td> |
|
34 <td>Class implementing a dialog to select multiple entries from a list.</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="DotDesktopListSelectionDialog" ID="DotDesktopListSelectionDialog"></a> |
|
43 <h2>DotDesktopListSelectionDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to select multiple entries from a list. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_DotDesktopListSelectionDialog |
|
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="#DotDesktopListSelectionDialog.__init__">DotDesktopListSelectionDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#DotDesktopListSelectionDialog.getData">getData</a></td> |
|
64 <td>Public method to extract the selected entries as a list or a string.</td> |
|
65 </tr> |
|
66 </table> |
|
67 <h3>Static Methods</h3> |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <a NAME="DotDesktopListSelectionDialog.__init__" ID="DotDesktopListSelectionDialog.__init__"></a> |
|
72 <h4>DotDesktopListSelectionDialog (Constructor)</h4> |
|
73 <b>DotDesktopListSelectionDialog</b>(<i>entries, selectedEntries, separator, subEntries=None, allowMultiMain=True, allowMultiSub=True, parent=None</i>) |
|
74 <p> |
|
75 Constructor |
|
76 </p><dl> |
|
77 <dt><i>entries</i></dt> |
|
78 <dd> |
|
79 list of entries to be shown (list of string) |
|
80 </dd><dt><i>selectedEntries</i></dt> |
|
81 <dd> |
|
82 list of entries to be selected (list of string |
|
83 or string of entries separated by separator) |
|
84 </dd><dt><i>separator</i></dt> |
|
85 <dd> |
|
86 separator string (string) |
|
87 </dd><dt><i>subEntries</i></dt> |
|
88 <dd> |
|
89 secondary list of entries (list of string) |
|
90 </dd><dt><i>allowMultiMain</i></dt> |
|
91 <dd> |
|
92 flag indicating to allow multiple selections for |
|
93 the main entry (bool) |
|
94 </dd><dt><i>allowMultiSub</i></dt> |
|
95 <dd> |
|
96 flag indicating to allow multiple selections for |
|
97 the sub entry (bool) |
|
98 </dd><dt><i>parent</i></dt> |
|
99 <dd> |
|
100 reference to the parent widget (QWidget) |
|
101 </dd> |
|
102 </dl><a NAME="DotDesktopListSelectionDialog.getData" ID="DotDesktopListSelectionDialog.getData"></a> |
|
103 <h4>DotDesktopListSelectionDialog.getData</h4> |
|
104 <b>getData</b>(<i>separator=None, separatorAtEnd=False</i>) |
|
105 <p> |
|
106 Public method to extract the selected entries as a list |
|
107 or a string. |
|
108 </p><dl> |
|
109 <dt><i>separator</i></dt> |
|
110 <dd> |
|
111 separator string (string) |
|
112 </dd><dt><i>separatorAtEnd</i></dt> |
|
113 <dd> |
|
114 flag indicating to append the separator (boolean) |
|
115 </dd> |
|
116 </dl><dl> |
|
117 <dt>Returns:</dt> |
|
118 <dd> |
|
119 list of selected entries (list of string) if the separator is |
|
120 None or a string with entries delimited by separator (string) |
|
121 </dd> |
|
122 </dl> |
|
123 <div align="right"><a href="#top">Up</a></div> |
|
124 <hr /> |
|
125 </body></html> |