maverig.views.groups¶
maverig.views.groups.abstractGroup
¶
-
class
maverig.views.groups.abstractGroup.
AbstractGroup
¶ Bases:
maverig.views.abstractView.AbstractView
-
init_view
(scene=None)¶
-
add_to_scene
(scene)¶ add subitems to scene
-
add_item
(item)¶
-
remove_item
(item)¶
-
selected
¶
-
enabled
¶
-
clear_effects
()¶
-
clear_state_of_charge_effect
()¶
-
clear_state_of_charge_tip
()¶
-
clear_state_of_charge_tip_bg
()¶
-
set_color_effect
(color, transparency)¶
-
set_shadow_effect
(color, shadow_faint, offset1, offset2)¶
-
set_consumer_bar_effect
(color, pos, width, height)¶
-
set_producer_bar_effect
(color, pos, width, height)¶
-
set_state_of_charge_bar
(color, pos, width, height)¶
-
set_state_of_charge_tip
(color, pos, width, height)¶
-
set_state_of_charge_tip_bg
(color, pos, width, height)¶
-
is_under_mouse
¶
-
remove
()¶
-
maverig.views.groups.iconGroup
¶
-
class
maverig.views.groups.iconGroup.
IconGroup
(positions, icon_path)¶ Bases:
maverig.views.groups.abstractGroup.AbstractGroup
-
add_endpoint
(endpoint_pos)¶ add an endpoint with a dotted line to icon
-
maverig.views.groups.lineGroup
¶
-
class
maverig.views.groups.lineGroup.
LineGroup
(positions)¶
maverig.views.groups.lineIconGroup
¶
-
class
maverig.views.groups.lineIconGroup.
LineIconGroup
(positions, icon_file)¶
maverig.views.groups.nodeGroup
¶
-
class
maverig.views.groups.nodeGroup.
NodeGroup
(positions)¶