phargogh / palisades

Configurable UI chunks for PyQt user interfaces
0 stars 0 forks source link

Add data type icons to inputs #30

Open phargogh opened 9 years ago

phargogh commented 9 years ago

Rich had this great idea: the ui should have a type-specific icon for file entries so that the user can more easily identify what kind of file should be entered.

NOTE: this SO post has a nice example of creating an icon in a qlineedit: http://stackoverflow.com/a/12468386/299084

I would suggest that we keep the file-selection button where is is and add an inline icon to the textfield that is datatype-dependent.