Saturday, July 5th 2008, 6:30am UTC+1

You are not logged in.

  • Login
  • Register

Azxx

Beginner

1

Tuesday, May 6th 2008, 2:53pm

How to display mathematical formulas?

I have written a prog that after some calculations draws a graphic and i want to label each button which formula it uses. Thus i need some mathematical symbols like integrals, fractions, etc. I have tried to display formulas as a .jpg image in QIcon, but it didn't work well.
So, how this problem is usually solved?

Qt 4.3.3

P.S.: Sorry for my english...
  • Go to the top of the page

Marco38

Beginner

Posts: 3

Location: FRANCE

Occupation: Student

2

Friday, May 23rd 2008, 5:14pm

Hello Azxx,

It might be worth taking a look at the section labelled "Common mistakes", at the end of the page "Qt Style Sheet Examples" in the Assistant of Qt 4.4.0. They explain how to use images on buttons, and the answer to your question might be there (I didn't try it personnaly).

Best regards,

Marco38
  • Go to the top of the page

Rate this thread