def OpenDmlcFiles(self):
    options = QFileDialog.Options()
    options |= QFileDialog.DontUseNativeDialog
    (fileName, _) = QFileDialog.getOpenFileName(self, 'QFileDialog.getOpenFileName()', '', 'All Files (*);;DICOM Files (*.dcm)', options=options)
    if fileName:
        DirectoryPath.dmlcopenfilenamepath = fileName
def OpenDmlcFiles(self):
    options = QFileDialog.Options()
    options |= QFileDialog.DontUseNativeDialog
    (fileName, _) = QFileDialog.getOpenFileName(self, 'QFileDialog.getOpenFileName()', , 'All Files (*);;DICOM Files (*.dcm)', options=options)
    if fileName:
        DirectoryPath.dmlcopenfilenamepath = fileName