PDA

View Full Version : Multiple tabs and buttons in them



kovariadam
17th January 2009, 22:06
Hello,
i have dynamically created multiple tabs each containing a button,
i need to know from which tab was the button pressed.
I would need some example how to solve this kind of problem.

I'm just a beginner using qt jambi.

Please help
Thanks in any advance

jpn
18th January 2009, 21:49
You can use QObject::sender(), QButtonGroup or QSignalMapper.

kovariadam
19th January 2009, 16:05
Thank you. I solved it a little differently using currentTab function that seems to be just enough for my needs right now.