Results 1 to 9 of 9

Thread: How to create a child widget, linked and of a different size?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Posts
    30
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to create a child widget, linked and of a different size?

    Thanks for the replies guys.

    Quote Originally Posted by wysota View Post
    Also moveEvent of one window has to cause the other one to be moved (using QWidget::move()) as well (the "link" feature).
    In particular, I was wondering, could you elaborate on the "link" feature? Or a website link would help too.

    Thanks much.

    Regards,
    Pembar

  2. #2
    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 create a child widget, linked and of a different size?

    Quote Originally Posted by Pembar View Post
    In particular, I was wondering, could you elaborate on the "link" feature? Or a website link would help too.
    What exactly do you want to know?
    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.


  3. #3
    Join Date
    May 2009
    Posts
    30
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to create a child widget, linked and of a different size?

    Quote Originally Posted by wysota View Post
    What exactly do you want to know?

    When you were talking about the "link" feature, you mean the linking in between windows within winamp?

    In hopes of it being ez-mode, I thought you meant there was a function buried somewhere to link the two windows easily.

    I'm currently working on linking the two windows (i.e. when you move the main window, the childwindow moves along with it) by modifying the eventfilters.

    Regards,
    Pembar

  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 create a child widget, linked and of a different size?

    Quote Originally Posted by Pembar View Post
    When you were talking about the "link" feature, you mean the linking in between windows within winamp?
    I meant that if one window moves, the other moves with it. That's what I understood by your "link" term.

    In hopes of it being ez-mode, I thought you meant there was a function buried somewhere to link the two windows easily.
    From application's point of view windows are independant. It is the window manager that may control groupping them. What you are trying to do now is to work around the window manager.
    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
    May 2009
    Posts
    30
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to create a child widget, linked and of a different size?

    Yup. Thanks.

    I got them to move together!!! =)

    Regards,
    Pembar

Tags for this Thread

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.