Results 1 to 8 of 8

Thread: How to select a many widgets?

  1. #1
    Join Date
    Aug 2009
    Posts
    27
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to select a many widgets?

    Hi there,

    I have a "stupid" question. How can I select a group of widgets on the design window? I don't like pressing Ctrl while clicking every widget one by one.

    Thanks.

  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 select a many widgets?

    you can also just click somewhere on the form and while clicking move the mouse, this sill start a rubber band.
    ==========================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
    Aug 2009
    Posts
    27
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to select a many widgets?

    No, I can't. When I press mouse down, and move, the widget container will be moved as the mouse is dragged. There's no rectangle of selection is made like most of IDEs I used to work with (Visual Studio, Borland C, Eclipse...) I wonder if there's any key to press while dragging mouse to make selection?

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

    Default Re: How to select a many widgets?

    You have to start dragging from an empty part of form with no widgets (even containers) under the pointer.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Aug 2009
    Posts
    27
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to select a many widgets?

    Quote Originally Posted by wysota View Post
    You have to start dragging from an empty part of form with no widgets (even containers) under the pointer.
    Yes. Thank you. But it's not natural. If I wanna select a group of children widgets of a container (or many nested containers), I have to select from the 0-level (form), over those containers, then to those children, and deselect the containers. Easier than selecting widgets one by one, but still unnatural. It could be worse if those children are surrounded by many other widgets that I don't want to select.

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

    Default Re: How to select a many widgets?

    Quote Originally Posted by rockballad View Post
    Yes. Thank you. But it's not natural.
    I completely agree.

    If I wanna select a group of children widgets of a container (or many nested containers), I have to select from the 0-level (form), over those containers, then to those children, and deselect the containers. Easier than selecting widgets one by one, but still unnatural. It could be worse if those children are surrounded by many other widgets that I don't want to select.
    Qt is open-source. Feel free to implement an appropriate fix.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Aug 2009
    Posts
    27
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to select a many widgets?

    Thanks. I just want to check if an experienced user like you knows how to use the designer...
    Have a nice day!

    Kind Regards,

  8. #8
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to select a many widgets?

    Hi,

    Had the same issue at first using Borland Delphi / C++ Builder. In the Borland IDE, you can hold CTRL and then drag a rectangle if. This works also if the widgets are on a parent container.

    Who launches a feature request, or who implements this ? Anyone ?

    Regards,
    Marc

Similar Threads

  1. Replies: 2
    Last Post: 20th August 2010, 13:20
  2. Replies: 5
    Last Post: 18th April 2010, 23:31
  3. Replies: 0
    Last Post: 15th May 2009, 15:38
  4. widgets behind hidden widgets not working
    By bpetty in forum Newbie
    Replies: 13
    Last Post: 7th September 2007, 20:23
  5. Desktop widgets a la SuperKaramba/Opera Widgets
    By hubert.lepicki in forum Qt Programming
    Replies: 1
    Last Post: 3rd July 2007, 22:49

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.