@ -293,21 +293,21 @@ TQPopupMenu *KolourPicker::copyPopup(const TQColor &c, bool title) const
popup - > insertItem ( SmallIcon ( " text " ) , value ) ;
// HTML, lower case hex chars
value . sprintf ( " #%.2x%.2x%.2x " , c . red ( ) , c . green ( ) , c . blue ( ) ) ;
popup - > insertItem ( SmallIcon ( " html" ) , value ) ;
popup - > insertItem ( SmallIcon ( " text- html" ) , value ) ;
if ( value . find ( TQRegExp ( " [a-f] " ) ) > = 0 )
{
// HTML, upper case hex chars
value . sprintf ( " #%.2X%.2X%.2X " , c . red ( ) , c . green ( ) , c . blue ( ) ) ;
popup - > insertItem ( SmallIcon ( " html" ) , value ) ;
popup - > insertItem ( SmallIcon ( " text- html" ) , value ) ;
}
// lower case hex chars
value . sprintf ( " %.2x%.2x%.2x " , c . red ( ) , c . green ( ) , c . blue ( ) ) ;
popup - > insertItem ( SmallIcon ( " html" ) , value ) ;
popup - > insertItem ( SmallIcon ( " text- html" ) , value ) ;
if ( value . find ( TQRegExp ( " [a-f] " ) ) > = 0 )
{
// upper case hex chars
value . sprintf ( " %.2X%.2X%.2X " , c . red ( ) , c . green ( ) , c . blue ( ) ) ;
popup - > insertItem ( SmallIcon ( " html" ) , value ) ;
popup - > insertItem ( SmallIcon ( " text- html" ) , value ) ;
}
// Color name
TQStringList names = colorNames ( c . red ( ) , c . green ( ) , c . blue ( ) ) ;