Hi all,
Given:
{
...
private:
};
class MyView : public QAbstractItemView
{
...
private:
QGraphicsView *view_;
};
To copy to clipboard, switch view to plain text mode
and:
MyView::MyView(...)
{
...
setViewport( view_ );
...
}
MyView::MyView(...)
{
...
view_ = new QGraphicsView;
setViewport( view_ );
...
}
To copy to clipboard, switch view to plain text mode
How can I get the viewport of QGraphicsView to match the viewport of MyView when resizing? As it always stays as a fixed size. How can I get it to stretch to to the whole MyView sreen space?
Kind Regards,
Bookmarks