Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Style Sheets Best Practices
Forum Updated to NodeBB v4.3 + New Features

Qt Style Sheets Best Practices

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 366 Views 3 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
    Radio1985
    wrote on last edited by
    #1

    Hi All,
    I would like to know few things with regard to QT Style Sheets.

    1. If we use QT Creator Design Mode to add styles by right clicking, where does the styles are saved. Is there is a separate file where the styles are saved?
    2. What is the best approach when it comes for stylings? Is it good to do all the styles programmatically or do in a hybrid manner? How does it done in industry normally?
    1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      1. from memory, the style will be in the .uic file and then in the code generate.
      2. it depends on the use case. It's up to you decide.
      R Offline
      R Offline
      Radio1985
      wrote on last edited by
      #3

      @SGaist
      Thanks for the reply. Is it .uic or .ui file? I see only ui file in my project directory.

      Pl45m4P 1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi,

        1. from memory, the style will be in the .uic file and then in the code generate.
        2. it depends on the use case. It's up to you decide.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        R 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          1. from memory, the style will be in the .uic file and then in the code generate.
          2. it depends on the use case. It's up to you decide.
          R Offline
          R Offline
          Radio1985
          wrote on last edited by
          #3

          @SGaist
          Thanks for the reply. Is it .uic or .ui file? I see only ui file in my project directory.

          Pl45m4P 1 Reply Last reply
          0
          • R Radio1985

            @SGaist
            Thanks for the reply. Is it .uic or .ui file? I see only ui file in my project directory.

            Pl45m4P Offline
            Pl45m4P Offline
            Pl45m4
            wrote on last edited by
            #4

            @Radio1985

            ui file.
            uic is the user interface compiler.


            If debugging is the process of removing software bugs, then programming must be the process of putting them in.

            ~E. W. Dijkstra

            1 Reply Last reply
            1
            • R Radio1985 has marked this topic as solved on

            • Login

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