Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I have c++ code which uses GDAL libraries to open the image and do some operations on an image (like slope, aspect, hill shade etc). Now, I want to make a GUI in which I want to open an image from the directory. After that I want to apply operation on the image (assume as slope - c++ code) and then I should get the output.

Many people have suggested me to use Qt. I have built and installed Qt in my visual studio 2010 successfully.

Please help me how to proceed with the GUI. I have intermediate skills in C++ programing and new for GUI applications.
Posted
Comments
Sergey Alexandrovich Kryukov 4-Feb-13 2:25am    
And what are your problems?
—SA
Matthew Faithfull 4-Feb-13 5:02am    
Try building some of the sample applications that come with Qt. Find one or two that look closest to the kind of application you want in terms of windowing and layout then look into the source code to see how they work. Qt is very straight forward and well documented. Everything that makes up a GUI in Qt is a Widget so it'a a matter of arranging a few standard widgets and maybe one or two custom ones in the way you want and then hooking up their signals. GUI Events in Qt are done with their own Signals & Slots implementation which you'll need to read up on and get the hang of it. A week or two and you'll be churning out GUIs

1 solution

Your question is pretty vague... but I do know that the Qt examples are pretty decent (although their detailed documentation isn't very good).

Start here: http://qt-project.org/wiki/QtWhitepaper[^]
Familiarize yourself with the framework then start a simple Qt application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900