nmreval/src/gui_qt/dsc/glass_dialog.py

21 lines
436 B
Python
Raw Normal View History

2023-05-24 17:34:06 +00:00
from gui_qt.Qt import QtWidgets
from gui_qt._py.tnmh_dialog import Ui_Dialog
2023-05-23 17:23:13 +00:00
2023-05-24 17:34:06 +00:00
class TgCalculator(QtWidgets.QDialog, Ui_Dialog):
def __init__(self, management, parent=None):
2023-05-23 17:23:13 +00:00
super().__init__(parent=parent)
2023-05-24 17:34:06 +00:00
self.setupUi(self)
self._management = management
print('hello there')
if __name__ == '__main__':
app = QtWidgets.QApplication([])
w = TgCalculator(None)
w.show()
app.exec()
2023-05-23 17:23:13 +00:00