class sectionPlane : public QMainWindow
{
...
public slots:
void draw();
...
};
void sectionPlane::draw()
{
...
}
class GraphicsScene: public QGraphicsScene
{
...
signals:
void move();
...
};
void GraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent *me)
{
...
emit move();
}
connect(???, SIGNAL(move()), ???, SLOT(draw()));