PDA

View Full Version : Copying contents of QTab



Salazaar
2nd June 2007, 23:07
Hi. I've got a question. If I have a QTabWidget (in designer) can I copy all contents of one tab to the other tab? Regards

wysota
2nd June 2007, 23:38
Doesn't CTRL+C, CTRL+V work?

And if you're asking about doing that runtime:

If you mean placing widgets from one tab in another tab, then yes, but the first tab will not contain them anymore. So you can't copy, but you can move them.

Salazaar
2nd June 2007, 23:40
ctrl+c(v) works, but I can't select more than 1 object, I don't want to move them, and I can't copy it. Right?

wysota
3rd June 2007, 04:24
ctrl+c(v) works, but I can't select more than 1 object
drag a rubber band or use shift or ctrl while selecting items.


I don't want to move them, and I can't copy it. Right?

You can during design time (but they will be separate widgets). During runtime you can only move existing widgets between tabs as copying widgets is forbidden.

Salazaar
3rd June 2007, 21:35
Thanks, now everything's right