Saturday, July 5th 2008, 2:24pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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