So what I did is I used Dialog Design to create a dialog and added a label as a placeholder for the image. So apparently with the Piximage, I get a error that says "QFileInfo::absolutePath: Constructed with empty filename".
here's the code
var label = new DzLabel( Dialog );
label.setGeometry( 200, 60, 46, 13 );
var sPath = new DzFileInfo(getScriptFileName()).path();
var filepath = sPath + "\\aero_header.png";
var pixImage = new Pixmap(filepath);
label.pixmap = pixImage;
What did I do wrong??