# Path: gui/dialogs/ui_languagedialog.py
# class Ui_LanguageDialog(object):
#     def setupUi(self, LanguageDialog):
#         LanguageDialog.setObjectName("LanguageDialog")
#         LanguageDialog.resize(387, 143)
#         self.verticalLayout = QtWidgets.QVBoxLayout(LanguageDialog)
#         self.verticalLayout.setObjectName("verticalLayout")
#         self.groupBox = QtWidgets.QGroupBox(LanguageDialog)
#         self.groupBox.setObjectName("groupBox")
#         self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
#         self.verticalLayout_2.setObjectName("verticalLayout_2")
#         self.verticalLayout.addWidget(self.groupBox)
#         self.buttonBox = QtWidgets.QDialogButtonBox(LanguageDialog)
#         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
#         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
#         self.buttonBox.setObjectName("buttonBox")
#         self.verticalLayout.addWidget(self.buttonBox)
# 
#         self.retranslateUi(LanguageDialog)
#         self.buttonBox.accepted.connect(LanguageDialog.accept)
#         self.buttonBox.rejected.connect(LanguageDialog.reject)
#         QtCore.QMetaObject.connectSlotsByName(LanguageDialog)
# 
#     def retranslateUi(self, LanguageDialog):
#         _translate = QtCore.QCoreApplication.translate
#         LanguageDialog.setWindowTitle(_translate("LanguageDialog", "Language"))
#         self.groupBox.setTitle(_translate("LanguageDialog", "Select language"))


from PyQt5.QtWidgets import QDialog
from PyQt5.QtWidgets import QRadioButton
from gui.dialogs.ui_languagedialog import Ui_LanguageDialog



class LanguageDialog(QDialog):

    def __init__(self, language_ids, currentlanguage, parent=None):
        super(LanguageDialog, self).__init__(parent)

# Path: gui/dialogs/ui_languagedialog.py
# class Ui_LanguageDialog(object):
#     def setupUi(self, LanguageDialog):
#         LanguageDialog.setObjectName("LanguageDialog")
#         LanguageDialog.resize(387, 143)
#         self.verticalLayout = QtWidgets.QVBoxLayout(LanguageDialog)
#         self.verticalLayout.setObjectName("verticalLayout")
#         self.groupBox = QtWidgets.QGroupBox(LanguageDialog)
#         self.groupBox.setObjectName("groupBox")
#         self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
#         self.verticalLayout_2.setObjectName("verticalLayout_2")
#         self.verticalLayout.addWidget(self.groupBox)
#         self.buttonBox = QtWidgets.QDialogButtonBox(LanguageDialog)
#         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
#         self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
#         self.buttonBox.setObjectName("buttonBox")
#         self.verticalLayout.addWidget(self.buttonBox)
# 
#         self.retranslateUi(LanguageDialog)
#         self.buttonBox.accepted.connect(LanguageDialog.accept)
#         self.buttonBox.rejected.connect(LanguageDialog.reject)
#         QtCore.QMetaObject.connectSlotsByName(LanguageDialog)
# 
#     def retranslateUi(self, LanguageDialog):
#         _translate = QtCore.QCoreApplication.translate
#         LanguageDialog.setWindowTitle(_translate("LanguageDialog", "Language"))
#         self.groupBox.setTitle(_translate("LanguageDialog", "Select language"))


# Path: gui/dialogs/languagedialog.py
from PyQt5.QtWidgets import QDialog
from PyQt5.QtWidgets import QRadioButton
from gui.dialogs.ui_languagedialog import Ui_LanguageDialog




class LanguageDialog(QDialog):

    def __init__(self, language_ids, currentlanguage, parent=None):
        super(LanguageDialog, self).__init__(parent)

        self.ui = Ui_LanguageDialog()