Hi All,
I have derived MyDialog class from QDialog. In MyDialog class's constructor I have connected some widget's signal and slots after setup ui. That's all for now. I use MyDıalog class from my application by;
MyDialog *md = new MyDialog(this);
md->show();
When I call show method at first time my connected slot's running one by one although there isn't any signal emitted under my control which are related each connected slot. But after first show method calling this situation disappered. I mean I hide window and show again and this situation doesn't exist.
But if I show and hide method before the signal slot connection in my constructor method there is no automatic slot running in my other show method calling.
Why my slots running automaticaly after my first show method calling? Do you have any idea?
Thanks in advance.
Bookmarks