Baghira Center Tab Alignment Patch

KDE 3.0-3.4 Themes

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

0
Score 38%
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)

ThEOnE

15 years ago

I can see that the patch don't work with the latest version of baghira style ... you could help me.

=)

Report

savannagrrl

15 years ago

what icons are you using in that pic? i really like them. =)

Report

tomasz

15 years ago

Icons at this picture are from Umicons 2.0, i think.
(http://www.kde-look.org/content/show.php?content=7214)

Report

mthaler

15 years ago

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.

Report

thomas12777

15 years ago

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

Report

clee

15 years ago

Actually, no, he's using the freedesktop.org X server.

Take a look at the screenshot he uploaded earlier today. :)

-clee

Report

thomas12777

15 years ago

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! ;-)

Report

C

shm

15 years ago

> 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.

Report

thomas12777

15 years ago

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? ;-)

Report

ThEOnE

15 years ago

i usually no have applied any patch for this i want know how i must do for apply this patch to baghira style.

Thanks ...

Report

C

shm

15 years ago

Hmm.. I put the intructions in the description.. if you need more help than that, reply :)

Report

thormedia

15 years ago

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.

Report

ntesa

15 years ago

Very cool patch, thanks :) Please submit it to the author of the style.

Report

product-maker 52 30

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
updated Nov 12 2003
added Nov 12 2003
downloads today
0
page views today 1
page views total 502