Results 1 to 5 of 5

Thread: Qt widget SoQtExaminerViewer buttons

  1. #1
    Join Date
    Jun 2007
    Posts
    25
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Qt widget SoQtExaminerViewer buttons

    Hi,
    I have a SoQtExaminerViewer as a Qt widget. If familiar with the look of the SoQtExaminerViewer, default has RotX, RotY thumbwheel on the left and bottom, and Decorative buttons with Dolly wheel on right side.

    When I open in the viewer in a Qt window the vertical decorative button list repeats itself, even on resizing, and the dolly wheel seems pushed down and partially shows on the upper right corner.

    I'm not sure if this is a SoQt problem or a Qt problem. In Qt I've worked with margins, SetPolicy, SizeHint, etc. In SoQt I can hide the decorations, but I'd like to use them. I just don't need two sets of the buttons.

    Wondering if anyone on this list may happen to have seen a similar problem and know where to try to solve the issue.

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Earth (Terra)
    Posts
    87
    Thanks
    4
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Qt widget SoQtExaminerViewer buttons

    Whose SoQt are you using? Coin3d/TGS/something else?

    I'm currently in the process of building the Coin3d SoQt against Qt432 on the Mac and then Windows shortly after that. When done, I might be able to offer some thoughts.

    rickb

  3. #3
    Join Date
    Jun 2007
    Posts
    25
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt widget SoQtExaminerViewer buttons

    Yes, Mingw built Coin, and SoQt. Also Mingw built Qt4.
    Maybe I should see what it looks like on linux?

    Even when I open the SoQt viewer from Qt in its own window I still get double decoration buttons. It's like the button list wants to fill out the right margin of the viewer whatever the size of the viewer.

    But doesn't do that from just a Coin/SoQt project which is nevertheless linked to Qt.

    thanks.

  4. #4
    Join Date
    Jan 2006
    Location
    Earth (Terra)
    Posts
    87
    Thanks
    4
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Qt widget SoQtExaminerViewer buttons

    Quote Originally Posted by jhearon View Post
    Yes, Mingw built Coin, and SoQt. Also Mingw built Qt4.
    Maybe I should see what it looks like on linux?

    Even when I open the SoQt viewer from Qt in its own window I still get double decoration buttons. It's like the button list wants to fill out the right margin of the viewer whatever the size of the viewer.

    But doesn't do that from just a Coin/SoQt project which is nevertheless linked to Qt.

    thanks.
    Sorry - not sure I understand that last part. Are you saying an example project?

    I've just built on Mac and not seeing any issues at all with the examiner viewer.

    Are you instantiating the viewer under a widget, or relying on SoQt's internal widget? I typically provide a widget in SoDB::init and the viewer construction.

    Linux would be a good check. Also, I do my Win builds using MSVC 2008 (it's free). Have you tried using that?

    Not sure I'm being helpful - just tossing out a few thoughts.

    rickb

  5. #5
    Join Date
    Apr 2007
    Location
    Rakovnik, Czech Republic
    Posts
    175
    Thanks
    43
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt widget SoQtExaminerViewer buttons

    Quote Originally Posted by jhearon View Post
    Wondering if anyone on this list may happen to have seen a similar problem and know where to try to solve the issue.
    fyi- i had the same problem, but in my case I simply disabled decoration, as I didn't want those buttons, either properly or in duplicate.

Similar Threads

  1. Drawing a widget in QItemDelegate's paint method
    By darkadept in forum Qt Programming
    Replies: 17
    Last Post: 11th August 2009, 05:15
  2. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  3. Qt Designer's Widget Box buttons
    By Nb2Qt in forum Qt Programming
    Replies: 2
    Last Post: 8th June 2007, 01:32
  4. widget for text AND buttons
    By nongentesimus in forum Newbie
    Replies: 2
    Last Post: 16th June 2006, 13:43
  5. [Qt 4.1.0] Split a widget on demand
    By Townk in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2006, 14:16

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.