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. Theme enum for custom styles?
QtWS25 Last Chance

Theme enum for custom styles?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlcontrols 2themestyle
1 Posts 1 Posters 338 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.
  • E Offline
    E Offline
    EStudley
    wrote on 15 Jan 2020, 21:43 last edited by
    #1

    I am creating a custom Style for my application and have customized a collection of Quick Controls to use. I can already import these to my application correctly with the Configuration File.

    How can I create an enum for Theme type (Dark/Light) in my custom style? I see with Material type all controls have an attached type Material.theme that can be set to Dark/Light on an individual basis. I want that for my application.

    How can I achieve this?

    1 Reply Last reply
    0

    1/1

    15 Jan 2020, 21:43

    • Login

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