View Single Post
Old 07-21-2014, 03:20 PM   #46
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,959
Karma: 6361444
Join Date: Nov 2009
Device: many
new preserve entities patch

Hi user_none,

Okay, this should be better. I made all the changes I wanted to make (except for shrinking the List width in the Preferences pane).

So here is an improved patch that implements preserving entities in codeview. It passes the QList< std::pair < ushort, QString > > codenames from settings into the Clean up code and thereby speeds up replacement of codepoints as a hash lookup is no longer needed for each of them each time it is invoked.

I still can't figure out how to use QtCreator.app with the PPreserveEntitiesWidget.ui in any sane way so I am stuck hand editing the damn ui file to try to shrink the list width but failing miserably.

Any hints on how best to create/edit these ui files would be helpful.

Anyway, here is the new patch against trunk.

Please let me know what if anything you would prefer to have changed. Once you are happy, I can grab and install git and play around with github and pulls.

Thanks again for all of your help!

KevinH
Attached Files
File Type: zip new_preserve_entities_patch.txt.zip (5.2 KB, 359 views)

Last edited by KevinH; 07-21-2014 at 06:51 PM.
KevinH is online now   Reply With Quote