PDA

View Full Version : I need help!



abea
17th November 2009, 21:15
i want to design with Qt a simple application.
which has a menu listings:
Functions
Tan
sin
Cos etc:
upon clicking on the sin it should be able to draw the function.
something like this


http://doc.trolltech.com/qsa-1.1.5/plot.png

wysota
17th November 2009, 23:59
And what is the problem exactly?

abea
18th November 2009, 11:42
And what is the problem exactly?

I have create my menu list like File -> exit
and under Functions-> Sin, Cos, Tan on mainwindow.ui.
I want to use slots and connect to make it functional.

wysota
18th November 2009, 12:20
Ok, but what is the problem? What it is exactly that you don't know how to do?

abea
18th November 2009, 12:53
well do you have template so that i can easily rebuild
thanks

scascio
18th November 2009, 13:01
So, if I understand weel, the screen shot attached is not yours and you want to create the same mathematics funtion drawer with Qt.

Then, you ask for a built-in designed and coded application that will do it, so all you have to do is to compile and run it?

Am I right?

wysota
18th November 2009, 13:22
well do you have template so that i can easily rebuild
thanks

http://doc.qt.nokia.com/latest/how-to-learn-qt.html
http://doc.qt.nokia.com/latest/tutorials.html

abea
18th November 2009, 13:25
Thanks but will not help much!!!! :D

abea
18th November 2009, 13:28
So, if I understand weel, the screen shot attached is not yours and you want to create the same mathematics funtion drawer with Qt.

Then, you ask for a built-in designed and coded application that will do it, so all you have to do is to compile and run it?

Am I right?

exactly !!! You are right on the spot!

wysota
18th November 2009, 13:52
exactly !!! You are right on the spot!

In that case we don't have such a template. <sarkasm>We only have templates for creating professional graphics processing applications and professional spreadsheets.</sarkasm>

Is this your school project or something?

abea
18th November 2009, 21:21
well i will try and figure it out... thanks all the same..

scascio
24th November 2009, 10:41
Once you defuned your framework and design of your application, maybe you will need to use the Qwt (http://qwt.sourceforge.net/index.html) library that allows you, if I understood well its prupose, to draw your graphics.

Since I don't use this library, maybe some other can link you to samples and using licence.

Good luck