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. QML Button with irregular shapes
Forum Updated to NodeBB v4.3 + New Features

QML Button with irregular shapes

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.9k Views 2 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.
  • P Offline
    P Offline
    Prezes
    wrote on 27 Jul 2015, 13:09 last edited by Prezes
    #1

    Hi,
    It is possible to make Button or MouseArea in QML ho works like QPushButton with mask(QPixmap) in C++ ?

    I.g. Arc(Ring) Button or something like that http://www.qt.io/qt-for-device-creation/

    I use Qt 5.4.2

    Id? Pleas help.
    Thx.

    P 1 Reply Last reply 28 Jul 2015, 05:30
    0
    • P Prezes
      27 Jul 2015, 13:09

      Hi,
      It is possible to make Button or MouseArea in QML ho works like QPushButton with mask(QPixmap) in C++ ?

      I.g. Arc(Ring) Button or something like that http://www.qt.io/qt-for-device-creation/

      I use Qt 5.4.2

      Id? Pleas help.
      Thx.

      P Offline
      P Offline
      p3c0
      Moderators
      wrote on 28 Jul 2015, 05:30 last edited by
      #2

      Hi @Prezes
      Yes it is possible. Look for maskedmousearea example under your Qt installed directory.
      <QtDir>\quick\customitems\maskedmousearea

      157

      P 1 Reply Last reply 28 Jul 2015, 07:07
      3
      • P p3c0
        28 Jul 2015, 05:30

        Hi @Prezes
        Yes it is possible. Look for maskedmousearea example under your Qt installed directory.
        <QtDir>\quick\customitems\maskedmousearea

        P Offline
        P Offline
        Prezes
        wrote on 28 Jul 2015, 07:07 last edited by
        #3

        @p3c0

        Great idea. Thank you very much !

        1 Reply Last reply
        0

        1/3

        27 Jul 2015, 13:09

        • Login

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