HMG 4 Started

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4012
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 4 Started

Post 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 :)
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 4 Started

Post 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 :)
With best regards,
Sudip
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 4 Started

Post 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?
With best regards,
Sudip
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 4 Started

Post 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
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 4 Started

Post 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 :)
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 4 Started

Post by Rathinagiri »

Super Marek! :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 4 Started

Post 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?
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 4 Started

Post by Rathinagiri »

East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 4 Started

Post 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.
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 4 Started

Post by sudip »

Is it in this way qColor -> qPalette -> qWidget ?
With best regards,
Sudip
Post Reply