# -*- coding: utf-8 -*-
"""
PyQt5 pills
Mainwindow calls Dialog

Created on 04.05.2020

__author__ = Pedro Biel
__version__ = 0.0.0
__email__ = structural.eng.biel@gmail.com
"""


from dialog_MVC.data.initialdialog import InitialDataDialog


class CntDialog:
    
    def __init__(self, dialog):
        """Controler of the dialog data."""
        
        self.d = dialog
                
    def dialog_initial_data(self):
        """Initial data of the project."""
        
        initial_data = InitialDataDialog.DATA
        
        return initial_data
        
    def dialog_data(self):
        """Dictionary with the data to be displayed in the Dialog."""
        
        input1 = self.d.dlg_input1.text()
        input2 = self.d.dlg_input2.text()
        self.d.d_dlg_data['input1'] = input1
        self.d.d_dlg_data['input2'] = input2
        
        return self.d.d_dlg_data

91f78375862257cd157f3d1f9f7fc9622aaa136f
<mask token>


class CntDialog:

    def __init__(self, dialog):
        """Controler of the dialog data."""
        self.d = dialog
    <mask token>
    <mask token>

<mask token>


class CntDialog:

    def __init__(self, dialog):
        """Controler of the dialog data."""
        self.d = dialog

    def dialog_initial_data(self):
        """Initial data of the project."""
        initial_data = InitialDataDialog.DATA
        return initial_data
    <mask token>

<mask token>


class CntDialog:

    def __init__(self, dialog):
        """Controler of the dialog data."""
        self.d = dialog

    def dialog_initial_data(self):
        """Initial data of the project."""
        initial_data = InitialDataDialog.DATA
        return initial_data

    def dialog_data(self):
        """Dictionary with the data to be displayed in the Dialog."""
        input1 = self.d.dlg_input1.text()
        input2 = self.d.dlg_input2.text()
        self.d.d_dlg_data['input1'] = input1
        self.d.d_dlg_data['input2'] = input2
        return self.d.d_dlg_data

<mask token>
from dialog_MVC.data.initialdialog import InitialDataDialog


class CntDialog:

    def __init__(self, dialog):
        """Controler of the dialog data."""
        self.d = dialog

    def dialog_initial_data(self):
        """Initial data of the project."""
        initial_data = InitialDataDialog.DATA
        return initial_data

    def dialog_data(self):
        """Dictionary with the data to be displayed in the Dialog."""
        input1 = self.d.dlg_input1.text()
        input2 = self.d.dlg_input2.text()
        self.d.d_dlg_data['input1'] = input1
        self.d.d_dlg_data['input2'] = input2
        return self.d.d_dlg_data

# -*- coding: utf-8 -*-
"""
PyQt5 pills
Mainwindow calls Dialog

Created on 04.05.2020

__author__ = Pedro Biel
__version__ = 0.0.0
__email__ = structural.eng.biel@gmail.com
"""


from dialog_MVC.data.initialdialog import InitialDataDialog


class CntDialog:
    
    def __init__(self, dialog):
        """Controler of the dialog data."""
        
        self.d = dialog
                
    def dialog_initial_data(self):
        """Initial data of the project."""
        
        initial_data = InitialDataDialog.DATA
        
        return initial_data
        
    def dialog_data(self):
        """Dictionary with the data to be displayed in the Dialog."""
        
        input1 = self.d.dlg_input1.text()
        input2 = self.d.dlg_input2.text()
        self.d.d_dlg_data['input1'] = input1
        self.d.d_dlg_data['input2'] = input2
        
        return self.d.d_dlg_data
