I want create a form. In menu example menu file . I want to create some option : new windows ,new tab ,open .... I query how to create a option new tab in Qt designer ? Help me .Thanks!
I want create a form. In menu example menu file . I want to create some option : new windows ,new tab ,open .... I query how to create a option new tab in Qt designer ? Help me .Thanks!
take a look here
http://doc.trolltech.com/4.2/designe...ows.html#menus
Thank for help me.But my problem is not here. I have done all step in this page and now I have must done something continuous to create a function open a tab ( When I click here it will open a new tab like that Firefox press ctr+ T it will open a new tab)
You can't create such functionality in Qt Designer which is just a layout designer. You write functionality in code; first you react to the shortcut and then you call QTabWidget::addTab().
J-P Nurmi
songthanjp (4th March 2008)
i have another question. I want a sign "x" in my tab ,click here will close tab
Bookmarks