Search results
Search results 1-20 of 27.
Quoted Originally posted by fiomba Thank you for your replay, but it's not very useful. Ok, I understand you. Have you looked at any of these links? http://lukeplant.me.uk/articles.php?id=1 http://www.volny.cz/bwian/dcop.html Using the dcop command, you can explore what you can do with dcop and what level of control that you can achieve.
DCOP is not used to send key strikes, for that, the X11 event queues are used and they can be used from Qt. DCOP can, however, be used to control Konqueror.
When I used a knoppix hd install I had to set QTDIR in my ~/.bashrc script. Also, you can use apt to install the examples. For example, apt-get install qt3-examples would do it.
Either sub-class QWidget and re-implement paintEvent, or use the QCanvas module. A final option is to use the OpenGL module.
Look at KDE. Since the source is open, you can download and look at some of the apps there. I know that a proper article/tutorial would be better, but the source is an option.
According to this site, the sizes should be 16,32,48...
Look here: http://qtforum.org/thread.php?threadid=3…hilight=i18n+tr
The problem seems to be related to the fact that the dialogs are from KDE (since the Qt equivalents are translated) so I moved the thread.
This is great news! I think that many newcommers see the auto tools as a huge overkill and a problem. Qmake on the other hand is just plain simple.
Ok, so the Qt dialogs wont localize. Do you use QTranslator to load the language in your main routine as described in the docs? Could the problem be that the dialog uses the KDE language (as opposed to your application's language) and that it is not set to Chinese?
You will have to be more specific. In what situation cant you locate the language?
What is stopping you from using Designer in this way? Or is that interface too crude?
So what you want is something like this, http://doc.trolltech.com/3.3/pictures.html , but up to date and for KDE?
No, lets say that your app is known as myapp. Then create your application and name the binary myapp.real, then use a shell (bash) script called myapp to start myapp.real using kdesu.
Have you looked here: http://developer.kde.org/documentation/l…i18n-howto.html ?
Use a kdesu call to start your application (though a shell script). http://www.stack.nl/~geertj/kde/kdesu-doc/index-3.html
I thought rc-files where just for windows... but I can be wrong.
It is probably a mixup of Qt with or withour multithreading and KDE expecting it to be the other way around.
Are you sure that your Qt setup is sane? The method exists: http://doc.trolltech.com/3.2/qstring.html#setNum .