I want to call a function after a change in a QTreeView.
Unsolved
General and Desktop
-
How can i achive to call a function or doing something after a change in a QTreeView.
For Example:if(change in QtreeView) { s = 3; }
So how can I say that something is changed.
Regards
-
@developer_96 said in I want to call a function after a change in a QTreeView.:
So how can I say that something is changed.
-
@Christian-Ehrlicher thank you. But the problem is i already use a signal for an button that is triggered.
So how can i achive to say that the button can be only clicked after a change?
Is it possible to use the signal as a condition? -
@developer_96 said in I want to call a function after a change in a QTreeView.:
So how can i achive to say that the button can be only clicked after a change?
Enable the button after the model emitted a change signal.
-
This post is deleted!
-
thank you.