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. Material Palette
Forum Updated to NodeBB v4.3 + New Features

Material Palette

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 598 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.
  • P Offline
    P Offline
    PixyWitchy
    wrote on last edited by
    #1

    Hello,

    I have an ApplicationWindow in which i setup material setting for example: "Material.accent: Material.LightBlue".
    The problem that I have is that I open other Window from C++ and I want to set the same settings to this new Window. The challenge is that this new Window need to be set automatically the settings depending on the main ApplicationWindow.
    Thank you,

    1 Reply Last reply
    0
    • Gojir4G Offline
      Gojir4G Offline
      Gojir4
      wrote on last edited by
      #2

      @PixyWitchy Hi,

      You can configure the theme for the whole application using Qt Quick Controls Configuration File.

      P 1 Reply Last reply
      0
      • P Offline
        P Offline
        PixyWitchy
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • Gojir4G Gojir4

          @PixyWitchy Hi,

          You can configure the theme for the whole application using Qt Quick Controls Configuration File.

          P Offline
          P Offline
          PixyWitchy
          wrote on last edited by
          #4

          @Gojir4 The thing with your solution is that if you put dark mode on main window, you don't have dark mode to window dialog because it is not a child from main window.

          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