This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def update_dir_select_message(gv, dir): | |
| dirLabel = ["x", "y", "z"][dir] | |
| var_name = "checkbutton_"+dirLabel+"_select" | |
| if gv.var[var_name].get(): | |
| gv.var["message_field"].set("Data in "+dirLabel+" direction is selected.") | |
| else: | |
| gv.var["message_field"].set("Data in "+dirLabel+" direction is deselected.") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from ..widgets import initial_label_frame, initial_entry, initial_label, initial_button | |
| from tkinter import * | |
| from tkinter import ttk | |
| def initial_label_frame_fft_control(parent, gv): | |
| label_frame_fft_control = initial_label_frame(parent, "FFT Control") | |
| label_frame_fft_control.configure(height = 120) | |
| label_frame_fft_control.pack(side = BOTTOM, fill = X, expand = 0, padx = 5, pady =5) | |
| label_frame_fft_control.grid_propagate(1) | |
| label_frame_fft_control.pack_propagate(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from .widgets import initlial_notebook, initial_frame | |
| from tkinter import BOTH | |
| from .tab_data_prepare.label_frame_fft_control import initial_label_frame_fft_control | |
| from .tab_data_prepare.label_frame_sensor_information import initial_label_frame_sensor_information | |
| from .tab_data_prepare.label_frame_data_process import initial_label_frame_data_process | |
| from .tab_data_prepare.label_frame_data_visualization import initial_label_frame_data_visualization | |
| def initial_tabs(parent, gv): | |
| tab_parent = initlial_notebook(parent) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import tkinter.font as tkFont | |
| from tkinter import * | |
| from tkinter import ttk | |
| font_family = "Helvetica" | |
| font_size = { | |
| "small": 9, | |
| "normal": 10, | |
| "large": 11, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from components.main_window import initial_main_window | |
| class Window(): | |
| def __init__(self, gv): | |
| self.root = initial_main_window(gv) | |
| class GlobalVar(): | |
| def __init__(self): | |
| self.var = {} | |