Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1067

DAZ and QT( from UI file) widgets - how to combine work?

$
0
0

QT widgets work well with signals. But how to work together with DAZ widgets  and widgets from  UI file? For example, to put the DAZ button into QT Group box or in tab widget (and so on).

var loader = new DzUiLoader();
var dialog = new DzDialog();
var dialogWgt = loader.load("C:/untitled.ui",dialog);
var groupBox=dialog.findChildOfWidget("groupBox"); // QT widget from UI file
var But=new DzPushButton(groupBox) // DAZ widget into QT widget from UI
dialog.exec();
 

This code gives an error "general\dzscript.cpp(658): Unhandled error while executing script."

What I need to do to link different widgets - DAZ and QT?

 


Viewing all articles
Browse latest Browse all 1067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>