def __init__( self, *args ):
      apply( qt.QWidget.__init__, (self,) + args )

      self.topLayout = qt.QVBoxLayout( self, 10 )
      self.grid = qt.QGridLayout( 0, 0 )
      self.topLayout.addLayout( self.grid, 10 )

      # Create a list box
      self.lb = qt.QListBox( self, "listBox" )

      file=open(sys.argv[1],'r')
      self.dasitems=map(lambda x:string.rstrip(x),file.readlines())
      file.close()

      self.setCaption(self.dasitems.pop(0))