Thread: mbarcode
View Single Post
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#572
Originally Posted by dragly View Post
One could hope the encoder developers were thinking the same thing, but when I researched this I found several online encoders using completely different character sets. I don't remember which it was, but there was even one webpage decoding it's own codes with the wrong char encoding :-p
Oh dear!

Originally Posted by dragly View Post
Letting the user choose an encoding manually should hopefully help us out in the cases where everything else fails.
Sounds good, we'll have to think how to implement this in the UI.

Originally Posted by dragly View Post
I have no idea why the visual indication of clicking a button in the results list has disappeared, but I'll look into it ASAP. I think I'll do some work on mBarcode by the end of the week.
Great news!

The list doesn't contain any widgets and uses a custom delegate painter to draw the items, so I imagine the painter will need to be told the location of the selected item so that it can draw e.g. a different background. I don't really know, I got bogged down in the delegate stuff over the past few days and decided to move onto more productive avenues instead.

I'm thinking of moving things like the DBus setup into the same thread that does plugin loading (if possible) just to try to remove as much stuff as possible before the UI is shown. Might also move the gst pipeline setup, but was planning on leaving that for the time being as it will probably necessitate changing how the UI starts up.

I'm also going to split up the qrcode sink into multiple sinks so that for any given payload (e.g. a vCard) it can display separate buttons (i.e. sinks) for both the overall vCard and also the contents. I.e. button to save the vCard, button to dial telephone #s, open URLs, send emails to email addresses, etc.

Oh yes, and get the MECARD reading working as you kindly moved the vCard import to using the QtMobility functions, thanks!
 

The Following User Says Thank You to lardman For This Useful Post: