Qt Creator Simple Survey
Usually I work as web developer.But now, I need to create a simple questionnaire in Qt Creator.
This is news to me, and at the moment I don't have a time to learn how to build app in qt.
Can any body help me?
I need Quiestionnaire consist of three fields.
- to input name
- drop-down list with 3/4 items
- 2/3 check boxes
"save" button to save informations from questionnaire to txt file
If anyone is interested post here.
this is a wrong sub-forum, you should have used "General and Desktop" under "Qt Development".
Provided you require assistance and not someone to create such form in your place, here's some brief description.
What you want is a "widget":http://qt-project.org/doc/qt-5.0/qtwidgets/qtwidgets-index.html approach to building GUI.
Create a Qt project in your Qt Creator and a user interface file (.ui), which you will later fill in the graphical drag & drop view. You need Labels, Text Fields and Combo Boxes (their class names are very similar but I'm simplifying the description).
The only coding you will have to do is to prepare a file saving function.
Some examples that you might benefit from can be found here (most notably, "Line Edits":http://qt-project.org/doc/qt-5.0/qtwidgets/widgets-lineedits.html and "Group Box":http://qt-project.org/doc/qt-5.0/qtwidgets/widgets-groupbox.html).
This is not going to take more than an hour, trust me.