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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to