Skip to content

Commit 56a14a0

Browse files
committed
Revert "Add Icon Browser utility for browsing icon collections"
This reverts commit bc5c71e.
1 parent e9169da commit 56a14a0

File tree

7 files changed

+2
-634
lines changed

7 files changed

+2
-634
lines changed

.vscode/tasks.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -388,30 +388,5 @@
388388
"🧹 Clean Up",
389389
],
390390
},
391-
{
392-
"label": "🖼️ Icon Browser",
393-
"command": "${command:python.interpreterPath}",
394-
"args": [
395-
"-m",
396-
"guidata.widgets.iconbrowser",
397-
"${workspaceFolder}/guidata/data/icons",
398-
],
399-
"options": {
400-
"cwd": "${workspaceFolder}",
401-
},
402-
"group": {
403-
"kind": "build",
404-
"isDefault": true,
405-
},
406-
"presentation": {
407-
"clear": true,
408-
"echo": true,
409-
"focus": false,
410-
"panel": "dedicated",
411-
"reveal": "always",
412-
"showReuseMessage": true,
413-
},
414-
"type": "shell",
415-
},
416391
],
417392
}

CHANGELOG.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
# Changelog #
22

3-
## Version 3.14.0 ##
4-
5-
✨ New features:
6-
7-
* **Icon Browser utility**: Added a new GUI tool for browsing and exploring icon collections
8-
* New `guidata.widgets.iconbrowser` module with `IconBrowserWindow` widget
9-
* Command-line tool: `giconbrowser [folder]` or `python -m guidata.widgets.iconbrowser [folder]`
10-
* Features a split-pane interface with tree view for folder navigation and icon grid display
11-
* Tree view shows folder hierarchy with open/closed folder icons and file counts
12-
* Single-click on icons opens file location in system file explorer (Windows/macOS/Linux)
13-
* Adjustable thumbnail sizes (16-256 pixels) via toolbar
14-
* Supports PNG, SVG, ICO, JPG, GIF, and BMP formats
15-
* Responsive grid layout adapts to window resizing
16-
* Useful for developers managing icons for their applications and libraries
17-
183
## Version 3.13.3 ##
194

205
🛠️ Bug fixes:

guidata/tests/widgets/test_iconbrowser.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

guidata/widgets/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,4 @@
2929
3030
.. autoclass:: guidata.widgets.codeeditor.CodeEditor
3131
32-
Utilities
33-
^^^^^^^^^
34-
35-
.. autoclass:: guidata.widgets.iconbrowser.IconBrowserWindow
36-
37-
.. autofunction:: guidata.widgets.iconbrowser.main
38-
3932
"""

guidata/widgets/arrayeditor/datamodel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def data(self, index: QModelIndex, role=Qt.ItemDataRole.DisplayRole) -> Any:
491491
return ""
492492
try:
493493
return self._format % value
494-
except (TypeError, ValueError, ZeroDivisionError):
494+
except TypeError:
495495
self.readonly = True
496496
return repr(value)
497497
elif role == Qt.ItemDataRole.TextAlignmentRole:
@@ -508,7 +508,7 @@ def data(self, index: QModelIndex, role=Qt.ItemDataRole.DisplayRole) -> Any:
508508
hue = float(np.abs(hue))
509509
color = QColor.fromHsvF(hue, self.sat, self.val, self.alp)
510510
return color
511-
except (TypeError, ValueError, ZeroDivisionError):
511+
except TypeError:
512512
return None
513513
elif role == Qt.ItemDataRole.FontRole:
514514
return get_font(CONF, "arrayeditor", "font")

0 commit comments

Comments
 (0)