Hello, I'm using Grid Layout for my dialog boxes 'cuz I'm too old (lazy) to learn QtDesigner. I'm trying to make a horizontal line to separate sections of the box, but no luck. Here is what I've tried:
separator = QtWidgets.QFrame()
separator.setFrameShape(QFrame::HLine)
grid.addWidget(separator, 15, 0, 1, 2)
I get past the first line but get a Syntax Error on the second line. Any ideas about what is wrong? Thanks...
Reallusion Certified Director / Reallusion Best Visual Award / Reallusion Certified Content Developer
See all the G-Tools Plug-Ins available for iClone here: G-Tools Plug-Ins