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

ConditionalFormatting and BackgroundColor how #180

Open
stachna opened this issue Dec 12, 2018 · 0 comments
Open

ConditionalFormatting and BackgroundColor how #180

stachna opened this issue Dec 12, 2018 · 0 comments

Comments

@stachna
Copy link

stachna commented Dec 12, 2018

All working but not background color
how to fix it.

ConditionalFormatting cf;
Format fmt;
fmt.setBorderStyle(Format::BorderDashed);
fmt.setBorderColor(QColor(0x99, 0xbb, 0xff));
fmt.setFontColor(QColor(0, 0, 0x80));
fmt.setFillPattern(Format::PatternSolid);
fmt.setPatternBackgroundColor(QColor(0xcc, 0xee, 0xff));
cf.addRange("A1:A10);
cf.addHighlightCellsRule(ConditionalFormatting::Highlight_Expression, "A1 <> 1", fmt);
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

1 participant