Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 关于QChart中,不同对象如何调用mousePressEvent中的不同方法,求教大家
Forum Updated to NodeBB v4.3 + New Features

关于QChart中,不同对象如何调用mousePressEvent中的不同方法,求教大家

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 1.1k 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.
  • April ZhangA Offline
    April ZhangA Offline
    April Zhang
    wrote on last edited by
    #1

    Chart a; Chart b;
    这两个对象会同时出发mousePressEvent事件,但是事件中有不同的方法,a对象调用一个方法,b对象调用另一个。但是实际情况是,触发mousepress事件后,a也会调用b的方法,就会出错,这种情况怎么解决?

    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