~kobe24-lixiang/youker-assistant/trunk

« back to all changes in this revision

Viewing changes to qml/func/settings/BootAnimation.qml

  • Committer: Shine Huang
  • Date: 2013-08-26 05:59:11 UTC
  • mfrom: (72.1.35 youker-assistant)
  • Revision ID: hostc@163.com-20130826055911-1losjpsvdiaz5oyf
add monitorball func into systembus

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        anchors.fill: parent
46
46
    }
47
47
    Component.onCompleted: {
48
 
        console.log("boot......................................");
49
48
        systemdispatcher.plymouth_init_check_qt();
50
49
        var plymouth_list = systemdispatcher.get_existing_plymouth_list_qt();
51
50
        bootimagepage.num = plymouth_list.length;
53
52
        for(var i=0; i < plymouth_list.length; i++) {
54
53
            mainModel.append({"itemTitle": plymouth_list[i]});
55
54
        }
56
 
        bootimagepage.selectedimage = plymouth_list[0];
 
55
//        bootimagepage.selectedimage = plymouth_list[0];
57
56
        if(30*plymouth_list.length<=lisv_height)
58
57
        {
59
58
            scrollbar_z=-1