Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Create a Quiz in qt4
Forum Updated to NodeBB v4.3 + New Features

Create a Quiz in qt4

Scheduled Pinned Locked Moved General and Desktop
14 Posts 7 Posters 7.4k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    giesbert
    wrote on last edited by
    #3

    Or, for more code playing,
    Question a QLabel, answers as checkable list box with only one check mark. Then the number of answers is flexible and perhaps, multiple answers could be correct.

    Nokia Certified Qt Specialist.
    Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

    1 Reply Last reply
    0
    • I Offline
      I Offline
      IrQX
      wrote on last edited by
      #4

      [quote author="tunde" date="1290621961"]I am a beginner in QT4 [/quote]

      First of all, remember simple thing. Qt , is not QT. QT - is QuickTime

      1 Reply Last reply
      0
      • I Offline
        I Offline
        IrQX
        wrote on last edited by
        #5

        Solution for you is to use QStackedWidget with label and radiobuttons, as Volker and Gerolf wrote to you.
        QStackedWidget makes you task's solution more convinient

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cochise
          wrote on last edited by
          #6

          if wou want a quiz engine you may like read the questions and answrs from a "XML":http://doc.trolltech.com/latest/qtxml.html file and use a "image":http://doc.trolltech.com/latest/qimage.html#details as background

          http://cochise.tumblr.com

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tunde
            wrote on last edited by
            #7

            is there any examples on how to create a quiz in qt4.............thanks

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tunde
              wrote on last edited by
              #8

              is there an example of how to create a simple quiz and stores the result in a database .....thanks

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #9

                tunde: Just write one. It is not hard.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tunde
                  wrote on last edited by
                  #10

                  i can......but having problems connecting it to a databse

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tunde
                    wrote on last edited by
                    #11

                    i just need an example to start it. i am a new beginner in qt 4.....

                    1 Reply Last reply
                    0
                    • ? This user is from outside of this forum
                      ? This user is from outside of this forum
                      Guest
                      wrote on last edited by
                      #12

                      ok so you have an issue connecting to DB and that is stopping you?
                      Have you seen and tried the ready examples/demos that ship with Qt ... just search for SQL examples in Qt Assistant

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tunde
                        wrote on last edited by
                        #13

                        will check on it ...............will notify in case of a problem

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          DenisKormalev
                          wrote on last edited by
                          #14

                          tunde, I think that better will be to start with some sort of book about Qt. Assistang and examples are great things, but book will give you some basics.

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved