Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qtquick application event handling from c++ class
Forum Updated to NodeBB v4.3 + New Features

Qtquick application event handling from c++ class

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 726 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.
  • N Offline
    N Offline
    nikhil.patil2010
    wrote on last edited by
    #1

    I have designed the basic UI with some buttons,textareas using QtQuick application. I need to write the event handlers in c++ for the events like button click. How can i access the qml elements from c++ file?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hpollak
      wrote on last edited by
      #2

      There are several ways to do this it depends on the design of your application. But a good start is the chapter "qtqml-c++-Integration Chapter in te Docu":http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-topic.html

      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