Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to customize the font and color for the user input value of QEntryElement #133

Closed
elicer opened this issue Apr 7, 2012 · 1 comment

Comments

@elicer
Copy link

elicer commented Apr 7, 2012

I know that by have it's own QuickDialogStyleProvider, we can customize the label font and color for QEntryElement, but I want to customize the font and color for the user input value. Whether quickDialog can do this or not?

@escoz
Copy link
Owner

escoz commented Apr 7, 2012

Once you get the call in the provider method, you have full control of the cell. You can just check if the cell is of type QEntryTableViewCell, and if it is, cast to that type and change the color/font of the textField property. A nice sideeffect is that this will also change the color for all subclasses, like the radio button, date/time fields, etc..

@escoz escoz closed this as completed Apr 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants