Based on your last email regarding the possibility of using vertical headers 
with QTabWidget... Are you trying to add your QPushButton to a QTabWidget using 
East or West tab positions ?
If that's the case, the documentation states that corner widgets are only 
working properly with North and South tab positions.

On 16 mai 2013, at 16:09, Sujan Dasmahapatra wrote:

> 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

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to