LISE-B26 / pylabcontrol

pylabcontrol: Laboratory Equipment Control for Scientific Experiments.
GNU General Public License v3.0
9 stars 9 forks source link

Make formatting of Scripts, Instruments, and Parameters different in QTreeWidget #133

Open asafira opened 6 years ago

asafira commented 6 years ago

Currently, scripts, instruments, and parameters are all formatted with the default font settings in the qtreewidgets in the GUI. It would be nice to have these visually distinct.

Current status on this:

using QTreeWidgetItem.setFont() only seems to set the font of column 1, not column 0. It ignores function calls to column 0, and it is unclear from our code and online documentation why that is.