~ubuntu-branches/ubuntu/utopic/mysql-workbench/utopic

« back to all changes in this revision

Viewing changes to backend/wbprivate/model/wb_physical_model_diagram_features.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2014-05-31 12:03:58 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20140531120358-cjik5ofkmj0fxsn8
Tags: 6.1.6+dfsg-1
* New upstream release [May 2014].
* Dropped "prtcl.patch".
* "debian/clean": better clean-up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "wbcanvas/workbench_physical_connection_impl.h"
24
24
#include "wbcanvas/workbench_physical_tablefigure_impl.h"
25
25
 
 
26
#include "mforms/form.h"
26
27
#include "mforms/popover.h"
27
28
#include "mforms/label.h"
28
29
 
98
99
    if (over != _last_over_item)
99
100
    {
100
101
      _last_over_item= over;
101
 
      tooltip_setup(owner);
 
102
      if (mforms::Form::main_form()->is_active())
 
103
        tooltip_setup(owner);
102
104
    }
103
105
  }
104
106
  else
164
166
  
165
167
  model_Diagram::ImplData *impl= diagram->get_model_diagram()->get_data();
166
168
  
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));
168
171
  
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));
 
180
 
 
181
  scoped_connect(mforms::Form::main_form()->signal_deactivated(),
 
182
                 boost::bind(&PhysicalModelDiagramFeatures::tooltip_cancel, this));
173
183
}
174
184
 
175
185