Hi there,
I've a problem with the old topic "Signal from one class to another class".
To clearify my situation:
I have A which calls B (a modal QDialog, so it is without parent). B has a button, when pressed a function in A is calling, this way works. But the other way round I have the problem...
I initialize B like this:
b = new B();
and later in the "openFunction":
b->setFixedSize(b->minimumSize());
testbshow();
and now, in B I want this:
connect(A, SIGNAL(CallB()), this, SLOT(FunctionB()));
Because B should be Modal I can't do anything like this (maybe, I'm only don't know how I get B modal with this line):
b = new B(this);
I hope someone has a idea what I can do, so that B can get a signal from A.
-casisto
Bookmarks