Fix note tab click on 'edit settings' button #10.
parent
52b612ba3e
commit
b26d8a2906
|
|
@ -1,7 +1,8 @@
|
||||||
import sys
|
from PyQt5.QtWidgets import (
|
||||||
|
QApplication, QWidget, QVBoxLayout, QHBoxLayout,
|
||||||
from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QHBoxLayout, QTextEdit, QPushButton, QSpacerItem, \
|
QTextEdit, QPushButton, QSpacerItem, QSpinBox,
|
||||||
QSpinBox, QSizePolicy, QFontComboBox, QColorDialog
|
QSizePolicy, QFontComboBox, QColorDialog
|
||||||
|
)
|
||||||
from PyQt5.QtGui import QPixmap, QIcon, QFont
|
from PyQt5.QtGui import QPixmap, QIcon, QFont
|
||||||
from PyQt5.QtCore import Qt
|
from PyQt5.QtCore import Qt
|
||||||
|
|
||||||
|
|
@ -189,27 +190,21 @@ class NoteTab(QWidget):
|
||||||
self.textEdit.setAlignment(Qt.AlignJustify)
|
self.textEdit.setAlignment(Qt.AlignJustify)
|
||||||
|
|
||||||
def print_settings(self):
|
def print_settings(self):
|
||||||
|
self.textEdit.setText(
|
||||||
|
"Acoustic data: \n\n"
|
||||||
|
f" ABS raw data file: {stg.path_BS_raw_data}/{stg.filename_BS_raw_data} \n"
|
||||||
|
f" ABS noise data file: {stg.path_BS_noise_data}/{stg.filename_BS_noise_data} \n"
|
||||||
|
"\n\n"
|
||||||
|
"------------------------------------------------------------------------- \n\n\n"
|
||||||
|
|
||||||
self.textEdit.setText("Acoustic data: \n\n"
|
"Particle size data: \n"
|
||||||
f" ABS raw data file: {stg.path_BS_raw_data}/{stg.filename_BS_raw_data} \n"
|
f" Fine sediments data file: {stg.path_fine}/{stg.filename_fine} \n"
|
||||||
f" ABS noise data file: {stg.path_BS_noise_data}/{stg.filename_BS_noise_data} \n"
|
f" Sand sediments data file: {stg.path_sand}/{stg.filename_sand} \n"
|
||||||
"\n\n"
|
"\n\n"
|
||||||
"------------------------------------------------------------------------- \n\n\n"
|
"------------------------------------------------------------------------- \n\n\n"
|
||||||
|
)
|
||||||
|
|
||||||
"Particle size data: \n"
|
# "Acoustic Inversion parameters: \n"
|
||||||
f" Fine sediments data file: {stg.fine_sediment_path}/{stg.fine_sediment_filename} \n"
|
# f" frequencies to compute VBI: {stg.freq_text[int(stg.frequencies_to_compute_VBI[0, 0])]}, "
|
||||||
f" Sand sediments data file: {stg.sand_sediment_path}/{stg.sand_sediment_filename} \n"
|
# f"{stg.freq_text[int(stg.frequencies_to_compute_VBI[1, 0])]} \n"
|
||||||
"\n\n"
|
# f" frequency to compute SSC: {stg.freq_text[int(stg.frequency_to_compute_SSC[0])]}")
|
||||||
"------------------------------------------------------------------------- \n\n\n")
|
|
||||||
|
|
||||||
# "Acoustic Inversion parameters: \n"
|
|
||||||
# f" frequencies to compute VBI: {stg.freq_text[int(stg.frequencies_to_compute_VBI[0, 0])]}, "
|
|
||||||
# f"{stg.freq_text[int(stg.frequencies_to_compute_VBI[1, 0])]} \n"
|
|
||||||
# f" frequency to compute SSC: {stg.freq_text[int(stg.frequency_to_compute_SSC[0])]}")
|
|
||||||
|
|
||||||
|
|
||||||
# if __name__ == "__main__":
|
|
||||||
# app = QApplication(sys.argv)
|
|
||||||
# window = NoteTab()
|
|
||||||
# window.show()
|
|
||||||
# sys.exit(app.exec_())
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue