You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, May 1st 2010, 8:34am

qt stylesheets : customize handles ?

I use the "Plastique" style and a custom QSS to darken the default look.
Unfortunately, I cannot find how to darken the "handles" (dotted staggered) on my QDockWidget/QToolBar/misc separators.



For example if I use the following QSS I get uniform color, removing the dotted staggered (and I only want to change the color of it, not removing it completely) :

Source code

1
2
3
4
5
6
7
8
9
10
11
QToolBar::handle {
	background-color: #FF0000;
}

QMainWindow::separator {
	background-color: #FF0000;
}

QDockWidget::title {
	background-color: #FF0000;
}




What solution to this problem ?

Thanks

Junior

Professional

  • "Junior" is male

Posts: 1,613

Location: San Antonio, TX USA

Occupation: Senior Secure Systems Engineer

  • Send private message

2

Saturday, May 1st 2010, 3:21pm

Not sure if this will help, but sometimes I find that just using background verse backgound-color sometimes works. But again I haven't use this with Plastique style.