Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Adding events to qml items

Adding events to qml items

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mot_201
    wrote on last edited by
    #1

    hi all
    how to add event like opening another qml file or another state , to the qml items ?? means that for example i wanna make menu like the s60 menu , i can press on the icons , it redirect me or open an application ...

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thisisbhaskar
      wrote on last edited by
      #2

      can you explain little more or paste code here.. I could not get what you really want.

      Are you looking for a mechanism to tie an icon press to opening a new application ? If so, there is nothing as such ready-made thing available right. You will have to implement it by yourself.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mot_201
        wrote on last edited by
        #3

        look , i wanna view an image , that i can press on it , so it do something like redirection to another qml file or another application

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          I would look at using a MouseArea component to capture the presses, and perhaps a Loader to view other QML components.

          The documentation and the examples are your friends.

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved