|
|
|
@ -261,7 +261,7 @@ during install.
|
|
|
|
|
</chapter>
|
|
|
|
|
|
|
|
|
|
<!-- Qt-designer -->
|
|
|
|
|
<chapter id="using-qtdesigner">
|
|
|
|
|
<chapter id="using-tqtdesigner">
|
|
|
|
|
<title>Run-time integration with Qt-Designer</title>
|
|
|
|
|
<para>
|
|
|
|
|
Qt-Designer is a graphical application used for designing user interfaces.
|
|
|
|
@ -270,7 +270,7 @@ to be converted into Python classes before they can be used in a Python
|
|
|
|
|
application. This can be manually done using the <command>pyuic</command>
|
|
|
|
|
command from the shell. But it is a lot more convenient to let &appname;
|
|
|
|
|
to this automatically for you. All you need to do is import the
|
|
|
|
|
<symbol>qtdesigner</symbol> or <symbol>tdedesigner</symbol> module, depending
|
|
|
|
|
<symbol>tqtdesigner</symbol> or <symbol>tdedesigner</symbol> module, depending
|
|
|
|
|
on whether your application is pure Qt or uses TDE, and then you can import
|
|
|
|
|
your user interface files as though they were normal Python files.
|
|
|
|
|
|
|
|
|
@ -285,7 +285,7 @@ from MyWindow import * # Loads MyWindow.ui
|
|
|
|
|
class MyWindowCode(MyWindow):
|
|
|
|
|
# Implement extra functionality and methods.
|
|
|
|
|
</programlisting>
|
|
|
|
|
The <symbol>tdedesigner</symbol>/<symbol>qtdesigner</symbol> module converts
|
|
|
|
|
The <symbol>tdedesigner</symbol>/<symbol>tqtdesigner</symbol> module converts
|
|
|
|
|
<literal role="extension">.ui</literal> on demand to
|
|
|
|
|
<literal role="extension">.py</literal> files.
|
|
|
|
|
</para>
|
|
|
|
@ -429,7 +429,7 @@ features in <literal role="extension">.desktop</literal> files.
|
|
|
|
|
<para>
|
|
|
|
|
&appname; can be used for the creation of tdeio-slaves. &appname; handles the C++
|
|
|
|
|
glue code needed for making tdeioslaves in Python.
|
|
|
|
|
<ulink url="http://developer.kde.org/documentation/library/kdeqt/trinityarch/nettransparency.html">developer.kde.org</ulink>
|
|
|
|
|
<ulink url="http://developer.kde.org/documentation/library/kdetqt/trinityarch/nettransparency.html">developer.kde.org</ulink>
|
|
|
|
|
has some documentation about TDEIO-slaves aimed at C++ programmers.
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|