How to create an entirely new custom control?



  • 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



  • @allany

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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.