Module: Roby::GUI::RelationsCanvasTaskProxy
Instance Attribute Summary collapse
#displayed_state, #last_event
Instance Method Summary
collapse
#display_time_end, #display_time_start, #layout_events, to_svg, #update_graphics
#display_events
Instance Attribute Details
#real_object=(value) ⇒ Object
Sets the attribute real_object
267
268
269
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 267
def real_object=(value)
@real_object = value
end
|
Instance Method Details
#display(display, graphics_item) ⇒ Object
281
282
283
284
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 281
def display(display, graphics_item)
graphics_item.text.plain_text = display_name(display).to_s
layout_events(display)
end
|
#display_create(display) ⇒ Object
272
273
274
275
276
277
278
279
280
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 272
def display_create(display)
scene = display.scene
item = super
brush = item.brush
brush.style = Qt::BDiagPattern
item.brush = brush
item
end
|
#display_name(display) ⇒ Object
271
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 271
def display_name(display); real_object.display_name(display) end
|
#display_parent ⇒ Object
270
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 270
def display_parent; end
|
268
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 268
def flags; real_object.flags end
|