Description: This small patch makes tabs in the Baghira style center-aligned, just like in MacOSX. It requires Qt 3.2.x. The attached screenshot is in KDE 3.2b1, but I think it'll work with KDE 3.1.4 (as long as you have Qt 3.2.x).. feedback would be appreciated.
To install: 1. Download and unpack Baghira source (available here) 2. Download patch, copy it to the baghira source folder (usually called mosfet-baghira) 3. Run this command: patch -p1 < middle_tabs.patch 4. Build as normal =) (instructions available in baghira docs)
Hello,
very nice screenshot! Are you running Keith Packards XServer? The Window-Shadows look really cool and I saw some screenshots of Gnome with the new XServer from Keith and they look exactly like this.
I think he's rather using the kwin patch you can download from here:
http://www.kde-look.org/content/show.php?content=5638
note that you'll have to patch and remake parts of kde.
HOwever i think it's allready part of kde 3.2 - but i'm not sure.
thomas
Just incorporated it to current development version (now you'll have to wait longer for 0.3 release - your fault!) *ggg*
Also, it doesn't cause any errors with qt 3.1.2 here.
I allready mentioned, that qt should currently allow this, but noone flags it while ui design.
However, I'll have to make this flaggable, as it's really nice for two or three tabs on a dialog, but it looks really strange e.g. in konqueror.
I hope that more coders will use centerd aligned tabs in future, so that i can handle them buttoned and leave left or right aligned alone (oldstyled).
Thanks anyway for the first addition patch to my code. I am really proud like a young father! ;-)
> Just incorporated it to current development version
great =)
> I allready mentioned, that qt should currently allow this, but noone flags it while ui design.
It's not the job of the app to- it's the job of the widget style plugin.
> However, I'll have to make this flaggable, as it's really nice for two or three tabs on a dialog, but it looks really strange e.g. in konqueror.
Hmmm.. weird.. it works fine in Konq 3.2's new tabwidget.
> so that i can handle them buttoned and leave left or right aligned alone (oldstyled).
You can do this already pretty much.
I fear you didn't get me right (it's quite late (i've been up for more than 30 hours now and my english starts to slide away... ;-)
Actually centered tabs work fine in all applications (also with qt 3.1.2) - it sometimes just looks a bit strange (i want my tab in konqueror to be left aligned)
So what i mean is:
the ui designer (coder) decides if he wants centered or left aligned tabs (e.g. only use centered tabs, if their amount is fixed and small)
then the design handles the tabs by alignment flag.
left aligned keep the old style.
ccentered aligned however are drawn as nice buttons in a sunken frame.
that's it.
but as qt-designer yet has not allowed to flag tabs to be centered (hope, that changed with 3.2) they're uncommon - what hopefully will change.
got me now? ;-)
Liquid being re-hacked.
It's about time some people took over from where mosfet left off.
I would love to see x-render support being added to liquid.
Hopefully the likes of this will start the ball rolling again.
Keep up the great work
Regards
Miles.
Ratings & Comments
12 Comments
I can see that the patch don't work with the latest version of baghira style ... you could help me. =)
what icons are you using in that pic? i really like them. =)
Icons at this picture are from Umicons 2.0, i think. (http://www.kde-look.org/content/show.php?content=7214)
Hello, very nice screenshot! Are you running Keith Packards XServer? The Window-Shadows look really cool and I saw some screenshots of Gnome with the new XServer from Keith and they look exactly like this.
I think he's rather using the kwin patch you can download from here: http://www.kde-look.org/content/show.php?content=5638 note that you'll have to patch and remake parts of kde. HOwever i think it's allready part of kde 3.2 - but i'm not sure. thomas
Actually, no, he's using the freedesktop.org X server. Take a look at the screenshot he uploaded earlier today. :) -clee
Just incorporated it to current development version (now you'll have to wait longer for 0.3 release - your fault!) *ggg* Also, it doesn't cause any errors with qt 3.1.2 here. I allready mentioned, that qt should currently allow this, but noone flags it while ui design. However, I'll have to make this flaggable, as it's really nice for two or three tabs on a dialog, but it looks really strange e.g. in konqueror. I hope that more coders will use centerd aligned tabs in future, so that i can handle them buttoned and leave left or right aligned alone (oldstyled). Thanks anyway for the first addition patch to my code. I am really proud like a young father! ;-)
> Just incorporated it to current development version great =) > I allready mentioned, that qt should currently allow this, but noone flags it while ui design. It's not the job of the app to- it's the job of the widget style plugin. > However, I'll have to make this flaggable, as it's really nice for two or three tabs on a dialog, but it looks really strange e.g. in konqueror. Hmmm.. weird.. it works fine in Konq 3.2's new tabwidget. > so that i can handle them buttoned and leave left or right aligned alone (oldstyled). You can do this already pretty much.
I fear you didn't get me right (it's quite late (i've been up for more than 30 hours now and my english starts to slide away... ;-) Actually centered tabs work fine in all applications (also with qt 3.1.2) - it sometimes just looks a bit strange (i want my tab in konqueror to be left aligned) So what i mean is: the ui designer (coder) decides if he wants centered or left aligned tabs (e.g. only use centered tabs, if their amount is fixed and small) then the design handles the tabs by alignment flag. left aligned keep the old style. ccentered aligned however are drawn as nice buttons in a sunken frame. that's it. but as qt-designer yet has not allowed to flag tabs to be centered (hope, that changed with 3.2) they're uncommon - what hopefully will change. got me now? ;-)
i usually no have applied any patch for this i want know how i must do for apply this patch to baghira style. Thanks ...
Hmm.. I put the intructions in the description.. if you need more help than that, reply :)
Liquid being re-hacked. It's about time some people took over from where mosfet left off. I would love to see x-render support being added to liquid. Hopefully the likes of this will start the ball rolling again. Keep up the great work Regards Miles.