diff --git a/docs/conf.py b/docs/conf.py index abb7f9e..23b950a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -58,7 +58,8 @@ sys.modules['serial']=mock.Mock(SerialException=object) sys.modules['ft232']=mock.Mock(Ft232Exception=object) sys.modules['PyQt5.QtCore']=mock.Mock(QObject=object,QThread=object) -sys.modules['PyQt5.QtWidgets']=mock.Mock(QWidget=object,QFrame=object,QGroupBox=object,QScrollArea=object,QTabWidget=object,QPushButton=object,QComboBox=object,QLineEdit=object,QLabel=object) +sys.modules['PyQt5.QtWidgets']=mock.Mock(QWidget=object,QFrame=object,QGroupBox=object,QScrollArea=object,QTabWidget=object, + QPushButton=object,QComboBox=object,QLineEdit=object,QLabel=object,QDialog=object) sys.modules['PyQt5']=mock.Mock(QtCore=sys.modules['PyQt5.QtCore'],QtWidgets=sys.modules['PyQt5.QtWidgets']) if os.path.exists(".skipped_apidoc"): with open(".skipped_apidoc","r") as f: