

function QWindow(parent, name, x, y, width, height, content, visible, effects, opacity, zindex) {
    this.init(parent, name);
    this.x = x - 0;
    this.y = y - 0;
    this.width = width - 0;
    this.height = (typeof(height) == "number") ? height : null;
    this.content = content;
    var j = QWindow.arguments.length;
    this.visible = (j > 7) ? visible : false;
    this.effects = (j > 8) ? effects : 0;
    this.opacity = (j > 9) ? opacity : 100;
    this.zindex  = (j > 10) ? zindex : null;
    this.create();
}
QWindow.prototype = new QWndCtrl();
