MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / initialize

Method initialize

pyxrf/gui_module/tab_wd_load_data.py:60–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 self.initialize()
59
60 def initialize(self):
61 v_spacing = global_gui_parameters["vertical_spacing_in_tabs"]
62
63 vbox = QVBoxLayout()
64
65 self._setup_wd_group()
66 vbox.addWidget(self.group_wd)
67 vbox.addSpacing(v_spacing)
68
69 self._setup_load_group()
70 vbox.addWidget(self.group_file)
71 vbox.addSpacing(v_spacing)
72
73 self._setup_sel_channel_group()
74 vbox.addWidget(self.group_sel_channel)
75 vbox.addSpacing(v_spacing)
76
77 self._setup_spec_settings_group()
78 vbox.addWidget(self.group_spec_settings)
79 vbox.addSpacing(v_spacing)
80
81 self._setup_preview_group()
82 vbox.addWidget(self.group_preview)
83
84 vbox.addStretch(1)
85
86 self.setLayout(vbox)
87
88 self._set_tooltips()
89
90 def _setup_wd_group(self):
91 self.group_wd = QGroupBox("Working Directory")

Callers 1

__init__Method · 0.95

Calls 6

_setup_wd_groupMethod · 0.95
_setup_load_groupMethod · 0.95
_setup_preview_groupMethod · 0.95
_set_tooltipsMethod · 0.95

Tested by

no test coverage detected