Getting the momentum

Hello everyone!

Its two weeks since the GSoC has started. I am working on the port of lang activities. It includes the basic details activity, three quiz mini games related to the words we just learnt in the previous level and then a spell It activity based on the same dataset of the current level.

work

I have pushed the code for quiz mini games integration. That is my second activity. It was planned to be completed in 2 weeks.I am almost on time with my proposal timeline. Have to make some improvements in it as JohnnyJ has suggested. It is in review process.

learned

I have learned a lot during this period. Special thanks to my mentors bruno coudoin and johnny jazeix for their guidance and availability for asking doubts. I learned the work flow of model-view-data. For answer buttons, i used delegates with two elements. Initially I was thinking of having two list views for images and words seperately but JohnnyJ suggested that we can do it with single list view with more than one items in the delegate.

some code

the delegate for quiz answer options

[quiz answer list view] []
1
delegate: Item{
    id: wordListViewDelegate
    width: wordListView.width
    height: wordListView.buttonHeight

    Image{
        id: wordImageQuiz
        width: wordListView.width/3
        height: wordListView.buttonHeight * 0.7
        source: image
        z: 7
        anchors.left: parent.left
        anchors.leftMargin: 10* ApplicationInfo.ratio
        visible:  (Activity.miniGame==1) ? true : false  // to hide images after first mini game
    }

    AnswerButton {id: wordRectangle...}
}

screencast

This is screencast of my lang activity after two weeks of coding period. I have done the basic details activity and quiz integration with 3 mini games.
I. you have to answer by watching images+text
II. you have to answer only with text options
III. you can only hear the word and answer only with text options.

Thats it for now. See you soon with complete port of lang activity. Happy Coding.