eric6/Documentation/Source/eric6.E5Gui.E5StringListEditWidget.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.E5Gui.E5StringListEditWidget</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.E5StringListEditWidget</h1>
23 <p>
24 Module implementing a dialog to edit 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="#E5StringListEditWidget">E5StringListEditWidget</a></td>
34 <td>Class implementing a dialog to edit 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="E5StringListEditWidget" ID="E5StringListEditWidget"></a>
43 <h2>E5StringListEditWidget</h2>
44 <p>
45 Class implementing a dialog to edit a list of strings.
46 </p><h3>Signals</h3>
47 <dl>
48 <dt>setToDefault()</dt>
49 <dd>
50 emitted to request the default list of values
51 </dd>
52 </dl>
53 <h3>Derived from</h3>
54 QWidget, Ui_E5StringListEditWidget
55 <h3>Class Attributes</h3>
56 <table>
57 <tr><td>None</td></tr>
58 </table>
59 <h3>Class Methods</h3>
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Methods</h3>
64 <table>
65 <tr>
66 <td><a href="#E5StringListEditWidget.__init__">E5StringListEditWidget</a></td>
67 <td>Constructor</td>
68 </tr><tr>
69 <td><a href="#E5StringListEditWidget.getList">getList</a></td>
70 <td>Public method to get the edited list of strings.</td>
71 </tr><tr>
72 <td><a href="#E5StringListEditWidget.on_addButton_clicked">on_addButton_clicked</a></td>
73 <td>Private slot to add an entry to the list.</td>
74 </tr><tr>
75 <td><a href="#E5StringListEditWidget.setDefaultVisible">setDefaultVisible</a></td>
76 <td>Public method to show or hide the default button.</td>
77 </tr><tr>
78 <td><a href="#E5StringListEditWidget.setList">setList</a></td>
79 <td>Public method to set the list of strings to be edited.</td>
80 </tr><tr>
81 <td><a href="#E5StringListEditWidget.setListWhatsThis">setListWhatsThis</a></td>
82 <td>Public method to set a what's that help text for the string list.</td>
83 </tr>
84 </table>
85 <h3>Static Methods</h3>
86 <table>
87 <tr><td>None</td></tr>
88 </table>
89 <a NAME="E5StringListEditWidget.__init__" ID="E5StringListEditWidget.__init__"></a>
90 <h4>E5StringListEditWidget (Constructor)</h4>
91 <b>E5StringListEditWidget</b>(<i>parent=None</i>)
92 <p>
93 Constructor
94 </p><dl>
95 <dt><i>parent</i></dt>
96 <dd>
97 reference to the parent widget (QWidget)
98 </dd>
99 </dl><a NAME="E5StringListEditWidget.getList" ID="E5StringListEditWidget.getList"></a>
100 <h4>E5StringListEditWidget.getList</h4>
101 <b>getList</b>(<i></i>)
102 <p>
103 Public method to get the edited list of strings.
104 </p><dl>
105 <dt>Returns:</dt>
106 <dd>
107 edited list of string (list of string)
108 </dd>
109 </dl><a NAME="E5StringListEditWidget.on_addButton_clicked" ID="E5StringListEditWidget.on_addButton_clicked"></a>
110 <h4>E5StringListEditWidget.on_addButton_clicked</h4>
111 <b>on_addButton_clicked</b>(<i></i>)
112 <p>
113 Private slot to add an entry to the list.
114 </p><a NAME="E5StringListEditWidget.setDefaultVisible" ID="E5StringListEditWidget.setDefaultVisible"></a>
115 <h4>E5StringListEditWidget.setDefaultVisible</h4>
116 <b>setDefaultVisible</b>(<i>visible</i>)
117 <p>
118 Public method to show or hide the default button.
119 </p><dl>
120 <dt><i>visible</i> (bool)</dt>
121 <dd>
122 flag indicating the visibility of the default button
123 </dd>
124 </dl><a NAME="E5StringListEditWidget.setList" ID="E5StringListEditWidget.setList"></a>
125 <h4>E5StringListEditWidget.setList</h4>
126 <b>setList</b>(<i>stringList</i>)
127 <p>
128 Public method to set the list of strings to be edited.
129 </p><dl>
130 <dt><i>stringList</i></dt>
131 <dd>
132 list of strings to be edited (list of string)
133 </dd>
134 </dl><a NAME="E5StringListEditWidget.setListWhatsThis" ID="E5StringListEditWidget.setListWhatsThis"></a>
135 <h4>E5StringListEditWidget.setListWhatsThis</h4>
136 <b>setListWhatsThis</b>(<i>txt</i>)
137 <p>
138 Public method to set a what's that help text for the string list.
139 </p><dl>
140 <dt><i>txt</i></dt>
141 <dd>
142 help text to be set (string)
143 </dd>
144 </dl>
145 <div align="right"><a href="#top">Up</a></div>
146 <hr />
147 </body></html>

eric ide

mercurial