imagine style
-
There are several built-in button types (Button, CheckBox, DelayButton, RadioButton, RoundButton, Switch ToolButton...) and many of them have states that are purely visual (flat, highlighted). If these variants are not enough, for example, you want two different looking Button types that both support highlighted and flat states, you can do that by placing one set of image assets into a separate folder and using that as a path for the other button:
Button { Imagine.path: ":/path/to/the/assets" }
http://doc.qt.io/qt-5/qtquickcontrols2-imagine.html#imagine-path-attached-prop