121 <tr> |
121 <tr> |
122 <td><a href="#EricToolBarManager.mainWindow">mainWindow</a></td> |
122 <td><a href="#EricToolBarManager.mainWindow">mainWindow</a></td> |
123 <td>Public method to get the reference to the main window.</td> |
123 <td>Public method to get the reference to the main window.</td> |
124 </tr> |
124 </tr> |
125 <tr> |
125 <tr> |
126 <td><a href="#EricToolBarManager.preferencesChanged">preferencesChanged</a></td> |
|
127 <td>Public slot to handle a change of preferences.</td> |
|
128 </tr> |
|
129 <tr> |
|
130 <td><a href="#EricToolBarManager.removeAction">removeAction</a></td> |
126 <td><a href="#EricToolBarManager.removeAction">removeAction</a></td> |
131 <td>Public method to remove an action from the manager.</td> |
127 <td>Public method to remove an action from the manager.</td> |
132 </tr> |
128 </tr> |
133 <tr> |
129 <tr> |
134 <td><a href="#EricToolBarManager.removeCategoryActions">removeCategoryActions</a></td> |
130 <td><a href="#EricToolBarManager.removeCategoryActions">removeCategoryActions</a></td> |
159 <td>Public method to restore the state of the toolbar manager.</td> |
155 <td>Public method to restore the state of the toolbar manager.</td> |
160 </tr> |
156 </tr> |
161 <tr> |
157 <tr> |
162 <td><a href="#EricToolBarManager.saveState">saveState</a></td> |
158 <td><a href="#EricToolBarManager.saveState">saveState</a></td> |
163 <td>Public method to save the state of the toolbar manager.</td> |
159 <td>Public method to save the state of the toolbar manager.</td> |
|
160 </tr> |
|
161 <tr> |
|
162 <td><a href="#EricToolBarManager.setIconSize">setIconSize</a></td> |
|
163 <td>Public method to set the icon size.</td> |
164 </tr> |
164 </tr> |
165 <tr> |
165 <tr> |
166 <td><a href="#EricToolBarManager.setMainWindow">setMainWindow</a></td> |
166 <td><a href="#EricToolBarManager.setMainWindow">setMainWindow</a></td> |
167 <td>Public method to set the reference to the main window.</td> |
167 <td>Public method to set the reference to the main window.</td> |
168 </tr> |
168 </tr> |
202 </table> |
202 </table> |
203 |
203 |
204 |
204 |
205 <a NAME="EricToolBarManager.__init__" ID="EricToolBarManager.__init__"></a> |
205 <a NAME="EricToolBarManager.__init__" ID="EricToolBarManager.__init__"></a> |
206 <h4>EricToolBarManager (Constructor)</h4> |
206 <h4>EricToolBarManager (Constructor)</h4> |
207 <b>EricToolBarManager</b>(<i>ui=None, parent=None</i>) |
207 <b>EricToolBarManager</b>(<i>ui=None, iconSize="", parent=None</i>) |
208 <p> |
208 <p> |
209 Constructor |
209 Constructor |
210 </p> |
210 </p> |
211 |
211 |
212 <dl> |
212 <dl> |
213 |
213 |
214 <dt><i>ui</i> (UI.UserInterface)</dt> |
214 <dt><i>ui</i> (UI.UserInterface (optional))</dt> |
215 <dd> |
215 <dd> |
216 reference to the user interface object |
216 reference to the user interface object (defaults to None) |
217 </dd> |
217 </dd> |
218 <dt><i>parent</i> (QObject)</dt> |
218 <dt><i>iconSize</i> (str (optional))</dt> |
219 <dd> |
219 <dd> |
220 reference to the parent object |
220 string giving the icon size (one of the sizes defined by the |
|
221 IconSizes dictionary) (defaults to "") |
|
222 </dd> |
|
223 <dt><i>parent</i> (QObject (optional))</dt> |
|
224 <dd> |
|
225 reference to the parent object (defaults to None) |
221 </dd> |
226 </dd> |
222 </dl> |
227 </dl> |
223 <a NAME="EricToolBarManager.__findAction" ID="EricToolBarManager.__findAction"></a> |
228 <a NAME="EricToolBarManager.__findAction" ID="EricToolBarManager.__findAction"></a> |
224 <h4>EricToolBarManager.__findAction</h4> |
229 <h4>EricToolBarManager.__findAction</h4> |
225 <b>__findAction</b>(<i>name</i>) |
230 <b>__findAction</b>(<i>name</i>) |
581 <dt>Return Type:</dt> |
586 <dt>Return Type:</dt> |
582 <dd> |
587 <dd> |
583 QMainWindow |
588 QMainWindow |
584 </dd> |
589 </dd> |
585 </dl> |
590 </dl> |
586 <a NAME="EricToolBarManager.preferencesChanged" ID="EricToolBarManager.preferencesChanged"></a> |
|
587 <h4>EricToolBarManager.preferencesChanged</h4> |
|
588 <b>preferencesChanged</b>(<i></i>) |
|
589 <p> |
|
590 Public slot to handle a change of preferences. |
|
591 </p> |
|
592 |
|
593 <a NAME="EricToolBarManager.removeAction" ID="EricToolBarManager.removeAction"></a> |
591 <a NAME="EricToolBarManager.removeAction" ID="EricToolBarManager.removeAction"></a> |
594 <h4>EricToolBarManager.removeAction</h4> |
592 <h4>EricToolBarManager.removeAction</h4> |
595 <b>removeAction</b>(<i>action</i>) |
593 <b>removeAction</b>(<i>action</i>) |
596 <p> |
594 <p> |
597 Public method to remove an action from the manager. |
595 Public method to remove an action from the manager. |
740 <dt>Return Type:</dt> |
738 <dt>Return Type:</dt> |
741 <dd> |
739 <dd> |
742 QByteArray |
740 QByteArray |
743 </dd> |
741 </dd> |
744 </dl> |
742 </dl> |
|
743 <a NAME="EricToolBarManager.setIconSize" ID="EricToolBarManager.setIconSize"></a> |
|
744 <h4>EricToolBarManager.setIconSize</h4> |
|
745 <b>setIconSize</b>(<i>iconSize</i>) |
|
746 <p> |
|
747 Public method to set the icon size. |
|
748 </p> |
|
749 |
|
750 <dl> |
|
751 |
|
752 <dt><i>iconSize</i> (str)</dt> |
|
753 <dd> |
|
754 string giving the icon size (one of the sizes defined by the |
|
755 IconSizes dictionary) |
|
756 </dd> |
|
757 </dl> |
745 <a NAME="EricToolBarManager.setMainWindow" ID="EricToolBarManager.setMainWindow"></a> |
758 <a NAME="EricToolBarManager.setMainWindow" ID="EricToolBarManager.setMainWindow"></a> |
746 <h4>EricToolBarManager.setMainWindow</h4> |
759 <h4>EricToolBarManager.setMainWindow</h4> |
747 <b>setMainWindow</b>(<i>mainWindow</i>) |
760 <b>setMainWindow</b>(<i>mainWindow</i>) |
748 <p> |
761 <p> |
749 Public method to set the reference to the main window. |
762 Public method to set the reference to the main window. |