Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Qt Creator Simple Survey

    General and Desktop
    2
    2
    2131
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hogen last edited by

      Hello,
      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.

      1. to input name
      2. drop-down list with 3/4 items
      3. 2/3 check boxes

      "save" button to save informations from questionnaire to txt file
      "exit" button.

      If anyone is interested post here.

      Greetings !

      1 Reply Last reply Reply Quote 0
      • A
        Alek Śmierciak last edited by

        Hi,

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post