Skip to content

Commit

Permalink
BIM: add icons to classification dropdown box
Browse files Browse the repository at this point in the history
  • Loading branch information
furgo16 committed Jan 31, 2025
1 parent 7d22c84 commit c0ba9b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Mod/BIM/bimcommands/BimClassification.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ def Activated(self):
# load the form and set the tree model up
self.form = FreeCADGui.PySideUic.loadUi(":/ui/dialogClassification.ui")
self.form.setWindowIcon(QtGui.QIcon(":/icons/BIM_Classification.svg"))
self.form.groupMode.setItemIcon(0, QtGui.QIcon(":/icons/Arch_SectionPlane_Tree.svg")) # Alphabetical

Check warning on line 67 in src/Mod/BIM/bimcommands/BimClassification.py

View workflow job for this annotation

GitHub Actions / Lint / Lint

Line too long (108/100) (line-too-long)
self.form.groupMode.setItemIcon(1, QtGui.QIcon(":/icons/IFC.svg")) # Type
self.form.groupMode.setItemIcon(2, QtGui.QIcon(":/icons/Arch_Material.svg")) # Material
self.form.groupMode.setItemIcon(3, QtGui.QIcon(":/icons/Document.svg")) # Model structure

# restore saved values
self.form.onlyVisible.setChecked(PARAMS.GetInt("BimClassificationVisibleState", 0))
Expand Down

0 comments on commit c0ba9b5

Please sign in to comment.