I want to do multi language support for my QT Application ?
Can Anybody guide me what are the steps involved to achieve that ?
Thanks.
Qt has great documentation.
*updated to the current one.
Practical advice: tr() all your user-facing strings. Get this sorted from the beginning and you can retrofit multi-language support later when you have time to figure it out.
This goes for control-key sequences in menu labels and everything.
Related
I'm about to make a program (qt/gtk) where I need to display some kind of UML diagrams (like in BlueJ),
I wanted to ask you if there is such a component in GTK
It must work with new version of Gtk - gi.repository
The name of library is enough for me, I'll read docs, but if somebody post here some simple demo, it'll be appreciated.
Thank you
Dia (Old homepage) is a GTK based UML drawing tool. It is a very good tool with a lot of options. It is available on a number distros from their repositories. It has both application & library (libdia) components. There are python bindings available as well. If you have not checked it out, you should.
Hope this helps!
I found gaphas
You should checkout GooCanvas, I think is the more complete library for that kind of work.
I use python and pygtk, and use matplotlib to draw graphs in the GUI.
See a sample here : http://www.serpia.org/blog/2007/nov/03/matplotlib-and-pygtk-app/
I'm developing a asp.net application and I use some components. I have a component with a resource file with a lot of keys in English. I need to translate it to Portuguese (Brazil, pt-br). I would like to know, if is there any way to translate it with a program? Or if is there a program that do this?
Thanks
I have the same issues and was looking to use Google's Translation APIs, based on this article Automatic Resource File Translation via Google Translate
I will let you know how it goes - but obviously you may still need someone to validate the output, I know I will.
Maybe my free Zeta Resource Editor is of some help for you.
I have not been satisfied with the various solutions out there so I wrote something: https://github.com/ekkis/Powershell/blob/master/MT.ps1
Please, could you provide me some resources (web-links) to learn qt-dbus?
I already have a process which provides QtDBus interface, I want to learn it so that I can communicate with it.
First hits from a Google search for qt-dbus and qt-dbus tutorial:
http://doc.trolltech.com/4.2/intro-to-dbus.html
http://wiki.forum.nokia.com/index.php/QtDbus_quick_tutorial
http://techbase.kde.org/Development/Tutorials#D-Bus
There were many more interesting hits to list here. Their usefuleness to you depends on what you want to do, of course.
There are some more useful links since Dec '10:
http://qt-project.org/doc/qt-4.8/qtdbus.html
http://qt-project.org/doc/qt-4.8/examples-dbus.html
In my opinion, this is the best tutorial to start: http://techbase.kde.org/Development/Tutorials#D-Bus
http://developer.nokia.com/Community/Wiki/QtDbus_quick_tutorial
http://techbase.kde.org/Development/Tutorials/D-Bus/CustomTypes
If you want to introspect D-Bus objects and messages you can use following tools:
http://doc.qt.digia.com/4.6/qdbusviewer.html
https://wiki.gnome.org/DFeet
Nokia has some great Maemo code that you can look off of. I found it's well documented and useful.
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/DBus/DBus_Basics
HI,
I'm currently working on a project that uses Flex and Java. In Java we easily enforced a coding standard with Checkstyle, and we want to do this for Flex.
Does anybody know of a tool similar to Checkstyle that would allow coding standard checks?
(I've googled for this but found only one project written in python and it seams abandoned)
Thanks
The long and the short is that there is... kind of, but only for Actionscript, and you have to test it yourself... There is a prototype of an Actionscript 3 version, but it is not even in Beta yet (and I admit that I haven't had the time to test it). I haven't found anything similar for XML, let alone MXML. This is in at least one list of feature requests for Flex 4, however.
I'm working too on a project uses Flex and Java. Like you, in Java, we easily use plugins like checkstyle, findBug, javaNcss or PMD. My personal project is to do this for Flex. I have test the prototype 'checkStyleas3' but it just verify the code source en returns you 0 or -1 as result. So you will have (me too in fact), to implement this prototype if you want to do more than that.
Keep an eye on this : http://blog.joa-ebert.com/2009/05/20/as3v-preview/
Can anyone recommend a good (AS3) logging API for Flash/AIR/Flex? I need something to capture and record mouse and keyboard events in addition to coded events. Preferably something well documented/supported. Thanks in advance.
I've been using Thunderbolt. It allows you to see your log results in Firebug.
I developed and manage Loggee!, a Flash/Flex Logging Tool: http://davidbuhler.org/loggee-flex-logging-tool/
You must see http://sourceforge.net/projects/log4flash/
with no more....
bye bye
I would recommend Arthropod if you are looking for a development tool (this wasn't very clear in your question), if it's to log your client's behavior, I'm not aware of any tool sorry.
I always end up writing my own logging solutions. They generally are very simple compared to the rest of the project, and by writing my own I can tailor it exactly to what I need. Whereas using a pre-built one, always seems like either it is too over-engineered and complex to use, or it's too simple and lacking a couple features I need.
Try to use Log5F logging utility for ActionScript 3.0