Juergen Spitzmueller wrote:

> Angus Leeming wrote:
>> Haven't looked at the patch, but this is something that we do elsewhere.
>> The clean and elegant solution, IMO, would be to have a LyXComboBox that
>> derives from (or stores internally --- probably better) QComboBox which
>> would store the "identifier" string. QComboBox would show the
>> "translated" string, but LyXComboBox->text() would return the
>> "identifier" string.
>>
>> Ie, nothing more than you're suggesting, but wrapped up inside a OO
>> interface.
> 
> Sounds like a good idea, but I don't think that this is something for
> 1.4.

Agreed.

> Remember the problem applies to all three frontends. 

Shrug.

template <class WidgetT>
class LyXComboBox;

-- 
Angus

Reply via email to