(self)
| 88 | self._set_tooltips() |
| 89 | |
| 90 | def _setup_wd_group(self): |
| 91 | self.group_wd = QGroupBox("Working Directory") |
| 92 | |
| 93 | self.pb_set_wd = PushButtonMinimumWidth("..") |
| 94 | self.pb_set_wd.clicked.connect(self.pb_set_wd_clicked) |
| 95 | |
| 96 | self.le_wd = LineEditReadOnly() |
| 97 | |
| 98 | # Initial working directory. Set to the HOME directory for now |
| 99 | current_dir = os.path.expanduser(self.gpc.get_current_working_directory()) |
| 100 | self.le_wd.setText(current_dir) |
| 101 | |
| 102 | hbox = QHBoxLayout() |
| 103 | hbox.addWidget(self.pb_set_wd) |
| 104 | hbox.addWidget(self.le_wd) |
| 105 | |
| 106 | self.group_wd.setLayout(hbox) |
| 107 | |
| 108 | def _setup_load_group(self): |
| 109 | self.group_file = QGroupBox("Load Data") |
no test coverage detected