[Interest] Corner Widget not visible

Sujan Dasmahapatra sujan.dasmahapatra at gmail.com
Thu May 16 16:09:15 CEST 2013


I have set a QTabWidget on QMainWindow .ui. And then in main function
setting a corner widget a QPushButton as below

    QPushButton *button = new QPushButton("AddPage",this);

    button->setGeometry(0,0,120,20);

    ui->setupUi(this);

    ui->tabWidget->setCornerWidget(button,Qt::TopRightCorner);

    button->show();


But My PushButton is not visible. Whats going wrong in this. Any help
is appreciated. Thanks


-- 
Thanks & Regards
Sujan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130516/87f26c68/attachment.html>


More information about the Interest mailing list