ElectrodeButton* eb = new ElectrodeButton(electrodeNumber, this, window);
electrodes.push_back(eb);
temp->move(x,y);
connect(eb, SIGNAL(focusChanged(int, int)), this, SIGNAL(currentChanged(int, int)));
connect(eb, SIGNAL(currentChanged(int, int)), eb, SLOT(updateFocus(int, int)));
ElectrodeButton* eb = new ElectrodeButton(electrodeNumber, this, window);
electrodes.push_back(eb);
temp->move(x,y);
connect(eb, SIGNAL(focusChanged(int, int)), this, SIGNAL(currentChanged(int, int)));
connect(eb, SIGNAL(currentChanged(int, int)), eb, SLOT(updateFocus(int, int)));
To copy to clipboard, switch view to plain text mode
ElectrodeButton
::ElectrodeButton(blah
):QWidget(parent
){}
ElectrodeButton::ElectrodeButton(blah):QWidget(parent){}
To copy to clipboard, switch view to plain text mode
as part of it....but I would assume that it'd still work out that eb is of the ElectrodeButton type....
Bookmarks