QML has vertical or horizontal separator control?
-
Maybe this helps:
http://developer.nokia.com/community/wiki/Drawing_lines_in_QML -
From what I see the vertical line is a QFrame element with VLine settings.
http://qt-project.org/doc/qt-5/qframe.htmlA quick search did not provide me with a solution to either get QFrame in QML or draw a QWidget on QML. Maybe try looking for it yourself or use your drawing skills to redesign the line from my previous post so it looks like the Qt Designer :).
-
From what I see, the vertical line is a
QFrame
element withVLine
settings.Using
stackoverflow.com/review/suggested-edits/36711790
, that:separator_line = PyQt6.QtWidgets.QFrame() separator_line.setFrameShape(PyQt6.QtWidgets.QFrame.Shape.HLine) separator_line.setFrameShadow(PyQt6.QtWidgets.QFrame.Shadow.Sunken)
...seems to render in the correct orientation for me:
-
Before
-
Afterward
...albeit invisibly (it should be between "Modify" and "Overflow"):
-