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

Line ending issue with Mercurial or Visual Studio -

python - Received unregistered task using Celery with Django -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -