fork download
  1. def createDb(self):
  2. # Displays a Save dialog box so the user can choose where the db will be saved.
  3. newfilePath = QtGui.QFileDialog.getSaveFileName(\
  4. None,
  5. self.trUtf8("Save New Database"),
  6. self.trUtf8("New_Database.tdb"),
  7. self.trUtf8("*.tdb"),
  8. None)
  9. return newfilePath
  10. # The path is passed to the init_database function in Termanager.py
  11. ##init_database(newfilePath)
  12. #Writes the path of db. Function in Termanager.py
  13. ##wpath(newfilePath)
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty