Files
specklepy_qt_ui/widget_streamlist_dialog.py
T
KatKatKateryna 1425f2874b PyQt5 references
2023-06-13 18:38:46 +01:00

18 lines
589 B
Python

import os
from PyQt5 import QtWidgets, uic
# This loads your .ui file so that PyQt can populate your plugin with the elements from Qt Designer
FORM_CLASS, _ = uic.loadUiType(
os.path.join( os.path.join(os.path.dirname(__file__), "ui", "streamlist_dialog.ui") )
)
class StreamListDialog(QtWidgets.QWidget, FORM_CLASS):
streams_add_button: QtWidgets.QPushButton
streams_reload_button: QtWidgets.QPushButton
streams_remove_button: QtWidgets.QPushButton
def __init__(self, parent=None):
super(StreamListDialog, self).__init__(parent)
self.setupUi(self)