# Form implementation generated from reading ui file 'ui\dialogs\confirm_extend.ui'
#
# Created by: PyQt6 UI code generator 6.3.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtWidgets

from src import Icon

from .dialog_sources.Ui_confirm_extend import Ui_extend_confirm


class ConfirmDialog(QtWidgets.QDialog, Ui_extend_confirm):
    def __init__(self, parent=None, title=None):
        super().__init__(parent)
        self.setupUi(self)
        self.setWindowIcon(Icon("info").icon)
        self.setWindowTitle(title)


if __name__ == "__main__":
    import sys

    app = QtWidgets.QApplication(sys.argv)
    extend_confirm = QtWidgets.QDialog()
    ui = Ui_extend_confirm()
    ui.setupUi(extend_confirm)
    extend_confirm.show()
    sys.exit(app.exec())
