[Qt-interest] Adding menu for tabwidget
Yuvaraj R
yuvaraj at ongobiz.com
Thu Aug 20 08:38:15 CEST 2009
Thats why i am asking , added one pusg button to tab widget
QPushButton *button = new QPushButton(ui->tabWidget);
But i am getting getometry problem
I tried with
button->setGeometry(ui->tabWidget.x(),ui->tabWidget.y(),20,20)
but i am not able to set properly
Thanks
Yuvaraj R
On Thu, Aug 20, 2009 at 11:18 AM, rajasekharan <websweetweb at gmail.com>wrote:
> You can use QMenuBar instead if you are using a QMainWindow. In case you
> are not usin QMainWindow, you can use a set of buttons instead of tabs and
> then use a QMenu to show a menu when those buttons are clicked.
>
> Kind Regards,
> Raj Sekharan
>
> Yuvaraj R wrote:
>
> Dear All
>
>
> I have near 10 tabs in my tab widget.. I don't like to display the 10 tabs
> in tabwidget..
>
> I want to provide menu for tabwidget..
>
> whenever user clciking the first tab ,menu will be display.
>
> Any ideas?
>
> how do we get the notification,suppose first tab icon is pressed..
>
>
> Thanks
>
> Yuvaraj R
>
> ------------------------------
>
> _______________________________________________
> Qt-interest mailing listQt-interest at trolltech.comhttp://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090820/8eb31756/attachment.html
More information about the Qt-interest-old
mailing list