I want to know the size of a certain QGraphicsView
. Its size isn't fixed because the widget is part of a grid layout. I tried using this->ui->myGraphicsView->width()
and its height equivalent but these values aren't accurate.
How can I get the current size of a QGraphicsView
?
QGraphicsView->viewport()
? – Harshman