From: Tim H. <hof...@hi...> - 2012-05-16 10:30:15
|
> -----Ursprüngliche Nachricht----- > Von: Denis Bitouzé [mailto:dbi...@wa...] > Gesendet: Mittwoch, 16. Mai 2012 08:11 > An: tex...@li... > Betreff: [TeXstudio-list] (Slow) speed of the config Editor panel to be displayed > > Hi, > > if the config Editor panel is so long to be displayed, is it due to the long "Font > Family" list which is displayed for each of the identifiers? If so, a way to > increase the speed could be to replace this list by a button that, only when > clicked, opens another dialog box where the font family can be chosen. Indeed, > it is helpful to compare the formats (bold, italic, colours, etc.) so they have to > be displayed simultaneously, but comparing the fonts family is of minor > interest. I suppose, that setting the list of fonts for every combobox takes most of the time. Possible solutions: 1. Use QFontComboBox - if it's reasonably clever implemented, it probably will not manage the list of fonts itself, but dynamically generate it on dropdown. Problem is, that it does not support the <default> we use additionally. We could try to subclass it. Or we discard the <default> and show the default font instead (not optimal, because it might lead users to change all fonts locally instead of changing the default). 2. Only set a single value by default and just create the list, when the box gets focus. > And what could be nice is to have in this dialog box, beside each font family, an > example of it or, as it is currently the case in the "General" panel for the "Font" > list, the name of the font family displayed with itself. That's a QFontComboBox. See above. > -- > Denis > > ---------------------------------------------------------------------------- -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > TeXstudio-list mailing list > TeX...@li... > https://lists.sourceforge.net/lists/listinfo/texstudio-list |