Results 1 to 4 of 4

Thread: QML and QT integeration

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Posts
    18
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QML and QT integeration

    Step1:
    I have a table with few rows .
    sno| sname
    ------------
    1| aaa
    ----------
    2| bbb
    ----------
    3| ccc


    Step2: When user selectes a row (for example "1". "aaa"). I am parsing all the QML files available in my workspace for the selected text. In this case "aaa" since "aaa" row is selected.

    Step3:I am displaying the QML files as thumbnails that are having "aaa" text.

    (My problem starts here)
    Step4: On the thumbnail i need to show "aaa" in a red border/frame/underline/color whihc help the user to easily read when opens it as declarative view.
    How to do that?

    Regards
    Nagesh

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QML and QT integeration

    Write a delegate for your thumbnail view that will display a red border around the item when some condition is met.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.