Page 8 of 16
Re: HMG 4 Started
Posted: Tue Aug 17, 2010 2:25 am
by Roberto Lopez
mol wrote:I was looking solution for color, but I didn't found anything. I'vre read QT doc and didn't found

Tomorrow I'll search again
thanks for accepting my person in the hmg.4 team!
I've just researched about that without luck.
I guess that we need that a QT expert join the team

Re: HMG 4 Started
Posted: Tue Aug 17, 2010 4:00 am
by sudip
Roberto Lopez wrote:...
PS: Maybe we will need an specific form for HMG 4 team communication... what do you think?
Yes, I also think so

Re: HMG 4 Started
Posted: Tue Aug 17, 2010 4:07 am
by sudip
Roberto Lopez wrote:....
I've just researched about that without luck.
I guess that we need that a QT expert join the team

Same problem to me also. I couldn't found a solution for this till now.
Yes, it will be very much helpful if we get help from one QT expert.
Is there any HBQT Class Hierarchy chart available?
Re: HMG 4 Started
Posted: Tue Aug 17, 2010 5:44 am
by mol
As some years ago, when Poland joined to UE, Polish Prime Minister shout "YES YES YES", today I found something about colors:
http://doc.trolltech.com/4.3/stylesheet ... und-colors
I've made a little test with label and it works.
I'll prepare more code and I'll place it. I think, it will be universal for all controls.
Regards, Marek
Re: HMG 4 Started
Posted: Tue Aug 17, 2010 5:46 am
by mol
phrase:
Code: Select all
::oQTObject:setStyleSheet("color: blue; background-color: yellow; selection-color: yellow; selection-background-color: blue;")
gives some color to label

Re: HMG 4 Started
Posted: Tue Aug 17, 2010 6:01 am
by Rathinagiri
Super Marek!

Re: HMG 4 Started
Posted: Tue Aug 17, 2010 6:17 am
by mol
I need RGB function which works OK in hmg3.0.35, but it's not found in hmg.4 contribution. Which lib can contain it?
Re: HMG 4 Started
Posted: Tue Aug 17, 2010 6:31 am
by Rathinagiri
Re: HMG 4 Started
Posted: Tue Aug 17, 2010 6:46 am
by mol
I've tried to realize it with QColor, but it seems hard to do. Maybe I;m wrong, because I don't know QT.
Re: HMG 4 Started
Posted: Tue Aug 17, 2010 7:06 am
by sudip
Is it in this way qColor -> qPalette -> qWidget ?