The following doesn't seem to work - please can someone tell me where I am gong wrong. (this is QScript.)
Qt Code:
  1. var Styles =[];
  2. Styles[1] = {};
  3. Styles[1].font = New Font();
  4. Styles[1].font.family = "Arial"; //f1 is for left side
To copy to clipboard, switch view to plain text mode 
I am trying to create an array of font styles.

Where can I find the syntax for new Font()? ideally iwould like to do something like
Qt Code:
  1. Styles[1].font = New Font("Arial",12, true,false, false); //Font (style, pointsize, bold, italic, underline)
To copy to clipboard, switch view to plain text mode 

Any Advice greatly appreciated.

Thanks

Allan