I am making a class that is a
QWidget descendant and which consists of buttons (a button table). Now, signal that is sent by this object is straightforward:
void wasClicked(size_t x, size_t y) which sends button coords in the grid. But for this, I need to connect
QPushButton's click signal to my widget. Since number of slots/signals depends on grid size, which is not determined at runtime, i can't create enough slots in advance. What should I do then?