well this is turning out so weird or maybe I am doing it wrong

I am trying to read the value of QLineEdit text box but i am getting it empty

basically I wrote file in pyQt4 for UI,called RenderUI.py

and now from render.py

i am trying to access QLineEdit but getting it empty even when it filled with text
Below is render.py file and from it I did importation of RenderUI as ren
i can access the selected text from the QComboBox but not QLineEdit ?? where I have print obj.scnFilePath.text()
Qt Code:
  1. import RenderUI as ren
  2. import sys,os
  3. from PyQt4 import QtCore,QtGui
  4.  
  5. class Actions(QtGui.QWidget):
  6. def __init__(self):
  7. pass
  8. ## super(Actions,self).__init__(self)
  9.  
  10. def makebatFileTasks(self):
  11. obj=ren.Window()
  12.  
  13. print obj.scnFilePath.text()
  14.  
  15. ## building the render string for bat file
  16. print "render -r " + obj.renderer[str(obj.rndCB.currentText())] +"\
  17. -im "
To copy to clipboard, switch view to plain text mode