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. How to create an entirely new custom control?
QtWS25 Last Chance

How to create an entirely new custom control?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 3 Posters 733 Views
  • 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.
  • A Offline
    A Offline
    allany
    wrote on last edited by
    #1

    Hello,
    I'm looking for advice on how to create an entirely new custom control...a control for which there is no existing Qt-provided Quick 2 control.
    Would this be built up from existing fundamental Quick 2 controls? Can I use drawing primitives in order to have a very custom, specialized appearance?
    Any recommendations/references for how to approach this?
    Thank you.
    -Allan

    R 1 Reply Last reply
    0
    • A allany

      Hello,
      I'm looking for advice on how to create an entirely new custom control...a control for which there is no existing Qt-provided Quick 2 control.
      Would this be built up from existing fundamental Quick 2 controls? Can I use drawing primitives in order to have a very custom, specialized appearance?
      Any recommendations/references for how to approach this?
      Thank you.
      -Allan

      R Offline
      R Offline
      Roumed
      wrote on last edited by
      #2

      @allany

      What kind of problem do you have with your task?
      Why do you try to create exactly control, not usual item?

      1 Reply Last reply
      0
      • dheerendraD Offline
        dheerendraD Offline
        dheerendra
        Qt Champions 2022
        wrote on last edited by
        #3

        You can use Canvas in qml or QQuickPaintedItem class to create our custom controls if the existing controls are not providing the look & feel of what we require.

        Dheerendra
        @Community Service
        Certified Qt Specialist
        http://www.pthinks.com

        1 Reply Last reply
        5

        • Login

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