2020-02-27 14:46:43 +00:00
|
|
|
"""Trigger dialog"""
|
2020-02-26 10:54:49 +00:00
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
from PyQt4.QtTest import QTest
|
|
|
|
|
|
|
|
|
|
|
|
def connectme(dialog):
|
|
|
|
"""Automate the connect dialog, when run for first time"""
|
|
|
|
dialog.show()
|
|
|
|
QTest.qWait(1200)
|
|
|
|
QtCore.QTimer.singleShot(0, dialog.buttonBox.button(QtGui.QDialogButtonBox.Ok).clicked)
|
2020-03-16 14:43:18 +00:00
|
|
|
return 1
|