[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KColorButton
From: Reginald Stadlbauer <reggie () troll ! no>
Date: 1999-06-29 20:00:47
[Download RAW message or body]
On Tue, 29 Jun 1999, Joachim Ansorg wrote:
>Hi,
>
>I know, this is a KDE malinglist but I don't no how to solve the problem.
>I want to use a KColorButton to select a color.
>But I want to change to textcolor of a HTML-widget to the chosen color.
>How can I convert QColor to a QString containing hexnumbers ?
QColor c( someColor );
QString colstr;
colstr.sprintf( "%02X%02X%02X", c.red(), c.green(), c.blue() );
--
Reggie
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic