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. [Solved] Common Stylesheet for Entire Project
Forum Updated to NodeBB v4.3 + New Features

[Solved] Common Stylesheet for Entire Project

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.9k 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
    prabuqt
    wrote on last edited by
    #1

    Hi Everyone,

    I have a requirement in my project that I need to maintain some colors to different components like push buttons, line edits, combo box etc. This can be achieved by setting style sheets for all forms in the project. Insted of setting the stylesheets in all forms, is their anything available in Qt that can be applied at once to the total project..?

                  Thank you in advance.
    
    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rahul Das
      wrote on last edited by
      #2

      Yes you can. Start with selectors, and applying style to qApp pointer.

      Examples are "here":http://doc.qt.nokia.com/4.7-snapshot/stylesheet-examples.html


      Declaration of (Platform) independence.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        prabuqt
        wrote on last edited by
        #3

        Thank you Rahul. I got it.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rahul Das
          wrote on last edited by
          #4

          Please mark the title as Solved :)


          Declaration of (Platform) independence.

          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