13 lines
378 B
Python
13 lines
378 B
Python
from main import query_error
|
|
from ui.PeopleDialog import Ui_Dialog
|
|
from PyQt6.QtCore import Qt, pyqtSlot
|
|
from PyQt6.QtSql import QSqlQuery
|
|
from PyQt6.QtWidgets import QDialog
|
|
|
|
class PersonDialog(QDialog, Ui_Dialog):
|
|
def __init__(self,*args, **kwargs):
|
|
super(PersonDialog, self).__init__(*args, **kwargs)
|
|
self.setupUi(self)
|
|
self.show()
|
|
return
|