Maybe you should try peeking Qt sources to see if the default styles use something simmilar?
Maybe you should try peeking Qt sources to see if the default styles use something simmilar?
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.![]()
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.
Maxilys (26th March 2006)
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.Originally Posted by Brandybuck
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.![]()
Bookmarks