165
167
model_Diagram::ImplData *impl= diagram->get_model_diagram()->get_data();
167
scoped_connect(impl->signal_selection_changed(),boost::bind(&PhysicalModelDiagramFeatures::on_selection_changed, this));
169
scoped_connect(impl->signal_selection_changed(),
170
boost::bind(&PhysicalModelDiagramFeatures::on_selection_changed, this));
169
scoped_connect(impl->signal_item_crossed(),boost::bind(&PhysicalModelDiagramFeatures::on_figure_crossed, this, _1, _2, _3, _4));
170
scoped_connect(impl->signal_item_double_click(),boost::bind(&PhysicalModelDiagramFeatures::on_figure_double_click, this, _1, _2, _3, _4, _5));
171
scoped_connect(impl->signal_item_mouse_button(),boost::bind(&PhysicalModelDiagramFeatures::on_figure_mouse_button, this, _1, _2, _3, _4, _5, _6));
172
scoped_connect(impl->signal_object_will_unrealize(),boost::bind(&PhysicalModelDiagramFeatures::on_figure_will_unrealize, this, _1));
172
scoped_connect(impl->signal_item_crossed(),
173
boost::bind(&PhysicalModelDiagramFeatures::on_figure_crossed, this, _1, _2, _3, _4));
174
scoped_connect(impl->signal_item_double_click(),
175
boost::bind(&PhysicalModelDiagramFeatures::on_figure_double_click, this, _1, _2, _3, _4, _5));
176
scoped_connect(impl->signal_item_mouse_button(),
177
boost::bind(&PhysicalModelDiagramFeatures::on_figure_mouse_button, this, _1, _2, _3, _4, _5, _6));
178
scoped_connect(impl->signal_object_will_unrealize(),
179
boost::bind(&PhysicalModelDiagramFeatures::on_figure_will_unrealize, this, _1));
181
scoped_connect(mforms::Form::main_form()->signal_deactivated(),
182
boost::bind(&PhysicalModelDiagramFeatures::tooltip_cancel, this));