KDE Developer
|
I noticed a few things about KTabWidget. When I set a tab with a accelerator like &Foo. It appears fine in the Qt Designer. But when I run it, it shows '&Foo' without the ''. Is there a way to have KTabWidgets automatically set accelerators for names without you doing it yourself?
I'd like to implement drag and drop with a KTabWidget. Like when a user clicks on a tab if there is more than just one. The user can click on the tab they want and detach it. And then drag it to the top or bottom of the current existing KTabWidget and it would create a new KTabWidget and you can have one on top of the other, similiar to how you would do it in MDI but without actually using MDI. |
Mentor
|
You could use dock widgets for that. I think it would be hard to visualize the dragging of the tab pages. [size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
KDE Developer
|
When you detach it would look like this. Tab Layout. I think I found the problem to the accelerators by using KAcceleratorManager?
|
Mentor
|
Have a look at the konqueror source code and maybe these search results can help: http://www.google.com/codesearch?q=initiateDrag+KTabWidget&hl=en&btnG=Search+Code
[size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
KDE Developer
|
Thank you mate =]
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell