Non-resizable QQuickView window
I have a qml file and open its window like this:
QQuickView* logView = new QQuickView();
How can I make that window non-resizable?
"This":http://qt-project.org/doc/qt-5.0/qtquick/qquickview.html#resizeMode-prop tells that it I can have two resize modes:
But there is no option for non-resizable windows.
If you want to get rid of resize capabilities for you window (I mean so that user will not be able to resize the window) just make it frameless. Add the following line:
@logView->setFlags(Qt::FramelessWindowHint | Qt::Tool);@
Or you could set the minimum and maximum size to some fixed size.