Hi Ryan
Your question is somewhat related to this:
http://code.google.com/p/speedcrunch/issues/detail?id=153&q=unit
So the answer is that we need a new parser, but we struggle a lot to
find the time to fix/implement other things. If you can help there,
brilliant :)
Another option in the meantime is a dock/dialog where the user has a
simple interface to convert from one unit to another. Of course power
users like me would prefer the Google way...
On a totally unrelated topic, I'd like to apologize for the SPAM that
we haev received on the list recently. Messages from new users will
now be moderated by me before making it to the list.
Helder
That was from Petri Damstén, who happened to contribute to SpeedCrunch, too.
AFAICS it's been imported to kdelibs, i.e.
http://websvn.kde.org/trunk/KDE/kdelibs/kunitconversion/
--
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
> I am looking into un-KDE'ing the conversion library in KDELibs to use
> behind-the-scenes.
That's great!
> But before the behind-the-scenes stuff gets worked on, I put together
> this little UI of a unit conversion dock.
> http://speedcrunch.googlegroups.com/web/speedcrunch_units_initial.jpg
Are you thinking of presenting the converted value in the same line
edit where the user inputs the original one? Because I don't see a
result section.
> Instead of just listing the units, I think it will be a tree-view with
> units children of categories when All is selected in the category
> combobox.
I'm sure you can write code along the one from the other docs that
have a search field.
Also, please be sure you follow the same design as the other docks:
create an independent unit conversion widget that can be then inserted
in a dock. Exception made for the math book, which I'll change when I
find the time.
Thank you for your effort.
I like the idea, but I'm not sure whether the users will be 100% happy
with that. Maybe one just needs to perform a quick an independent
conversion most of times. But let's hope we get comments from our
users on this mailing list.
> This feels a little overkill, but really simplifies having two widgets
> showing the same thing through filters, and so far is staying really
> clean in code.
Sounds good.
> Already pretty much an exact copy of the "variables" dock with all the
> appropriate actions / menus, so that is already covered.
Cool stuff :)
> And thank you for the good code example, I think my Qt skills have
> already improved in just a few hours of working with the codebase.
I'm glad that all the effort put into writing good and clean code
instead of just a good application is attracting new developers, and
allowing them to learn even. Thank you once again.