How do you style qt Quick (controls) applications?
-
I find surprisingly little documentation about this. I find the qt quick controls styles, but the only two ways of styling I find seem to very tedious.
Is there a way to keep the styling out of the interface files and somehow globally specify how for example a "Button" should look? Are there default styles I can use and switch between?
-
@RudolfVonKrugstein
I do not know of any library of default styles.We create a styles folder in our project that has customized versions of the controls we want to use, such as TText, TButton, TTableView and we use those controls everywhere in our QML code. This allows us to quickly change the look of a new project by updating the components in the styles folder.
-
Ok, thanks!