guys can anyone tell me how can i create sibling widget i am using two qvideowidget i want one to be sibling od other and the i need to use it the command stack under to put it under one another.
Please help me in this.
Printable View
guys can anyone tell me how can i create sibling widget i am using two qvideowidget i want one to be sibling od other and the i need to use it the command stack under to put it under one another.
Please help me in this.
Sibling are entities that have a common parent.
how can i do that means syntax can you help me with a sample code.
QWidget *window=new QWidget();
{ window->resize(400,300);
window->show();}
screen = new QVideoWidget(window);
mediaPlayer.setVideoOutput(screen);
//screen->show();
screen1 = new QVideoWidget(window);
mediaPlayer1.setVideoOutput(screen1);
screen1->stackUnder(screen);
i did it like this
is screen 1 and screen siblings?