more ui
This commit is contained in:
@ -1,8 +1,20 @@
|
||||
from ..Qt import QtWidgets
|
||||
from gui_qt.Qt import QtWidgets
|
||||
from gui_qt._py.tnmh_dialog import Ui_Dialog
|
||||
|
||||
|
||||
class TgCalculator(QtWidgets.QDialog):
|
||||
def __init__(self, parent=None):
|
||||
class TgCalculator(QtWidgets.QDialog, Ui_Dialog):
|
||||
def __init__(self, management, parent=None):
|
||||
super().__init__(parent=parent)
|
||||
|
||||
self.setupUi(self)
|
||||
self._management = management
|
||||
|
||||
print('hello there')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = QtWidgets.QApplication([])
|
||||
w = TgCalculator(None)
|
||||
w.show()
|
||||
app.exec()
|
||||
|
||||
|
Reference in New Issue
Block a user