Results 1 to 7 of 7

Thread: How to make the Group box flash with colour

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default How to make the Group box flash with colour

    Hi,

    I have few group boxes in my Qt application. I want to direct the user to which box he has to go one after the other. For that I thought of flashing the next group box few seconds once he is done with the current one. Can anyone please tell me how could I do this dynamically.

    Thank You,
    Baluk

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to make the Group box flash with colour

    For that I thought of flashing the next group box few seconds once he is done with the current one.
    What is the criteria upon which you can tell that the user is done with a certain group box?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: How to make the Group box flash with colour

    Another thought would be to simply define the tab order of each box so tabbing moves between them in the correct order.

  4. #4
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to make the Group box flash with colour

    Quote Originally Posted by high_flyer View Post
    What is the criteria upon which you can tell that the user is done with a certain group box?
    There is a button action in one group box which diplays an image and in the other box there is a scale on which he has to give a rating.

    Thank You,

    Baluk

    Quote Originally Posted by SixDegrees View Post
    Another thought would be to simply define the tab order of each box so tabbing moves between them in the correct order.
    But in this case I have to press the tab all along which is an extra work I guess.

    Thank You,
    Baluk

  5. #5
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to make the Group box flash with colour

    There is a button action in one group box which diplays an image and in the other box there is a scale on which he has to give a rating.
    So does it mean that when the button gets clicked you want to move to the next group?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  6. #6
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to make the Group box flash with colour

    Yes exactly.

  7. #7
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to make the Group box flash with colour

    Well, so connect to the click() signal, set focus to the next group.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. How to make text in label or TextEDit to flash?
    By qtlinuxnewbie in forum Newbie
    Replies: 2
    Last Post: 6th April 2010, 07:53
  2. Replies: 2
    Last Post: 14th February 2010, 16:02
  3. Replies: 2
    Last Post: 22nd September 2008, 09:22
  4. How to make group Of QGraphicsItem ..
    By ashishsaryar in forum Qt Programming
    Replies: 3
    Last Post: 4th February 2008, 13:14
  5. How can I make the cursor flash?
    By cslijy in forum Qt Programming
    Replies: 2
    Last Post: 1st January 2008, 11:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.