title: extjs adding icons to the titlebar of an extended window widget (two levels of extension)
body: <p>I am new to extjs....
  I am trying to add icons to the title bar of a window.
  I am not able to figure out the error in my code
  i tried using tools config for the window</p>
  
  <p>Here is my code:</p>
  
  <pre><code>**Ext.ns('DEV');
  DEV.ChartWindow = Ext.extend(Ext.ux.DEV.SampleDesktopWidget, {
  width:740,
  height:480,
  iconCls: 'icon-grid',
  shim:false,
  animCollapse:false,
  constrainHeader:true,
  layout: 'fit',
  initComponent : function() {
  
  this.items = [
      new Ext.Panel({
          border:true,
          html : '&lt;iframe src="" width="100%" height="100%" &gt;&lt;/iframe&gt;'
      })
  ];
  
  DEV.ChartWindow.superclass.initComponent.apply(this, arguments);
  },
  getConfig : function() {
  var x = DEV.ChartWindow.superclass.getConfig.apply(this, arguments);
  x.xtype = 'DEV Sample Window';
  
  return x;
  },
  tools: [{
  id:'help',
  type:'help',
  handler: function(){},
  qtip:'Help tool'
  }]
  });
  Ext.reg('DEV Sample Window', DEV.ChartWindow);**
  </code></pre>
  
  <p>SampleDesktopWidget is an extension of Window</p>
  
  <p>Can somebody help me with this</p>
  
  <p>Thanks in advance</p>