Create a Quiz in qt4
-
I am a beginner in QT4 . i want to create a quiz engine in the form of a multiple choice whereby a set of questions is asked and a user selects the answer.. any suggestions on how on start....would be greatly appreciated
-
Question in QLabel
Answers with QRadioButton (maybe together with QButtonGroup) -
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. -
[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
-
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 -
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
-
is there any examples on how to create a quiz in qt4.............thanks
-
is there an example of how to create a simple quiz and stores the result in a database .....thanks
-
tunde: Just write one. It is not hard.
-
i can......but having problems connecting it to a databse
-
i just need an example to start it. i am a new beginner in qt 4.....
-
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 -
will check on it ...............will notify in case of a problem
-
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/14