This is the snipped code of my application (at the main program):
.
.
.
# Create the dialog and keep reference
reload(output_file_dialog)
dlg = OutputFile() #create Dialog object
dlg.show() #show Dialog object
dlg.ui.lineEdit.clear() #clear text in lineEdit object
dlg.ui.pushButton.clicked.connect(dlg.select_output_file) #send signal if pushButton is clicked
to produce this Dialog:

When I included only three lines of code for creating the QgsMapLayerComboBox object (see next code) and a slightly modifications in the output_file_dialog:
.
.
.
# Create the dialog and keep reference
reload(output_file_dialog)
dlg = OutputFile() #create Dialog object
win = QgsMapLayerComboBox(dlg) #create a QgsMapLayerComboBox
win.setFixedWidth(231)
win.move(150, 20)
dlg.show() #show Dialog object
dlg.ui.lineEdit.clear() #clear text in lineEdit object
dlg.ui.pushButton.clicked.connect(dlg.select_output_file) #send signal if pushButton is clicked
it changed to produce this new Dialog. It was very quick and useful.
