Results 1 to 13 of 13

Thread: No action checked in an exclusive action group

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No action checked in an exclusive action group

    Quote Originally Posted by Chicken Blood Machine
    The behaviour that you descibe above is bizarre and non-standard ...
    If I want this behaviour is because I have seen it in many appliactions. If you are using Windows XP take a look at the Microsoft Photo Editor program. The behaviour of the buttons to select an area of the image and to define the transparent color follow this behaviour. As you see it's not as bizarre and non-standard as you comment...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: No action checked in an exclusive action group

    The fact that it is used in one application (even if it is a popular one), doesn't automatically make it "standard".

  3. #3
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Thanked 42 Times in 37 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: No action checked in an exclusive action group

    Quote Originally Posted by SkripT
    If I want this behaviour is because I have seen it in many appliactions. If you are using Windows XP take a look at the Microsoft Photo Editor program. The behaviour of the buttons to select an area of the image and to define the transparent color follow this behaviour. As you see it's not as bizarre and non-standard as you comment...
    I don't think I have Microsoft Photo Editor on Windows XP - regardless - proof by selected example is no proof at all. The writers of MS photo editor probably had to speciifcally code that behaviour too :-)
    Save yourself some pain. Learn C++ before learning Qt.

  4. #4
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No action checked in an exclusive action group

    You are right, but I dont' think that the behaviour that I comment is a strange behaviour. Basically is the same that having a group of exclusive actions with the only difference that I want that the activated/checked action could be unchecked without having to check another action. That's all. Finally I have solved it with a new slot.
    Last edited by SkripT; 12th February 2006 at 01:00.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: No action checked in an exclusive action group

    The thing you want can be easily achieved by adding another item titled "None of the above".

  6. #6
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No action checked in an exclusive action group

    Quote Originally Posted by wysota
    The thing you want can be easily achieved by adding another item titled "None of the above".
    Yes that's the other solution that I was managing too. I have to decide which of both I will put on the final app. Thanks.

  7. #7
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Thanked 42 Times in 37 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: No action checked in an exclusive action group

    Quote Originally Posted by SkripT
    You are right, but I dont' think that the behaviour that I comment is a strange behaviour. Basically is the same that having a group of exclusive actions with the only difference that I want that the activated/checked action could be unchecked without having to check another action. That's all. Finally I have solved it with a new slot.
    Well then they're definitely not 'exclusive'. I'm glad you found a solution for your problem though.
    Save yourself some pain. Learn C++ before learning Qt.

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.