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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7592
f79dc58bdf62
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.E5StringListEditWidget</h1> 23 <h1>eric6.E5Gui.E5StringListEditWidget</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to edit a list of strings. 26 Module implementing a dialog to edit 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="#E5StringListEditWidget">E5StringListEditWidget</a></td> 38 <td><a href="#E5StringListEditWidget">E5StringListEditWidget</a></td>
34 <td>Class implementing a dialog to edit a list of strings.</td> 39 <td>Class implementing a dialog to edit 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="E5StringListEditWidget" ID="E5StringListEditWidget"></a> 49 <a NAME="E5StringListEditWidget" ID="E5StringListEditWidget"></a>
43 <h2>E5StringListEditWidget</h2> 50 <h2>E5StringListEditWidget</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to edit a list of strings. 53 Class implementing a dialog to edit a list of strings.
46 </p><h3>Signals</h3> 54 </p>
55 <h3>Signals</h3>
47 <dl> 56 <dl>
57
48 <dt>setToDefault()</dt> 58 <dt>setToDefault()</dt>
49 <dd> 59 <dd>
50 emitted to request the default list of values 60 emitted to request the default list of values
51 </dd> 61 </dd>
52 </dl> 62 </dl>
53 <h3>Derived from</h3> 63 <h3>Derived from</h3>
54 QWidget, Ui_E5StringListEditWidget 64 QWidget, Ui_E5StringListEditWidget
55 <h3>Class Attributes</h3> 65 <h3>Class Attributes</h3>
66
56 <table> 67 <table>
57 <tr><td>None</td></tr> 68 <tr><td>None</td></tr>
58 </table> 69 </table>
59 <h3>Class Methods</h3> 70 <h3>Class Methods</h3>
71
60 <table> 72 <table>
61 <tr><td>None</td></tr> 73 <tr><td>None</td></tr>
62 </table> 74 </table>
63 <h3>Methods</h3> 75 <h3>Methods</h3>
76
64 <table> 77 <table>
78
65 <tr> 79 <tr>
66 <td><a href="#E5StringListEditWidget.__init__">E5StringListEditWidget</a></td> 80 <td><a href="#E5StringListEditWidget.__init__">E5StringListEditWidget</a></td>
67 <td>Constructor</td> 81 <td>Constructor</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#E5StringListEditWidget.getList">getList</a></td> 84 <td><a href="#E5StringListEditWidget.getList">getList</a></td>
70 <td>Public method to get the edited list of strings.</td> 85 <td>Public method to get the edited list of strings.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#E5StringListEditWidget.on_addButton_clicked">on_addButton_clicked</a></td> 88 <td><a href="#E5StringListEditWidget.on_addButton_clicked">on_addButton_clicked</a></td>
73 <td>Private slot to add an entry to the list.</td> 89 <td>Private slot to add an entry to the list.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#E5StringListEditWidget.setDefaultVisible">setDefaultVisible</a></td> 92 <td><a href="#E5StringListEditWidget.setDefaultVisible">setDefaultVisible</a></td>
76 <td>Public method to show or hide the default button.</td> 93 <td>Public method to show or hide the default button.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#E5StringListEditWidget.setList">setList</a></td> 96 <td><a href="#E5StringListEditWidget.setList">setList</a></td>
79 <td>Public method to set the list of strings to be edited.</td> 97 <td>Public method to set the list of strings to be edited.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#E5StringListEditWidget.setListWhatsThis">setListWhatsThis</a></td> 100 <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> 101 <td>Public method to set a what's that help text for the string list.</td>
83 </tr> 102 </tr>
84 </table> 103 </table>
85 <h3>Static Methods</h3> 104 <h3>Static Methods</h3>
105
86 <table> 106 <table>
87 <tr><td>None</td></tr> 107 <tr><td>None</td></tr>
88 </table> 108 </table>
109
89 <a NAME="E5StringListEditWidget.__init__" ID="E5StringListEditWidget.__init__"></a> 110 <a NAME="E5StringListEditWidget.__init__" ID="E5StringListEditWidget.__init__"></a>
90 <h4>E5StringListEditWidget (Constructor)</h4> 111 <h4>E5StringListEditWidget (Constructor)</h4>
91 <b>E5StringListEditWidget</b>(<i>parent=None</i>) 112 <b>E5StringListEditWidget</b>(<i>parent=None</i>)
113
92 <p> 114 <p>
93 Constructor 115 Constructor
94 </p><dl> 116 </p>
117 <dl>
118
95 <dt><i>parent</i></dt> 119 <dt><i>parent</i></dt>
96 <dd> 120 <dd>
97 reference to the parent widget (QWidget) 121 reference to the parent widget (QWidget)
98 </dd> 122 </dd>
99 </dl><a NAME="E5StringListEditWidget.getList" ID="E5StringListEditWidget.getList"></a> 123 </dl>
124 <a NAME="E5StringListEditWidget.getList" ID="E5StringListEditWidget.getList"></a>
100 <h4>E5StringListEditWidget.getList</h4> 125 <h4>E5StringListEditWidget.getList</h4>
101 <b>getList</b>(<i></i>) 126 <b>getList</b>(<i></i>)
127
102 <p> 128 <p>
103 Public method to get the edited list of strings. 129 Public method to get the edited list of strings.
104 </p><dl> 130 </p>
131 <dl>
105 <dt>Returns:</dt> 132 <dt>Returns:</dt>
106 <dd> 133 <dd>
107 edited list of string (list of string) 134 edited list of string (list of string)
108 </dd> 135 </dd>
109 </dl><a NAME="E5StringListEditWidget.on_addButton_clicked" ID="E5StringListEditWidget.on_addButton_clicked"></a> 136 </dl>
137 <a NAME="E5StringListEditWidget.on_addButton_clicked" ID="E5StringListEditWidget.on_addButton_clicked"></a>
110 <h4>E5StringListEditWidget.on_addButton_clicked</h4> 138 <h4>E5StringListEditWidget.on_addButton_clicked</h4>
111 <b>on_addButton_clicked</b>(<i></i>) 139 <b>on_addButton_clicked</b>(<i></i>)
140
112 <p> 141 <p>
113 Private slot to add an entry to the list. 142 Private slot to add an entry to the list.
114 </p><a NAME="E5StringListEditWidget.setDefaultVisible" ID="E5StringListEditWidget.setDefaultVisible"></a> 143 </p>
144 <a NAME="E5StringListEditWidget.setDefaultVisible" ID="E5StringListEditWidget.setDefaultVisible"></a>
115 <h4>E5StringListEditWidget.setDefaultVisible</h4> 145 <h4>E5StringListEditWidget.setDefaultVisible</h4>
116 <b>setDefaultVisible</b>(<i>visible</i>) 146 <b>setDefaultVisible</b>(<i>visible</i>)
147
117 <p> 148 <p>
118 Public method to show or hide the default button. 149 Public method to show or hide the default button.
119 </p><dl> 150 </p>
151 <dl>
152
120 <dt><i>visible</i> (bool)</dt> 153 <dt><i>visible</i> (bool)</dt>
121 <dd> 154 <dd>
122 flag indicating the visibility of the default button 155 flag indicating the visibility of the default button
123 </dd> 156 </dd>
124 </dl><a NAME="E5StringListEditWidget.setList" ID="E5StringListEditWidget.setList"></a> 157 </dl>
158 <a NAME="E5StringListEditWidget.setList" ID="E5StringListEditWidget.setList"></a>
125 <h4>E5StringListEditWidget.setList</h4> 159 <h4>E5StringListEditWidget.setList</h4>
126 <b>setList</b>(<i>stringList</i>) 160 <b>setList</b>(<i>stringList</i>)
161
127 <p> 162 <p>
128 Public method to set the list of strings to be edited. 163 Public method to set the list of strings to be edited.
129 </p><dl> 164 </p>
165 <dl>
166
130 <dt><i>stringList</i></dt> 167 <dt><i>stringList</i></dt>
131 <dd> 168 <dd>
132 list of strings to be edited (list of string) 169 list of strings to be edited (list of string)
133 </dd> 170 </dd>
134 </dl><a NAME="E5StringListEditWidget.setListWhatsThis" ID="E5StringListEditWidget.setListWhatsThis"></a> 171 </dl>
172 <a NAME="E5StringListEditWidget.setListWhatsThis" ID="E5StringListEditWidget.setListWhatsThis"></a>
135 <h4>E5StringListEditWidget.setListWhatsThis</h4> 173 <h4>E5StringListEditWidget.setListWhatsThis</h4>
136 <b>setListWhatsThis</b>(<i>txt</i>) 174 <b>setListWhatsThis</b>(<i>txt</i>)
175
137 <p> 176 <p>
138 Public method to set a what's that help text for the string list. 177 Public method to set a what's that help text for the string list.
139 </p><dl> 178 </p>
179 <dl>
180
140 <dt><i>txt</i></dt> 181 <dt><i>txt</i></dt>
141 <dd> 182 <dd>
142 help text to be set (string) 183 help text to be set (string)
143 </dd> 184 </dd>
144 </dl> 185 </dl>

eric ide

mercurial