# Path: ui/ui_waiting.py
# class Ui_Dialog(object):
#     def setupUi(self, Dialog):
#         Dialog.setObjectName("Dialog")
#         Dialog.resize(491, 81)
#         self.gridLayout = QtWidgets.QGridLayout(Dialog)
#         self.gridLayout.setObjectName("gridLayout")
#         self.label = QtWidgets.QLabel(Dialog)
#         font = QtGui.QFont()
#         font.setPointSize(13)
#         self.label.setFont(font)
#         self.label.setObjectName("label")
#         self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
# 
#         self.retranslateUi(Dialog)
#         QtCore.QMetaObject.connectSlotsByName(Dialog)
# 
#     def retranslateUi(self, Dialog):
#         _translate = QtCore.QCoreApplication.translate
#         Dialog.setWindowTitle(_translate("Dialog", "待機中"))
#         self.label.setText(_translate("Dialog", "adx.exe の応答を待っています"))


import os
import sys
from ui.ui_waiting import Ui_Dialog
from subprocess import DEVNULL, STDOUT, check_call
from PyQt5.QtWidgets import QApplication, QWidget
from typing import List
# -*- coding: utf-8 -*-

class window_waiting(QWidget):
    def __init__(self, parent=None, isolate=True):
        if not isolate:
            super(window_waiting, self).__init__(parent)
        else:
            super(window_waiting, self).__init__(None)
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)

    def command(self, attr: List[str]) -> bool:

# Path: ui/ui_waiting.py
# class Ui_Dialog(object):
#     def setupUi(self, Dialog):
#         Dialog.setObjectName("Dialog")
#         Dialog.resize(491, 81)
#         self.gridLayout = QtWidgets.QGridLayout(Dialog)
#         self.gridLayout.setObjectName("gridLayout")
#         self.label = QtWidgets.QLabel(Dialog)
#         font = QtGui.QFont()
#         font.setPointSize(13)
#         self.label.setFont(font)
#         self.label.setObjectName("label")
#         self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
# 
#         self.retranslateUi(Dialog)
#         QtCore.QMetaObject.connectSlotsByName(Dialog)
# 
#     def retranslateUi(self, Dialog):
#         _translate = QtCore.QCoreApplication.translate
#         Dialog.setWindowTitle(_translate("Dialog", "待機中"))
#         self.label.setText(_translate("Dialog", "adx.exe の応答を待っています"))


# Path: window/window_waiting.py
import os
import sys
from ui.ui_waiting import Ui_Dialog
from subprocess import DEVNULL, STDOUT, check_call
from PyQt5.QtWidgets import QApplication, QWidget
from typing import List

# -*- coding: utf-8 -*-

class window_waiting(QWidget):
    def __init__(self, parent=None, isolate=True):
        if not isolate:
            super(window_waiting, self).__init__(parent)
        else:
            super(window_waiting, self).__init__(None)
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)

    def command(self, attr: List[str]) -> bool:

        try: