As for Pycharm to associate the QT file Form and QtPy?

Help to associate Pycharm 2017.3.3 with PyQt5.
I tried to follow this video tutorial.
The truth is I have Windows 10.

The installation sequence.
1. PyCharm 2017.3.3
2. python-3.5.2-webinstall
3. PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x32-2

At the moment we have:

The interpreter in PyCharm set up like this:

When you run the file with the extension .ui team External Tools > Qt Designer “Qt Designer” is opened, that is, everything is fine. In the file .py compile this code:

# -*- coding: utf-8 -*-
import sys
from PyQt5.QtWidgets import QApplication, QWidget
if __name__ == '__main__':
 app = QApplication(sys.argv)
 w = QWidget()
 w.resize(250, 150)
 w.move(300, 300)

Code kompileerimise, that is also OK here. But the problem is that changes made in the file .ui, not as not reflected in the file .py, although he needs to change. For example I added a button in “Qt Designer” and when you compile .py file, it appeared in the program.

At the same time when creating .py file is missing “edit”, “From”:

Should be something like this as far as I understand:

This “editor”, as far as I understand, I need to bind .py to .ui ...
But I somehow I don't have it...
June 8th 19 at 16:41
1 answer
June 8th 19 at 16:43
Found on the Internet by a drag source for .py file and it worked:)
Here it is:
from PyQt5 import uic, QtWidgets
import sys

class Ui(QtWidgets.QDialog):
 def __init__(self):
 super(Ui, self).__init__()
 uic.loadUi('window.ui', self)

if __name__ == '__main__':
 app = QtWidgets.QApplication(sys.argv)
 window = Ui()

Find more questions by tags PyCharmPyQt