I apologise for being too vague.
The function is the QGraphicsScene::mouseDoubleClickEvent().
1) The first "it" is the object, I wanted to update the QTreeWidget whenever the object is being double-clicked.
2) The second "it" refers to the same object which has not been instantiated.
3) The third "it" refers to the connection that I wanted to connect between the myCable object and myScene object, however I only instantiate the myCable object in one of myScene methods.
4) The fourth "it" refers to the myCable object which I have instantiate in one of the myScene methods.
E.g. myScene.cpp
void myScene::myCableToolsDrawSlot(int x, int y, int x2, int y2)
{
myCable cable = new myCable();
...
...
}
Bookmarks