(self, parent=None)
| 62 | self.setCurrentIndex(0) |
| 63 | |
| 64 | def choose_file(self, parent=None): |
| 65 | path, _ = QFileDialog.getOpenFileName(parent, 'Select Icon File', '.', 'Icon Files (*.ico);;All Files (*)') |
| 66 | if path: |
| 67 | display_name = os.path.basename(path) |
| 68 | for i in range(self.count()): |
| 69 | if self.itemData(i) == path: |
| 70 | self.setCurrentIndex(i) |
| 71 | return |
| 72 | def list_bundle_files(): |
| 73 | bundle_dir = os.path.join(os.getcwd(), 'bundle') |
| 74 | if not os.path.isdir(bundle_dir): |
nothing calls this directly
no outgoing calls
no test coverage detected