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
296
297
298
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 296
def real_object=(value)
@real_object = value
end
|
Instance Method Details
#display(display, graphics_item) ⇒ Object
318
319
320
321
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 318
def display(display, graphics_item)
graphics_item.text.plain_text = display_name(display).to_s
layout_events(display)
end
|
#display_create(display) ⇒ Object
308
309
310
311
312
313
314
315
316
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 308
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
304
305
306
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 304
def display_name(display)
real_object.display_name(display)
end
|
#display_parent ⇒ Object
302
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 302
def display_parent; end
|
298
299
300
|
# File 'lib/roby/gui/relations_view/relations_canvas.rb', line 298
def flags
real_object.flags
end
|