heat_transfer_gui.py
def add_data_file_choices(self, parent_layout) -> None:
        """
        Including the checkboxes for user to choose if to save data or not

        Args:
            parent_layout ... into which layout we should include everything
        """

        self.file_choice_layout = QHBoxLayout()

        label = QLabel("Data file: ")
        label.setFont(QFont("Times", 15, QFont.Bold))

        self.data_file_input = QLineEdit()
        self.data_file_input.setText("DATA.csv")
        self.data_file_input.setFont(QFont("Times", 15, QFont.Bold))
        self.data_file_input.setReadOnly(True)

        choice_button = QPushButton("Choose", self)
        choice_button.clicked.connect(self.open_file_name_dialog)

        self.file_choice_layout.addWidget(label)
        self.file_choice_layout.addWidget(self.data_file_input)
        self.file_choice_layout.addWidget(choice_button)

        parent_layout.addLayout(self.file_choice_layout)

        Including the checkboxes for user to choose if to save data or not

        Args:
            parent_layout ... into which layout we should include everything
        
Including the checkboxes for user to choose if to save data or not
Args:
parent_layout ... into which layout we should include everything
Including the checkboxes for user to choose if to save data or not Args : parent_layout ... into which layout we should include everything
def add_data_file_choices(self, parent_layout) -> None:
        self.file_choice_layout = QHBoxLayout()
        label = QLabel("Data file: ")
        label.setFont(QFont("Times", 15, QFont.Bold))
        self.data_file_input = QLineEdit()
        self.data_file_input.setText("DATA.csv")
        self.data_file_input.setFont(QFont("Times", 15, QFont.Bold))
        self.data_file_input.setReadOnly(True)
        choice_button = QPushButton("Choose", self)
        choice_button.clicked.connect(self.open_file_name_dialog)
        self.file_choice_layout.addWidget(label)
        self.file_choice_layout.addWidget(self.data_file_input)
        self.file_choice_layout.addWidget(choice_button)
        parent_layout.addLayout(self.file_choice_layout)
def add_data_file_choices ( self , parent_layout ) -> None : self . file_choice_layout = QHBoxLayout ( ) label = QLabel ( "Data file: " ) label . setFont ( QFont ( "Times" , 15 , QFont . Bold ) ) self . data_file_input = QLineEdit ( ) self . data_file_input . setText ( "DATA.csv" ) self . data_file_input . setFont ( QFont ( "Times" , 15 , QFont . Bold ) ) self . data_file_input . setReadOnly ( True ) choice_button = QPushButton ( "Choose" , self ) choice_button . clicked . connect ( self . open_file_name_dialog ) self . file_choice_layout . addWidget ( label ) self . file_choice_layout . addWidget ( self . data_file_input ) self . file_choice_layout . addWidget ( choice_button ) parent_layout . addLayout ( self . file_choice_layout )
Including the checkboxes for user to choose if to save data or not
Args:
parent_layout ... into which layout we should include everything
Including the checkboxes for user to choose if to save data or not Args : parent_layout ... into which layout we should include everything
"""
        Including the checkboxes for user to choose if to save data or not

        Args:
            parent_layout ... into which layout we should include everything
        """
self
parent_layout