--- a/Documentation/Source/eric5.E4Gui.E4ModelToolBar.html Tue Jan 12 18:39:15 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,262 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' -'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> -<html><head> -<title>eric5.E4Gui.E4ModelToolBar</title> -<style> -body { - background:white; - margin: 0em 1em 10em 1em; - color: black; -} - -h1 { color: white; background: #4FA4FF; } -h2 { color: white; background: #4FA4FF; } -h3 { color: white; background: #00557F; } -h4 { color: white; background: #00557F; } - -a { color: #AA5500; } - -</style> -</head> -<body><a NAME="top" ID="top"></a> -<h1>eric5.E4Gui.E4ModelToolBar</h1> -<p> -Module implementing a tool bar populated from a QAbstractItemModel. -</p> -<h3>Global Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Classes</h3> -<table> -<tr> -<td><a href="#E4ModelToolBar">E4ModelToolBar</a></td> -<td>Class implementing a tool bar populated from a QAbstractItemModel.</td> -</tr> -</table> -<h3>Functions</h3> -<table> -<tr><td>None</td></tr> -</table> -<hr /><hr /> -<a NAME="E4ModelToolBar" ID="E4ModelToolBar"></a> -<h2>E4ModelToolBar</h2> -<p> - Class implementing a tool bar populated from a QAbstractItemModel. -</p> -<h3>Derived from</h3> -QToolBar -<h3>Class Attributes</h3> -<table> -<tr><td>None</td></tr> -</table> -<h3>Methods</h3> -<table> -<tr> -<td><a href="#E4ModelToolBar.__init__">E4ModelToolBar</a></td> -<td>Constructor</td> -</tr><tr> -<td><a href="#E4ModelToolBar._build">_build</a></td> -<td>Protected slot to build the tool bar.</td> -</tr><tr> -<td><a href="#E4ModelToolBar._createMenu">_createMenu</a></td> -<td>Protected method to create the menu for a tool bar action.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.dragEnterEvent">dragEnterEvent</a></td> -<td>Protected method to handle drag enter events.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.dropEvent">dropEvent</a></td> -<td>Protected method to handle drop events.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.eventFilter">eventFilter</a></td> -<td>Public method to handle event for other objects.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.hideEvent">hideEvent</a></td> -<td>Protected method to handle hide events.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.index">index</a></td> -<td>Public method to get the index of an action.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.model">model</a></td> -<td>Public method to get a reference to the model.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.mouseMoveEvent">mouseMoveEvent</a></td> -<td>Protected method to handle mouse move events.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.resetFlags">resetFlags</a></td> -<td>Public method to reset the saved internal state.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.rootIndex">rootIndex</a></td> -<td>Public method to get the root index.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.setModel">setModel</a></td> -<td>Public method to set the model for the tool bar.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.setRootIndex">setRootIndex</a></td> -<td>Public method to set the root index.</td> -</tr><tr> -<td><a href="#E4ModelToolBar.showEvent">showEvent</a></td> -<td>Protected method to handle show events.</td> -</tr> -</table> -<a NAME="E4ModelToolBar.__init__" ID="E4ModelToolBar.__init__"></a> -<h4>E4ModelToolBar (Constructor)</h4> -<b>E4ModelToolBar</b>(<i>title = None, parent = None</i>) -<p> - Constructor -</p><dl> -<dt><i>title</i></dt> -<dd> -title for the tool bar (string) -</dd><dt><i>parent</i></dt> -<dd> -reference to the parent widget (QWidget) -</dd> -</dl><a NAME="E4ModelToolBar._build" ID="E4ModelToolBar._build"></a> -<h4>E4ModelToolBar._build</h4> -<b>_build</b>(<i></i>) -<p> - Protected slot to build the tool bar. -</p><a NAME="E4ModelToolBar._createMenu" ID="E4ModelToolBar._createMenu"></a> -<h4>E4ModelToolBar._createMenu</h4> -<b>_createMenu</b>(<i></i>) -<p> - Protected method to create the menu for a tool bar action. -</p><dl> -<dt>Returns:</dt> -<dd> -menu for a tool bar action (E4ModelMenu) -</dd> -</dl><a NAME="E4ModelToolBar.dragEnterEvent" ID="E4ModelToolBar.dragEnterEvent"></a> -<h4>E4ModelToolBar.dragEnterEvent</h4> -<b>dragEnterEvent</b>(<i>evt</i>) -<p> - Protected method to handle drag enter events. -</p><dl> -<dt><i>evt</i></dt> -<dd> -reference to the event (QDragEnterEvent) -</dd> -</dl><a NAME="E4ModelToolBar.dropEvent" ID="E4ModelToolBar.dropEvent"></a> -<h4>E4ModelToolBar.dropEvent</h4> -<b>dropEvent</b>(<i>evt</i>) -<p> - Protected method to handle drop events. -</p><dl> -<dt><i>evt</i></dt> -<dd> -reference to the event (QDropEvent) -</dd> -</dl><a NAME="E4ModelToolBar.eventFilter" ID="E4ModelToolBar.eventFilter"></a> -<h4>E4ModelToolBar.eventFilter</h4> -<b>eventFilter</b>(<i>obj, evt</i>) -<p> - Public method to handle event for other objects. -</p><dl> -<dt><i>obj</i></dt> -<dd> -reference to the object (QObject) -</dd><dt><i>evt</i></dt> -<dd> -reference to the event (QEvent) -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -flag indicating that the event should be filtered out (boolean) -</dd> -</dl><a NAME="E4ModelToolBar.hideEvent" ID="E4ModelToolBar.hideEvent"></a> -<h4>E4ModelToolBar.hideEvent</h4> -<b>hideEvent</b>(<i>evt</i>) -<p> - Protected method to handle hide events. -</p><dl> -<dt><i>evt</i></dt> -<dd> -reference to the hide event (QHideEvent) -</dd> -</dl><a NAME="E4ModelToolBar.index" ID="E4ModelToolBar.index"></a> -<h4>E4ModelToolBar.index</h4> -<b>index</b>(<i>action</i>) -<p> - Public method to get the index of an action. -</p><dl> -<dt><i>action</i></dt> -<dd> -reference to the action to get the index for (QAction) -</dd> -</dl><dl> -<dt>Returns:</dt> -<dd> -index of the action (QModelIndex) -</dd> -</dl><a NAME="E4ModelToolBar.model" ID="E4ModelToolBar.model"></a> -<h4>E4ModelToolBar.model</h4> -<b>model</b>(<i></i>) -<p> - Public method to get a reference to the model. -</p><dl> -<dt>Returns:</dt> -<dd> -reference to the model (QAbstractItemModel) -</dd> -</dl><a NAME="E4ModelToolBar.mouseMoveEvent" ID="E4ModelToolBar.mouseMoveEvent"></a> -<h4>E4ModelToolBar.mouseMoveEvent</h4> -<b>mouseMoveEvent</b>(<i>evt</i>) -<p> - Protected method to handle mouse move events. -</p><dl> -<dt><i>evt</i></dt> -<dd> -reference to the event (QMouseEvent) -</dd> -</dl><a NAME="E4ModelToolBar.resetFlags" ID="E4ModelToolBar.resetFlags"></a> -<h4>E4ModelToolBar.resetFlags</h4> -<b>resetFlags</b>(<i></i>) -<p> - Public method to reset the saved internal state. -</p><a NAME="E4ModelToolBar.rootIndex" ID="E4ModelToolBar.rootIndex"></a> -<h4>E4ModelToolBar.rootIndex</h4> -<b>rootIndex</b>(<i></i>) -<p> - Public method to get the root index. -</p><dl> -<dt>Returns:</dt> -<dd> -root index (QModelIndex) -</dd> -</dl><a NAME="E4ModelToolBar.setModel" ID="E4ModelToolBar.setModel"></a> -<h4>E4ModelToolBar.setModel</h4> -<b>setModel</b>(<i>model</i>) -<p> - Public method to set the model for the tool bar. -</p><dl> -<dt><i>model</i></dt> -<dd> -reference to the model (QAbstractItemModel) -</dd> -</dl><a NAME="E4ModelToolBar.setRootIndex" ID="E4ModelToolBar.setRootIndex"></a> -<h4>E4ModelToolBar.setRootIndex</h4> -<b>setRootIndex</b>(<i>idx</i>) -<p> - Public method to set the root index. -</p><dl> -<dt><i>idx</i></dt> -<dd> -index to be set as the root index (QModelIndex) -</dd> -</dl><a NAME="E4ModelToolBar.showEvent" ID="E4ModelToolBar.showEvent"></a> -<h4>E4ModelToolBar.showEvent</h4> -<b>showEvent</b>(<i>evt</i>) -<p> - Protected method to handle show events. -</p><dl> -<dt><i>evt</i></dt> -<dd> -reference to the hide event (QHideEvent) -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -</body></html> \ No newline at end of file