I want to initialize the splitter handle position like the following instead of in the middle. I cannot set it in the property.
How to solve this?
You can use QSplitter::setSizes
in this why to reposition the handle:
ui->splitter->setSizes(QList<int>() << 100 << 200);