--- a/eric6/Documentation/Source/eric6.Graphics.ModuleItem.html Sun Apr 12 18:40:37 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Graphics.ModuleItem.html Sun Apr 12 18:41:24 2020 +0200 @@ -109,36 +109,40 @@ <a NAME="ModuleItem.__init__" ID="ModuleItem.__init__"></a> <h4>ModuleItem (Constructor)</h4> -<b>ModuleItem</b>(<i>model=None, x=0, y=0, rounded=False, parent=None, scene=None</i>) +<b>ModuleItem</b>(<i>model=None, x=0, y=0, rounded=False, colors=None, parent=None, scene=None</i>) <p> Constructor </p> <dl> -<dt><i>model</i></dt> +<dt><i>model</i> (ModuleModel)</dt> <dd> -module model containing the module data (ModuleModel) +module model containing the module data </dd> -<dt><i>x</i></dt> +<dt><i>x</i> (int)</dt> <dd> -x-coordinate (integer) +x-coordinate </dd> -<dt><i>y</i></dt> +<dt><i>y</i> (int)</dt> <dd> -y-coordinate (integer) +y-coordinate </dd> -<dt><i>rounded=</i></dt> +<dt><i>rounded</i> (bool)</dt> <dd> -flag indicating a rounded corner (boolean) +flag indicating a rounded corner </dd> -<dt><i>parent=</i></dt> +<dt><i>colors</i> (tuple of (QColor, QColor))</dt> <dd> -reference to the parent object (QGraphicsItem) +tuple containing the foreground and background colors </dd> -<dt><i>scene=</i></dt> +<dt><i>parent</i> (QGraphicsItem)</dt> <dd> -reference to the scene object (QGraphicsScene) +reference to the parent object +</dd> +<dt><i>scene</i> (QGraphicsScene)</dt> +<dd> +reference to the scene object </dd> </dl> <a NAME="ModuleItem.__calculateSize" ID="ModuleItem.__calculateSize"></a>