python - Stylesheets with File Dialog -


i'd incorporate stylesheet python traits-based gui app. far i've been defining views in terms of qtview objects, because these allow more functionality including style_sheet property. has there been such modification file dialogs , other built-in ui dialogs? looking @ traitsui.file_dialog seems defines view rather qtview objects. thank you

actually, there way can apply stylesheet file-dialog. default ui views may qdialog's, in case there exist ui method, called qfiledialog, documentation here.

so if want set stylesheet on qfiledialog can this:

qfiledialog dialog; dialog.setstylesheet("qpushbutton { background-color: red }"); dialog.exec_(); 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -