Jump to content

PyQt custom shaped button?

- - - - -

  • Please log in to reply
No replies to this topic

#1
darfunkel

darfunkel

    Newbie

  • Members
  • Pip
  • 1 posts
Hi, I'm new to this forum.

I'm trying to create a button that would look like a colored point, and it would work like a switch. Basically I have a set of points in a 2D space (a Principal Component Analysis) and I want to be able to chose which points are going to be used for some other calculations. So clicking on a point would toggle its state and this would be represented as a change in the color of the point. So I'm guessing I have to create my own type of button using the QAbstractButton class? Any other ideas?

Thanks,

Diego




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users