@staticmethod
    def getSaveDBObject(obj_type):
        if QOpenDBWindow._instance:
            dlg = QOpenDBWindow._instance
        else:
            dlg = QOpenDBWindow()

        dlg.prepareForSaving(obj_type)

        if dlg.exec_() == QtGui.QDialog.Accepted:
            return (dlg.connectionList.getCurrentConnConfig(),
                    str(dlg.saveasEdt.text()).strip(' \n\t'))
        else:
            return({},'')
        
################################################################################
getSaveDBObject(obj_type : str) -> (dict, str)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/open_db_window.py/QOpenDBWindow.getSaveDBObject