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 do you style qt Quick (controls) applications?
Forum Updated to NodeBB v4.3 + New Features

How do you style qt Quick (controls) applications?

Scheduled Pinned Locked Moved QML and Qt Quick
styles
3 Posts 2 Posters 1.3k Views 1 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.
  • R Offline
    R Offline
    RudolfVonKrugstein
    wrote on 7 May 2015, 12:39 last edited by
    #1

    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?

    S 1 Reply Last reply 15 May 2015, 22:24
    0
    • R RudolfVonKrugstein
      7 May 2015, 12:39

      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?

      S Offline
      S Offline
      stan.m
      wrote on 15 May 2015, 22:24 last edited by
      #2

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

      1 Reply Last reply
      2
      • R Offline
        R Offline
        RudolfVonKrugstein
        wrote on 20 May 2015, 13:10 last edited by
        #3

        Ok, thanks!

        1 Reply Last reply
        0

        • Login

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