×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    2

    SelectionListItem Element - Qt 4.8

    Hi,
    I have a problem with QML SelectionListItem Element in Qt 4.8 (in Belle Refresh).

    The background of the button is invisible on my Symbian device.



    What I would like to see.



    What I see.


    And the code:
    Code:
    import QtQuick 1.1
    import com.nokia.symbian 1.1
    
    Page {
        id: mainPage
        SelectionListItem {
                 id: item
                 title: "City"
                 subTitle: selectionDialog.selectedIndex >= 0
                           ? selectionDialog.model.get(selectionDialog.selectedIndex).name
                           : "Please select"
    
                 onClicked: selectionDialog.open()
    
                 SelectionDialog {
                     id: selectionDialog
                     titleText: "Select one of the values"
                     selectedIndex: -1
                     model: ListModel {
                         ListElement { name: "Helsinki" }
                         ListElement { name: "Oulu" }
                         ListElement { name: "Rovaniemi" }
                         ListElement { name: "Tampere" }
                         ListElement { name: "Vaasa" }
                     }
                 }
             }
    }
    Thank you

  2. #2
    Registered User
    Join Date
    Nov 2008
    Location
    Chile
    Posts
    21

    Re: SelectionListItem Element - Qt 4.8

    Hello,

    the SelectionListItem control for symbian dropped the background after version 1.1

    The version 1.1 is here: http://qt.gitorious.org/qt-component...onListItem.qml

    Pablo
    --
    Pablo

Similar Threads

  1. How to use map element for S^1 ?
    By ram4soft in forum [Archived] Qt Quick
    Replies: 4
    Last Post: 2012-03-30, 12:26
  2. How to change background color of SelectionListItem ?
    By ram4soft in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-12-27, 12:18
  3. Loading SelectionListItem list model dynamically
    By Jon Heron in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-10-24, 09:53
  4. DO element
    By choscos in forum Browsing and Mark-ups
    Replies: 4
    Last Post: 2004-08-10, 14:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •