text: # Qt
  from PyQt5 import QtWidgets, QtCore, QtGui
  from PyQt5.QtWidgets import QTableWidgetItem, QLabel, QInputDialog, QComboBox
  from PyQt5.QtWidgets import QMessageBox, QWidget, QMenu
  from PyQt5.QtGui import QPixmap, QPainter, QColor, QBrush, QFont
  from PyQt5.QtCore import Qt, QRect
  # design
  import writedialogform
  
  class writeDialogForm(QtWidgets.QDialog, writedialogform.Ui_Dialog):
      def __init__(self):
          super().__init__()
          self.setupUi(self)  # Это нужно для инициализации нашего дизайна
  