Results 1 to 7 of 7

Thread: QToolBox and style

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: QToolBox and style

    Maybe you should try peeking Qt sources to see if the default styles use something simmilar?

  2. #2
    Join Date
    Jan 2006
    Posts
    14
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: QToolBox and style

    I wish it was that simple! Reading Qt and KDE sources is my first move to find the limitations of what I can do. Next, I read what some other styles do.

    In this case, nobody cares about QToolBox except Qt... and the default style draws all the toolbox tabs the same way unless it's selected. Useless.

    I'm gonna ask to the KDE Dev list --if they're not too busy-- then I'll go to the real source of Qt: the Trolls of Trolltech. I've been told they know a little more about Qt than anybody.

  3. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QToolBox and style

    I styled the QToolBox widget in my Phase style, included in kdeartwork. It was written for Qt3. I don't know how well the KDE4 porting guys did moving it to Qt4. Anyway, it's there and hopefully easy to understand.

  4. The following user says thank you to Brandybuck for this useful post:

    Maxilys (26th March 2006)

  5. #4
    Join Date
    Jan 2006
    Posts
    14
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: QToolBox and style

    Quote Originally Posted by Brandybuck
    I styled the QToolBox widget in my Phase style, included in kdeartwork. It was written for Qt3. I don't know how well the KDE4 porting guys did moving it to Qt4. Anyway, it's there and hopefully easy to understand.
    That's right you styled the QToolBox but you just reproduced the Qt look and there is no mouseover effect on the tooltabs. But it doesn't matter. Look at my QToolbox. I think I can leave it this way until Qt5 (and I mean 5, not 4) since there is no improvement of the QToolBox in Qt4. "They" just adapted the source but the widget's handling is unchanged. So... Let's forget about it.

    If I'm saying "thank you" that's because your style gave me some answers to some problems I have with my style... and the source is legible. I'm gonna schedule a meeting with my friends Cut & Paste.

Similar Threads

  1. QToolBox qss style sheet problem
    By eskil in forum Qt Programming
    Replies: 1
    Last Post: 17th August 2007, 17:45

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.