Hi,
i have Splitter and i make like that
Splitter->setOrientation(Qt::Vertical);
mVerticalLayout->addWidget(Splitter);
QRenderWindow *orw = new QRenderWindow(Splitter);
mQRenderWindowList.append(orw);
Splitter->addWidget(orw);
QVBoxLayout *mVerticalLayout;
QSplitter *Splitter = new QSplitter(this);
Splitter->setOrientation(Qt::Vertical);
mVerticalLayout->addWidget(Splitter);
QRenderWindow *orw = new QRenderWindow(Splitter);
mQRenderWindowList.append(orw);
Splitter->addWidget(orw);
To copy to clipboard, switch view to plain text mode
and that work very good
But i want now add name of each Splitter( i want to see the name) for that i change the method and i use qgroubbox
But that does not work
i make like that
QOgreRenderWindow *orw = new QOgreRenderWindow(central);
mVerticalLayout->addWidget(orw);
central->setLayout(mVerticalLayout);
QHBoxLayout *mVerticalLayout;
QWidget *central = new QGroupBox("My Scene", this);
QOgreRenderWindow *orw = new QOgreRenderWindow(central);
mVerticalLayout->addWidget(orw);
central->setLayout(mVerticalLayout);
To copy to clipboard, switch view to plain text mode
But that make to me an empty window
Bookmarks