18 lines
589 B
Python
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)
|