group boxes
nigeuk62_1ae701f276
Posts: 14
Silly question really but groupboxes seemed to be missed from the docs; DzGroupbox can you have them checkable?
from QT Designer its
LightGroup = new QGroupBox();
LightGroup->setObjectName(QString("LightGroup"));
LightGroup->setCheckable(true);
and this works fine for a C++ plugin
but It doesn't seem to work converting it to script.. but I appear to be having a brain dead day, today for some reason :s
edit DUH!
I sussed it, see told you I was brain dead lol
Post edited by nigeuk62_1ae701f276 on
Comments
I don't know abot DzGroupBox but you can use pure qt qgroupbox in your code as you wrote in your example.
I've got so much to deal with I was just focusing on how the scripts language handled it, I never tried using the qt alternative
DzGroupBox is a script wrapper class for QGroupBox. Plugins should use QGroupBox directly, not the script wrapper. Many of the Dz* widget script wrapper classes use property equivalents of the Q* widget class member functions.
So, where you might use the following in a plugin...
... you would use the following in script...
-Rob