1

Topic: Hybrid and styling,..

For those who are into styling: Yes, Hybrid does support styling. (it always did smile)

Here's a small example:
Download the attached "black-blue_plastique.qss" and copy it next to your Hybrid then start Hybrid with:

Hybrid -style plastique -stylesheet=black-blue_plastique.qss

and your Hybrid version should look similar to the attached screenshot.

If a bunch of people are interested in styling, I can add some functionality in Hybrid to switch between external styles.

Cu Selur

Ps.: Here are the basic links about styling Qt applications:
https://qt-project.org/doc/qt-4.8/stylesheet.html
https://qt-project.org/doc/qt-4.8/style … mples.html
https://qt-project.org/doc/qt-4.8/style … rence.html

Post's attachments

Attachment icon black-blue_plastique.qss 2.22 kb, 762 downloads since 2013-04-05 

styling.png, 30.75 kb, 752 x 373
styling.png 30.75 kb, 1313 downloads since 2013-04-05 

2

Re: Hybrid and styling,..

I'll have to give this a try, the black/blue styling looks awesome.

3 (edited by mogobime 2013-04-16 09:52:57)

Re: Hybrid and styling,..

I agree, this styling looks great!

You can also try Hybrid -style cleanlooks -stylesheet black-blue_plastique.qss

EDIT:

The coffe.qss stylesheet is not as beautiful as black-blue_platique.qss, but it gives Hybrid a really clear look:
ftp://x-quasat.redirectme.net/public/coffee.jpg

Try: Hybrid -style windows -stylesheet coffee.qss
Or: Hybrid -style default -stylesheet coffee.qss

EDIT: Removed the " = " in cli commands

4

Re: Hybrid and styling,..

btw. the = is not needed. smile
And here's an example of dark-blue_plastique extended by:

QTextBrowser {
  background-image: url(./darkflower.jpg)
}

(+ copied darkflower.jpg next to the dark-blue_plastique.qss)
Hybrid -style plastique -stylesheet black-blue_plastique.qss

also if your style sheet contains spaces make sure to put it into quotes, in example:

Hybrid -style plastique -stylesheet "my new style.qss"

Um noch ein Beispiel zu haben, habe ich analog noch:

QTreeWidget {
  background-image: url(./darkflower.jpg)
}

hinzugefügt, wodurch man in der JobQueue das Bild hat,...

Cu Selur

Post's attachments

QTextBrowser.png, 37.63 kb, 752 x 373
QTextBrowser.png 37.63 kb, 564 downloads since 2013-04-11 

QTreeWidget.png, 42.9 kb, 752 x 373
QTreeWidget.png 42.9 kb, 507 downloads since 2013-04-11 

5

Re: Hybrid and styling,..

... and here is my 1st.qss, a modified "black-blue_plastique.qss" mixed with the "coffe.qss".
Use the -style cleanlooks. Looks better ...

Post's attachments

Attachment icon 1st.qss 1.94 kb, 484 downloads since 2013-06-05 

6

Re: Hybrid and styling,..

Happy to see someone has some fun with the styling. smile

7

Re: Hybrid and styling,..

Always trying to make the UIs of programs darker.
My eyes getting tired from the whiteness of a big screen ;o)

BTW, is there a way to load the qss files through the GUI?

8

Re: Hybrid and styling,..

Yeah,.. an undocumented one. smile
Create 'styles'-folder inside your 'Hybrid'-folder, put your stylesheet there and you should be able to select your stylesheet under "Config->Internals->Style sheet"

9

Re: Hybrid and styling,..

Great!!
I had already created a styles folder with the styles inside ...
I just didn't know about the setting :o)