module Roby::GUI::RelationsCanvasPlan
Constants
- PLAN_STROKE_WIDTH
Attributes
depth[R]
The plan depth, i.e. its distance from the root plan
max_depth[R]
The max depth of the plan tree in this branch
Public Instance Methods
display(display, item)
click to toggle source
# File lib/roby/gui/relations_view/relations_canvas.rb, line 307 def display(display, item) end
display_create(display)
click to toggle source
# File lib/roby/gui/relations_view/relations_canvas.rb, line 294 def display_create(display) scene = display.scene pen = Qt::Pen.new pen.width = PLAN_STROKE_WIDTH pen.style = Qt::SolidLine pen.cap_style = Qt::SquareCap pen.join_style = Qt::RoundJoin scene.add_rect Qt::RectF.new(0, 0, 0, 0), pen end
display_name(display)
click to toggle source
# File lib/roby/gui/relations_view/relations_canvas.rb, line 309 def display_name(display) "" end
display_parent()
click to toggle source
# File lib/roby/gui/relations_view/relations_canvas.rb, line 303 def display_parent if respond_to?(:plan) then plan end end