You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12846 lines
172 KiB
12846 lines
172 KiB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Python Bindings for TQt (3.18.1)</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"></HEAD
|
|
><BODY
|
|
CLASS="ARTICLE"
|
|
><DIV
|
|
CLASS="ARTICLE"
|
|
><DIV
|
|
CLASS="TITLEPAGE"
|
|
><H1
|
|
CLASS="TITLE"
|
|
><A
|
|
NAME="AEN2"
|
|
>Python Bindings for TQt (3.18.1)</A
|
|
></H1
|
|
><H3
|
|
CLASS="AUTHOR"
|
|
><A
|
|
NAME="AEN4"
|
|
>Phil Thompson</A
|
|
></H3
|
|
><DIV
|
|
><DIV
|
|
CLASS="ABSTRACT"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN7"
|
|
></A
|
|
><P
|
|
> This document describes a set of Python bindings for the TQt widget set.
|
|
Contact the author at <CODE
|
|
CLASS="EMAIL"
|
|
><<A
|
|
HREF="mailto:phil@riverbankcomputing.co.uk"
|
|
>phil@riverbankcomputing.co.uk</A
|
|
>></CODE
|
|
>.
|
|
</P
|
|
><P
|
|
></P
|
|
></DIV
|
|
></DIV
|
|
><HR></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN10"
|
|
>Introduction</A
|
|
></H2
|
|
><P
|
|
>PyTQt is a set of Python bindings for the TQt toolkit and available for all
|
|
platforms supported by TQt, including Windows, Linux, UNIX, MacOS/X and embedded
|
|
systems such as the Sharp Zaurus and the Compaq iPAQ. They have been tested
|
|
against TQt versions 1.43 to 3.3.7, TQt Non-commercial, TQtopia 1.5.0, and Python
|
|
versions 1.5 to 2.5. TQt/Embedded v3 is not supported. TQt v4 is supported
|
|
by PyTQt v4.</P
|
|
><P
|
|
>PyTQt is available under the GPL license for use with the GPL version of TQt, a
|
|
a commercial license for use with the commercial version of TQt, a
|
|
non-commercial license for use with the non-commercial version of TQt v2, and an
|
|
educational license for use with the educational version of TQt.</P
|
|
><P
|
|
>PyTQt is built using SIP (a tool for generating Python extension modules for
|
|
C++ class libraries). SIP v4.6 or later must be installed in order to build
|
|
and run this version of PyTQt.</P
|
|
><P
|
|
>PyTQt for MacOS/X requires TQt v3.1.0 or later and Python v2.3 or later.</P
|
|
><P
|
|
>The bindings are implemented as a number of Python modules</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qt</TT
|
|
> is the main module and contains the core classes and most
|
|
user interface widgets.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtaxcontainer</TT
|
|
> contains a sub-set of the classes implemented
|
|
in TQt's TQAxContainer module, part of TQt's ActiveTQt framework.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtcanvas</TT
|
|
> contains the classes implemented in TQt's Canvas
|
|
module.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtgl</TT
|
|
> contains the classes implemented in TQt's OpenGL module.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtnetwork</TT
|
|
> contains the classes implemented in TQt's Network
|
|
module.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtpe</TT
|
|
> contains the classes implemented in TQtopia (originally
|
|
called the TQt Palmtop Environment). It is only supported with TQt/Embedded.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtsql</TT
|
|
> contains the classes implemented in TQt's SQL module.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qttable</TT
|
|
> contains the classes implemented in TQt's Table
|
|
module.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtui</TT
|
|
> contains the classes implemented in TQt's tqui library.
|
|
These allow GUIs to be created directly from TQt Designer's
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>.ui</TT
|
|
> files.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtxml</TT
|
|
> contains the classes implemented in TQt's XML module.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtext</TT
|
|
> contains useful third-party classes that are not part
|
|
of TQt. At the moment it contains bindings for TQScintilla, the port to TQt of
|
|
the Scintilla programmer's editor class.</P
|
|
></LI
|
|
></UL
|
|
><P
|
|
>PyTQt also includes the <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>pylupdate</TT
|
|
> utilities which correspond to the TQt
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>uic</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>lupdate</TT
|
|
> utilities.
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> converts the GUI designs created with TQt Designer to
|
|
executable Python code. <TT
|
|
CLASS="LITERAL"
|
|
>pylupdate</TT
|
|
> scans Python code,
|
|
extracts all strings that are candidates for internationalisation, and creates
|
|
an XML file for use by TQt Linguist.</P
|
|
>
|
|
</DIV>
|
|
<DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN95"
|
|
>Other PyTQt Goodies</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN97"
|
|
>Using TQt Designer</A
|
|
></H3
|
|
><P
|
|
>TQt Designer is a GPL'ed GUI design editor provided by Trolltech as part of TQt.
|
|
It generates an XML description of a GUI design. TQt includes
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>uic</TT
|
|
> which generates C++ code from that XML.</P
|
|
><P
|
|
>PyTQt includes <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> which generates Python code from the
|
|
same XML. The Python code is self contained and can be executed immediately.</P
|
|
><P
|
|
>It is sometimes useful to be able to include some specific Python code in the
|
|
output generated by <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
>. For example, if you are using
|
|
custom widgets, <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> has no way of knowing the name of the
|
|
Python module containing the widget and so cannot generate the required
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>import</TT
|
|
> statement. To help get around this,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> will extract any lines entered in the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>Comment</TT
|
|
> field of TQt Designer's
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>Form Settings</TT
|
|
> dialog that begin with
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>Python:</TT
|
|
> and copies them to the generated output.</P
|
|
><P
|
|
>Here's a simple example showing the contents of the <TT
|
|
CLASS="LITERAL"
|
|
>Comment</TT
|
|
>
|
|
field.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>This comment will be ignored by pyuic.
|
|
Python:
|
|
Python:# Import our custom widget.
|
|
Python:from foo import bar</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Here's the corresponding output from <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
>.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>from qt import *
|
|
|
|
# Import our custom widget.
|
|
from foo import bar</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Thanks to Christian Bird, <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> will extract Python code
|
|
entered using TQt Designer to implement slots. In TQt Designer, when you need to
|
|
edit a slot and the source editor appears, enter Python code between the curly
|
|
braces. Don't worry about the correct starting indent level, each line is
|
|
prepended with a correct indentation.</P
|
|
><P
|
|
>Make sure that the <TT
|
|
CLASS="LITERAL"
|
|
>ui.h</TT
|
|
> file is in the same directory as the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>.ui</TT
|
|
> file when using <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
>. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>.ui</TT
|
|
> file implies the name of the <TT
|
|
CLASS="LITERAL"
|
|
>.ui.h</TT
|
|
>
|
|
file so there is no need to specify it on the command line.</P
|
|
><P
|
|
>Here's an example of a simple slot. </P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>void DebMainWindowFrm::browsePushButtonClicked()
|
|
{
|
|
if self.debugging:
|
|
TQMessageBox.critical(self, "Event", "browse pushbutton was clicked!")
|
|
}</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Here is the resulting code when <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> is run.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>class DebMainWindowFrm(TQMainWindow):
|
|
...stuff...
|
|
def browsePushButtonClicked(self):
|
|
if self.debugging:
|
|
TQMessageBox.critical(self, "Event", "browse pushbutton was clicked!")</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Note that indenting is as normal and that <TT
|
|
CLASS="LITERAL"
|
|
>self</TT
|
|
> and all other
|
|
parameters passed to the slot are available.</P
|
|
><P
|
|
>If you use this, you will need to turn off all of the fancy options for the C++
|
|
editor in Designer as it tries to force C++ syntax and that's naturally
|
|
annoying when trying to code in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN133"
|
|
>Using TQt Linguist</A
|
|
></H3
|
|
><P
|
|
>TQt includes the <TT
|
|
CLASS="LITERAL"
|
|
>lupdate</TT
|
|
> program which parses C++ source
|
|
files converting calls to the <TT
|
|
CLASS="LITERAL"
|
|
>QT_TR_NOOP()</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>QT_TRANSLATE_NOOP()</TT
|
|
> macros to <TT
|
|
CLASS="LITERAL"
|
|
>.ts</TT
|
|
>
|
|
language source files. The <TT
|
|
CLASS="LITERAL"
|
|
>lrelease</TT
|
|
> program is then used to
|
|
generate <TT
|
|
CLASS="LITERAL"
|
|
>.qm</TT
|
|
> binary language files that are distributed with
|
|
your application.</P
|
|
><P
|
|
>Thanks to Detlev Offenbach, PyTQt includes the <TT
|
|
CLASS="LITERAL"
|
|
>pylupdate</TT
|
|
>
|
|
program. This generates the same <TT
|
|
CLASS="LITERAL"
|
|
>.ts</TT
|
|
> language source files
|
|
from your PyTQt source files.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN145"
|
|
>Deploying Commercial PyTQt Applications</A
|
|
></H2
|
|
><P
|
|
>When deploying commercial PyTQt applications it is necessary to discourage users
|
|
from accessing the underlying PyTQt modules for themselves. A user that used
|
|
the modules shipped with your application to develop new applications would
|
|
themselves be considered a developer and would need their own commercial TQt and
|
|
PyTQt licenses.</P
|
|
><P
|
|
>One solution to this problem is the
|
|
<A
|
|
HREF="http://www.riverbankcomputing.co.uk/vendorid/"
|
|
TARGET="_top"
|
|
>VendorID</A
|
|
>
|
|
package. This allows you to build Python extension modules that can only be
|
|
imported by a digitally signed custom interpreter. The package enables you to
|
|
create such an interpreter with your application embedded within it. The
|
|
result is an interpreter that can only run your application, and PyTQt modules
|
|
that can only be imported by that interpreter. You can use the package to
|
|
similarly restrict access to any extension module.</P
|
|
><P
|
|
>In order to build PyTQt with support for the VendorID package, pass the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>-i</TT
|
|
> command line flag to <TT
|
|
CLASS="LITERAL"
|
|
>configure.py</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN153"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqtconfig</TT
|
|
> and Build System Support</A
|
|
></H2
|
|
><P
|
|
>The SIP build system (ie. the <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig</TT
|
|
> module) is described
|
|
in the SIP documentation. PyTQt includes the <TT
|
|
CLASS="LITERAL"
|
|
>pyqtconfig</TT
|
|
>
|
|
module that can be used by configuration scripts of other bindings that are
|
|
built on top of PyTQt.</P
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>pyqtconfig</TT
|
|
> module contains the following classes:</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>Configuration(sipconfig.Configuration)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This class encapsulates additional configuration values, specific to PyTQt, that
|
|
can be accessed as instance variables.</P
|
|
><P
|
|
>The following configuration values are provided (in addition to those provided
|
|
by the <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Configuration</TT
|
|
> class):</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_bin_dir</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The name of the directory containing the <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>pylupdate</TT
|
|
> executables.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_mod_dir</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The name of the directory containing the PyTQt modules.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_modules</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string containing the names of the PyTQt modules that were installed.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qt_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qt</TT
|
|
> module and which should be added to those needed by any
|
|
module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qt</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qtaxcontainer_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qtaxcontainer</TT
|
|
> module and which should be added to those
|
|
needed by any module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qtaxcontainer</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qtcanvas_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qtcanvas</TT
|
|
> module and which should be added to those needed by
|
|
any module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qtcanvas</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qtext_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qtext</TT
|
|
> module and which should be added to those needed by
|
|
any module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qtext</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qtgl_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qtgl</TT
|
|
> module and which should be added to those needed by any
|
|
module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qtgl</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qtnetwork_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qtnetwork</TT
|
|
> module and which should be added to those needed
|
|
by any module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qtnetwork</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qtsql_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qtsql</TT
|
|
> module and which should be added to those needed by
|
|
any module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qtsql</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qttable_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qttable</TT
|
|
> module and which should be added to those needed by
|
|
any module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qttable</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qtui_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qtui</TT
|
|
> module and which should be added to those needed by any
|
|
module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qtui</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_qtxml_sip_flags</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>A string of the SIP flags used to generate the code for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>qtxml</TT
|
|
> module and which should be added to those needed by
|
|
any module that imports the <TT
|
|
CLASS="LITERAL"
|
|
>qtxml</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_sip_dir</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The name of the base directory where the <TT
|
|
CLASS="LITERAL"
|
|
>.sip</TT
|
|
> files for each
|
|
of the PyTQt modules is installed. A sub-directory exists with the same name as
|
|
the module.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_version</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The PyTQt version as a 3 part hexadecimal number (eg. v3.10 is represented as
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>0x030a00</TT
|
|
>).</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>pyqt_version_str</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The PyTQt version as a string. For development snapshots it will start with
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>snapshot-</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtModuleMakefile(sipconfig.SIPModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qt</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtAxContainerModuleMakefile(TQtModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qtaxcontainer</TT
|
|
>
|
|
module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtCanvasModuleMakefile(TQtModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qtcanvas</TT
|
|
>
|
|
module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtExtModuleMakefile(TQtModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qtext</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtGLModuleMakefile(TQtModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qtgl</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtNetworkModuleMakefile(TQtModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qtnetwork</TT
|
|
>
|
|
module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtTableModuleMakefile(TQtModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qttable</TT
|
|
>
|
|
module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtSQLModuleMakefile(TQtTableModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qtsql</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtUIModuleMakefile(TQtModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qtui</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQtXMLModuleMakefile(TQtModuleMakefile)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>The Makefile class for modules that import the <TT
|
|
CLASS="LITERAL"
|
|
>qtxml</TT
|
|
> module.</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>finalise(self)</TT
|
|
></DT
|
|
><DD
|
|
><P
|
|
>This is a reimplementation of <TT
|
|
CLASS="LITERAL"
|
|
>sipconfig.Makefile.finalise()</TT
|
|
>.</P
|
|
><P
|
|
></P
|
|
><P
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN457"
|
|
>Things to be Aware Of</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN459"
|
|
>super and Wrapped Classes</A
|
|
></H3
|
|
><P
|
|
>Internally PyTQt implements a lazy technique for attribute lookup where
|
|
attributes are only placed in type and instance dictionaries when they are
|
|
first referenced. This technique is needed to reduce the time taken to import
|
|
large modules such as PyTQt.</P
|
|
><P
|
|
>In most circumstances this technique is transparent to an application. The
|
|
exception is when <TT
|
|
CLASS="LITERAL"
|
|
>super</TT
|
|
> is used with a PyTQt class. The way
|
|
that <TT
|
|
CLASS="LITERAL"
|
|
>super</TT
|
|
> is currently implemented means that the lazy
|
|
lookup is bypassed resulting in <TT
|
|
CLASS="LITERAL"
|
|
>AttributeError</TT
|
|
> exceptions
|
|
unless the attribute has been previously referenced.</P
|
|
><P
|
|
>Note that this restriction applies to any class wrapped by SIP and not just
|
|
PyTQt.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN467"
|
|
>Python Strings, TQt Strings and Unicode</A
|
|
></H3
|
|
><P
|
|
>Unicode support was added to TQt in v2.0 and to Python in v1.6. In TQt, Unicode
|
|
support is implemented using the <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> class. It is
|
|
important to understand that <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
>s, Python string objects
|
|
and Python Unicode objects are all different but conversions between them are
|
|
automatic in many cases and easy to achieve manually when needed.</P
|
|
><P
|
|
>Whenever PyTQt expects a <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> as a function argument, a
|
|
Python string object or a Python Unicode object can be provided instead, and
|
|
PyTQt will do the necessary conversion automatically.</P
|
|
><P
|
|
>You may also manually convert Python string and Unicode objects to
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
>s by using the <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> constructor
|
|
as demonstrated in the following code fragment.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>qs1 = TQString('Converted Python string object')
|
|
qs2 = TQString(u'Converted Python Unicode object')</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>In order to convert a <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> to a Python string object use
|
|
the Python <TT
|
|
CLASS="LITERAL"
|
|
>str()</TT
|
|
> function. Applying
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>str()</TT
|
|
> to a null <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> and an empty
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> both result in an empty Python string object.</P
|
|
><P
|
|
>In order to convert a <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> to a Python Unicode object use
|
|
the Python <TT
|
|
CLASS="LITERAL"
|
|
>unicode()</TT
|
|
> function. Applying
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>unicode()</TT
|
|
> to a null <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> and an empty
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> both result in an empty Python Unicode object.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN490"
|
|
>Access to Protected Member Functions</A
|
|
></H3
|
|
><P
|
|
>When an instance of a C++ class is not created from Python it is not possible
|
|
to access the protected member functions, or emit the signals, of that
|
|
instance. Attempts to do so will raise a Python exception. Also, any Python
|
|
methods corresponding to the instance's virtual member functions will never be
|
|
called.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN493"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>None</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>NULL</TT
|
|
></A
|
|
></H3
|
|
><P
|
|
>Throughout the bindings, the <TT
|
|
CLASS="LITERAL"
|
|
>None</TT
|
|
> value can be specified
|
|
wherever <TT
|
|
CLASS="LITERAL"
|
|
>NULL</TT
|
|
> is acceptable to the underlying C++ code.</P
|
|
><P
|
|
>Equally, <TT
|
|
CLASS="LITERAL"
|
|
>NULL</TT
|
|
> is converted to <TT
|
|
CLASS="LITERAL"
|
|
>None</TT
|
|
>
|
|
whenever it is returned by the underlying C++ code.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN503"
|
|
>Support for C++ <TT
|
|
CLASS="LITERAL"
|
|
>void *</TT
|
|
> Data Types</A
|
|
></H3
|
|
><P
|
|
>PyTQt represents <TT
|
|
CLASS="LITERAL"
|
|
>void *</TT
|
|
> values as objects of type
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sip.voidptr</TT
|
|
>. Such values are often used to pass the
|
|
addresses of external objects between different Python modules. To make this
|
|
easier, a Python integer (or anything that Python can convert to an integer)
|
|
can be used whenever a <TT
|
|
CLASS="LITERAL"
|
|
>sip.voidptr</TT
|
|
> is expected.</P
|
|
><P
|
|
>A <TT
|
|
CLASS="LITERAL"
|
|
>sip.voidptr</TT
|
|
> may be converted to a Python integer by using
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>int()</TT
|
|
> builtin function.</P
|
|
><P
|
|
>A <TT
|
|
CLASS="LITERAL"
|
|
>sip.voidptr</TT
|
|
> may be converted to a Python string by using
|
|
its <TT
|
|
CLASS="LITERAL"
|
|
>asstring()</TT
|
|
> method. The <TT
|
|
CLASS="LITERAL"
|
|
>asstring()</TT
|
|
>
|
|
method takes an integer argument which is the length of the data in bytes.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN517"
|
|
>Support for Threads</A
|
|
></H3
|
|
><P
|
|
>PyTQt implements the full set of TQt's thread classes. Python, of course, also
|
|
has its own thread extension modules. If you are using SIP v4 (or later) and
|
|
Python v2.3.5 (or later) then PyTQt does not impose any additional restrictions.
|
|
(Read the relevant part of the TQt documentation to understand the restrictions
|
|
imposed by the TQt API.)</P
|
|
><P
|
|
>If you are using earlier versions of either SIP or Python then it is possible
|
|
to use either of the APIs so long as you follow some simple rules.</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
>If you use the TQt API then the very first <TT
|
|
CLASS="LITERAL"
|
|
>import</TT
|
|
> of one of
|
|
the PyTQt modules must be done from the main thread.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>If you use the Python API then all calls to PyTQt (including any
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>import</TT
|
|
>s) must be done from one thread only. Therefore, if
|
|
you want to make calls to PyTQt from several threads then you must use the TQt
|
|
API.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>If you want to use both APIs in the same application then all calls to PyTQt
|
|
must be done from threads created using the TQt API.</P
|
|
></LI
|
|
></UL
|
|
><P
|
|
>The above comments actually apply to any SIP generated module, not just PyTQt.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN531"
|
|
>Garbage Collection</A
|
|
></H3
|
|
><P
|
|
>C++ does not garbage collect unreferenced class instances, whereas Python does.
|
|
In the following C++ fragment both colours exist even though the first can no
|
|
longer be referenced from within the program:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>c = new TQColor();
|
|
c = new TQColor();</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>In the corresponding Python fragment, the first colour is destroyed when
|
|
the second is assigned to <TT
|
|
CLASS="LITERAL"
|
|
>c</TT
|
|
>:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>c = TQColor()
|
|
c = TQColor()</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>In Python, each colour must be assigned to different names. Typically this
|
|
is done within class definitions, so the code fragment would be something like:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>self.c1 = TQColor()
|
|
self.c2 = TQColor()</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Sometimes a TQt class instance will maintain a pointer to another instance and
|
|
will eventually call the destructor of that second instance. The most common
|
|
example is that a <TT
|
|
CLASS="LITERAL"
|
|
>TQObject</TT
|
|
> (and any of its sub-classes) keeps
|
|
pointers to its children and will automatically call their destructors. In
|
|
these cases, the corresponding Python object will also keep a reference to the
|
|
corresponding child objects.</P
|
|
><P
|
|
>So, in the following Python fragment, the first <TT
|
|
CLASS="LITERAL"
|
|
>TQLabel</TT
|
|
> is
|
|
not destroyed when the second is assigned to <TT
|
|
CLASS="LITERAL"
|
|
>l</TT
|
|
> because the
|
|
parent <TT
|
|
CLASS="LITERAL"
|
|
>TQWidget</TT
|
|
> still has a reference to it.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>p = TQWidget()
|
|
l = TQLabel('First label',p)
|
|
l = TQLabel('Second label',p)</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN547"
|
|
>C++ Variables</A
|
|
></H3
|
|
><P
|
|
>Access to C++ variables is supported. They are accessed as Python instance
|
|
variables. For example:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>tab = TQTab()
|
|
tab.label = "First Tab"
|
|
tab.r = TQRect(10,10,75,30)</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Global variables and static class variables are effectively read-only. They
|
|
can be assigned to, but the underlying C++ variable will not be changed. This
|
|
may change in the future.</P
|
|
><P
|
|
>Access to protected C++ class variables is not supported. This may change in
|
|
the future.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN553"
|
|
>Multiple Inheritance</A
|
|
></H3
|
|
><P
|
|
>It is not possible to define a new Python class that sub-classes from more than
|
|
one TQt class.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN556"
|
|
>i18n Support</A
|
|
></H3
|
|
><P
|
|
>TQt implements i18n support through the TQt Linguist application, the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQTranslator</TT
|
|
> class, and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQApplication::translate()</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>TQObject::tr()</TT
|
|
>
|
|
and <TT
|
|
CLASS="LITERAL"
|
|
>TQObject::trUtf8()</TT
|
|
> methods. Usually the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>tr()</TT
|
|
> method is used to obtain the correct translation of a
|
|
message. The translation process uses a message context to allow the same
|
|
message to be translated differently. <TT
|
|
CLASS="LITERAL"
|
|
>tr()</TT
|
|
> is actually
|
|
generated by <TT
|
|
CLASS="LITERAL"
|
|
>moc</TT
|
|
> and uses the hardcoded class name as the
|
|
context. On the other hand, <TT
|
|
CLASS="LITERAL"
|
|
>TQApplication::translate()</TT
|
|
>
|
|
allows to context to be explicitly stated.</P
|
|
><P
|
|
>Unfortunately, because of the way TQt implents <TT
|
|
CLASS="LITERAL"
|
|
>tr()</TT
|
|
> (and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>trUtf8()</TT
|
|
>) it is not possible for PyTQt to exactly reproduce
|
|
its behavour. The PyTQt implementation of <TT
|
|
CLASS="LITERAL"
|
|
>tr()</TT
|
|
> (and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>trUtf8()</TT
|
|
>) uses the class name of the instance as the
|
|
context. The key difference, and the source of potential problems, is that the
|
|
context is determined dynamically in PyTQt, but is hardcoded in TQt. In other
|
|
words, the context of a translation may change depending on an instance's class
|
|
hierarchy.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>class A(TQObject):
|
|
def __init__(self):
|
|
TQObject.__init__(self)
|
|
|
|
def hello(self):
|
|
return self.tr("Hello")
|
|
|
|
class B(A):
|
|
def __init__(self):
|
|
A.__init__(self)
|
|
|
|
a = A()
|
|
a.hello()
|
|
|
|
b = B()
|
|
b.hello()</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>In the above the message is translated by <TT
|
|
CLASS="LITERAL"
|
|
>a.hello()</TT
|
|
> using a
|
|
context of <TT
|
|
CLASS="LITERAL"
|
|
>A</TT
|
|
>, and by <TT
|
|
CLASS="LITERAL"
|
|
>b.hello()</TT
|
|
> using a
|
|
context of <TT
|
|
CLASS="LITERAL"
|
|
>B</TT
|
|
>. In the equivalent C++ version the context
|
|
would be <TT
|
|
CLASS="LITERAL"
|
|
>A</TT
|
|
> in both cases.</P
|
|
><P
|
|
>The PyTQt behaviour is unsatisfactory and may be changed in the future. It is
|
|
recommended that <TT
|
|
CLASS="LITERAL"
|
|
>TQApplication.translate()</TT
|
|
> be used in
|
|
preference to <TT
|
|
CLASS="LITERAL"
|
|
>tr()</TT
|
|
> (and <TT
|
|
CLASS="LITERAL"
|
|
>trUtf8()</TT
|
|
>). This
|
|
is guaranteed to work with current and future versions of PyTQt and makes it
|
|
much easier to share message files between Python and C++ code. Below is the
|
|
alternative implementation of <TT
|
|
CLASS="LITERAL"
|
|
>A</TT
|
|
> that uses
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQApplication.translate()</TT
|
|
>.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>class A(TQObject):
|
|
def __init__(self):
|
|
TQObject.__init__(self)
|
|
|
|
def hello(self):
|
|
return tqApp.translate("A","Hello")</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Note that the code generated by <TT
|
|
CLASS="LITERAL"
|
|
>pyuic</TT
|
|
> uses
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQApplication.translate()</TT
|
|
>.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN589"
|
|
>Signal and Slot Support</A
|
|
></H2
|
|
><P
|
|
>A signal may be either a TQt signal (specified using
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>SIGNAL()</TT
|
|
>) or a Python signal (specified using
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>PYSIGNAL()</TT
|
|
>).</P
|
|
><P
|
|
>A slot can be either a Python callable object, a TQt signal (specified using
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>SIGNAL()</TT
|
|
>), a Python signal (specified using
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>PYSIGNAL()</TT
|
|
>), or a TQt slot (specified using
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>SLOT()</TT
|
|
>).</P
|
|
><P
|
|
>You connect signals to slots (and other signals) as you would from C++. For
|
|
example:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>TQObject.connect(a,SIGNAL("TQtSig()"),pyFunction)
|
|
TQObject.connect(a,SIGNAL("TQtSig()"),pyClass.pyMethod)
|
|
TQObject.connect(a,SIGNAL("TQtSig()"),PYSIGNAL("PySig"))
|
|
TQObject.connect(a,SIGNAL("TQtSig()"),SLOT("TQtSlot()"))
|
|
TQObject.connect(a,PYSIGNAL("PySig"),pyFunction)
|
|
TQObject.connect(a,PYSIGNAL("PySig"),pyClass.pyMethod)
|
|
TQObject.connect(a,PYSIGNAL("PySig"),SIGNAL("TQtSig()"))
|
|
TQObject.connect(a,PYSIGNAL("PySig"),SLOT("TQtSlot()"))</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>When a slot is a Python method that corresponds to a TQt slot then a signal can
|
|
be connected to either the Python method or the TQt slot. The following
|
|
connections achieve the same effect.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>sbar = TQScrollBar()
|
|
lcd = TQLCDNumber()
|
|
|
|
TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd.display)
|
|
TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)"))</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>The difference is that the second connection is made at the C++ level and is
|
|
more efficient.</P
|
|
><P
|
|
>Disconnecting signals works in exactly the same way.</P
|
|
><P
|
|
>Any instance of a class that is derived from the <TT
|
|
CLASS="LITERAL"
|
|
>TQObject</TT
|
|
>
|
|
class can emit a signal using the <TT
|
|
CLASS="LITERAL"
|
|
>emit</TT
|
|
> method. This takes
|
|
two arguments. The first is the Python or TQt signal, the second is a Python
|
|
tuple which are the arguments to the signal. For example:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>a.emit(SIGNAL("clicked()"),())
|
|
a.emit(PYSIGNAL("pySig"),("Hello","World"))</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Note that when a slot is a Python callable object its reference count is not
|
|
increased. This means that a class instance can be deleted without having to
|
|
explicitly disconnect any signals connected to its methods. However, it also
|
|
means that using lambda expressions as slots will not work unless you keep a
|
|
separate reference to the expression to prevent it from being immediately
|
|
garbage collected.</P
|
|
><P
|
|
>TQt allows a signal to be connected to a slot that requires fewer arguments than
|
|
the signal passes. The extra arguments are quietly discarded. Python slots
|
|
can be used in the same way. </P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN610"
|
|
>Static Member Functions</A
|
|
></H2
|
|
><P
|
|
>Static member functions are implemented as Python class functions.
|
|
For example the C++ static member function
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQObject::connect()</TT
|
|
> is called from Python as
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQObject.connect()</TT
|
|
> or <TT
|
|
CLASS="LITERAL"
|
|
>self.connect()</TT
|
|
> if
|
|
called from a sub-class of <TT
|
|
CLASS="LITERAL"
|
|
>TQObject</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN617"
|
|
>Enumerated Types</A
|
|
></H2
|
|
><P
|
|
>Enumerated types are implemented as a set of simple variables corresponding to
|
|
the separate enumerated values.</P
|
|
><P
|
|
>When using an enumerated value the name of the class (or a sub-class) in which
|
|
the enumerated type was defined in must be included. For example:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>TQt.SolidPattern
|
|
TQWidget.TabFocus
|
|
TQFrame.TabFocus</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN622"
|
|
>Module Reference Documentation</A
|
|
></H2
|
|
><P
|
|
>The following sections should be used in conjunction with the normal class
|
|
documentation - only the differences specific to the Python bindings are
|
|
documented here.</P
|
|
><P
|
|
>In these sections, <SPAN
|
|
CLASS="emphasis"
|
|
><I
|
|
CLASS="EMPHASIS"
|
|
>Not yet implemented</I
|
|
></SPAN
|
|
>
|
|
implies that the feature can be easily implemented if needed. <SPAN
|
|
CLASS="emphasis"
|
|
><I
|
|
CLASS="EMPHASIS"
|
|
>Not
|
|
implemented</I
|
|
></SPAN
|
|
> implies that the feature will not be implemented, either
|
|
because it cannot be or because it is not appropriate.</P
|
|
><P
|
|
>If a class is described as being <SPAN
|
|
CLASS="emphasis"
|
|
><I
|
|
CLASS="EMPHASIS"
|
|
>fully implemented</I
|
|
></SPAN
|
|
> then
|
|
all non-private member functions and all public class variables have been
|
|
implemented.</P
|
|
><P
|
|
>If an operator has been implemented then it is stated explicitly.</P
|
|
><P
|
|
>Classes that are not mentioned have not yet been implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN632"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qt</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN635"
|
|
>TQt Constants</A
|
|
></H3
|
|
><P
|
|
>All constant values defined by TQt have equivalent constants defined to Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN638"
|
|
>TQt (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQt</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN642"
|
|
>TQAccel</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQAccel</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN646"
|
|
>TQAction (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQAction</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN650"
|
|
>TQActionGroup (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQActionGroup</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN654"
|
|
>TQApplication</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN656"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQApplication</CODE
|
|
>(int &argc, char **argv);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes one parameter which is a list of argument strings. Arguments
|
|
used by TQt are removed from the list.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN664"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQApplication</CODE
|
|
>(int &argc, char **argv, bool GUIenabled);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes two parameters, the first of which is a list of argument strings.
|
|
Arguments used by TQt are removed from the list.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN674"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQApplication</CODE
|
|
>(int &argc, char **argv, Type type);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes two parameters, the first of which is a list of argument strings.
|
|
Arguments used by TQt are removed from the list. (TQt v2.2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN684"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int exec</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed to <TT
|
|
CLASS="LITERAL"
|
|
>exec_loop</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN690"
|
|
>TQAssistantClient (TQt v3.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQAssistantClient</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN694"
|
|
>TQBitmap</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQBitmap</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN698"
|
|
>TQBrush</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQBrush</TT
|
|
> is fully implemented, including the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> operators.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN704"
|
|
>TQButton</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQButton</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN708"
|
|
>TQButtonGroup</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQButtonGroup</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN712"
|
|
>TQByteArray</A
|
|
></H3
|
|
><P
|
|
>A Python string can be used whenever a <TT
|
|
CLASS="LITERAL"
|
|
>TQByteArray</TT
|
|
> can be
|
|
used. A <TT
|
|
CLASS="LITERAL"
|
|
>TQByteArray</TT
|
|
> can be converted to a Python string
|
|
using the Python <TT
|
|
CLASS="LITERAL"
|
|
>str()</TT
|
|
> function.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN718"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQByteArray &assign</CODE
|
|
>(const char *data, uint size);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN726"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>char &at</CODE
|
|
>(uint i);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN732"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int contains</CODE
|
|
>(const char &d);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN738"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool fill</CODE
|
|
>(const char &d, int size = -1);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN746"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int find</CODE
|
|
>(const char &d, uint i = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN754"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void resetRawData</CODE
|
|
>(const char *data, uintsize);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN762"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQByteArray &setRawData</CODE
|
|
>(const char *data, uintsize);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN770"
|
|
>TQCDEStyle (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCDEStyle</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN774"
|
|
>TQCheckBox</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCheckBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN778"
|
|
>TQClipboard</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN780"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void *data const</CODE
|
|
>(const char *format);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented (TQt v1.x).</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN786"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void setData</CODE
|
|
>(const char *format, void *);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented (TQt v1.x).</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN794"
|
|
>TQColor</A
|
|
></H3
|
|
><P
|
|
>The Python <TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> operators are
|
|
supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN799"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getHsv</CODE
|
|
>(int *h, int *s, int *v);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns the <TT
|
|
CLASS="LITERAL"
|
|
>h</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>s</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>v</TT
|
|
> values as a tuple.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN812"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getRgb</CODE
|
|
>(int *r, int *g, int *b);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns the <TT
|
|
CLASS="LITERAL"
|
|
>r</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>g</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>b</TT
|
|
> values as a tuple.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN825"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void hsv</CODE
|
|
>(int *h, int *s, int *v);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns the <TT
|
|
CLASS="LITERAL"
|
|
>h</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>s</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>v</TT
|
|
> values as a tuple.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN838"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void rgb</CODE
|
|
>(int *r, int *g, int *b);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns the <TT
|
|
CLASS="LITERAL"
|
|
>r</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>g</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>b</TT
|
|
> values as a tuple.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN851"
|
|
>TQColorDialog (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN853"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static TQRgb getRgba</CODE
|
|
>(TQRgb initial, bool *ok, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>initial</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>parent</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>name</TT
|
|
> parameters and returns a tuple containing the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQRgb</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN870"
|
|
>TQColorGroup</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQColorGroup</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN874"
|
|
>TQComboBox</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQComboBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN878"
|
|
>TQCommonStyle (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN880"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual void getButtonShift</CODE
|
|
>(int &x, int &y);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> values. (TQt v2)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN890"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual void tabbarMetrics</CODE
|
|
>(const TQTabBar *t, int &hframe, int &vframe, int &overlap);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>t</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>hframe</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>vframe</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>overlap</TT
|
|
> values. (TQt v2)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN906"
|
|
>TQCString (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
>A Python string can be used whenever a <TT
|
|
CLASS="LITERAL"
|
|
>TQCString</TT
|
|
> can be used.
|
|
A <TT
|
|
CLASS="LITERAL"
|
|
>TQCString</TT
|
|
> can be converted to a Python string using the
|
|
Python <TT
|
|
CLASS="LITERAL"
|
|
>str()</TT
|
|
> function.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN912"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCString &sprintf</CODE
|
|
>(const char *format, ...);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN919"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>short toShort</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>short</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN927"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>ushort toUShort</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>ushort</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN935"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int toInt</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>int</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN943"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uint toUInt</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>uint</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN951"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>long toLong</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>long</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN959"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>ulong toULong</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>ulong</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN967"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>float toFloat</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>float</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN975"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>double toDouble</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>double</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN983"
|
|
>TQCursor</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCursor</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN987"
|
|
>TQDataStream</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN989"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQDataStream &readBytes</CODE
|
|
>(const char *&s, uint &l);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters. The <TT
|
|
CLASS="LITERAL"
|
|
>TQDataStream</TT
|
|
> result and the
|
|
data read are returned as a tuple.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN998"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQDataStream &readRawBytes</CODE
|
|
>(const char *s, uint l);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>l</TT
|
|
> parameter. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQDataStream</TT
|
|
> result and the data read are returned as a
|
|
tuple.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1008"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQDataStream &writeBytes</CODE
|
|
>(const char *s, uint len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>s</TT
|
|
> and not passed as a
|
|
parameter.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1018"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQDataStream &writeRawBytes</CODE
|
|
>(const char *s, uint len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>s</TT
|
|
> and not passed as a
|
|
parameter.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1028"
|
|
>TQDate</A
|
|
></H3
|
|
><P
|
|
>The Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
><</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
><=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>></TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>>=</TT
|
|
>
|
|
and <TT
|
|
CLASS="LITERAL"
|
|
>__nonzero__</TT
|
|
>
|
|
operators are supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1038"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int weekNumber</CODE
|
|
>(int *yearNum = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns the week number and the year number as a
|
|
tuple. (TQt v3.1+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1044"
|
|
>TQDateTime</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDateTime</TT
|
|
> is fully implemented, including the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
><</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
><=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>></TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>>=</TT
|
|
>
|
|
and <TT
|
|
CLASS="LITERAL"
|
|
>__nonzero__</TT
|
|
>
|
|
operators.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1055"
|
|
>TQTime</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTime</TT
|
|
> is fully implemented, including the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
><</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
><=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>></TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>>=</TT
|
|
>
|
|
and <TT
|
|
CLASS="LITERAL"
|
|
>__nonzero__</TT
|
|
>
|
|
operators.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1066"
|
|
>TQDateEdit (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDateEdit</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1070"
|
|
>TQTimeEdit (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTimeEdit</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1074"
|
|
>TQDateTimeEdit (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDateTimeEdit</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1078"
|
|
>TQDesktopWidget (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDesktopWidget</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1082"
|
|
>TQDial (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDial</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1086"
|
|
>TQDialog</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1088"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int exec</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed to <TT
|
|
CLASS="LITERAL"
|
|
>exec_loop</TT
|
|
> in Python.</P
|
|
><P
|
|
>This method also causes ownership of the underlying C++ dialog to be
|
|
transfered to Python. This means that the C++ dialog will be deleted when the
|
|
Python wrapper is garbage collected. Although this is a little inconsistent,
|
|
it ensures that the dialog is deleted without having to explicity code it
|
|
using <TT
|
|
CLASS="LITERAL"
|
|
>TQObject.deleteLater()</TT
|
|
> or other techniques.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1096"
|
|
>TQDir</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDir</TT
|
|
> is fully implemented, including the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>[]</TT
|
|
> (for reading slices and
|
|
individual elements), <TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>in</TT
|
|
> operators</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1105"
|
|
>TQFileInfoList</A
|
|
></H3
|
|
><P
|
|
>This class isn't implemented. Whenever a <TT
|
|
CLASS="LITERAL"
|
|
>TQFileInfoList</TT
|
|
> is
|
|
the return type of a function or the type of an argument, a Python list of
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQFileInfo</TT
|
|
> instances is used instead.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1110"
|
|
>TQDockArea (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1112"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool hasDockWindow const</CODE
|
|
>(TQDockWindow *w, int *index = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>w</TT
|
|
> parameter and returns the index of the
|
|
TQDockWIndow or -1 if the TQDockArea does not contain the TQDockWindow.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1121"
|
|
>TQDockWindow (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDockWindow</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1125"
|
|
>TQColorDrag (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQColorDrag</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1129"
|
|
>TQDragObject</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDragObject</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1133"
|
|
>TQImageDrag</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQImageDrag</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1137"
|
|
>TQStoredDrag</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQStoredDrag</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1141"
|
|
>TQTextDrag</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTextDrag</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1145"
|
|
>TQUriDrag (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQUriDrag</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1149"
|
|
>TQUrlDrag (TQt v1.x)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQUrlDrag</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1153"
|
|
>TQDropSite</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDropSite</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1157"
|
|
>TQErrorMessage (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQErrorMessage</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1161"
|
|
>TQEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQEvent</TT
|
|
> is fully implemented.</P
|
|
><P
|
|
>Instances of <TT
|
|
CLASS="LITERAL"
|
|
>TQEvent</TT
|
|
>s are automatically converted to the
|
|
correct sub-class.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1167"
|
|
>TQChildEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQChildEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1171"
|
|
>TQCloseEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCloseEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1175"
|
|
>TQIconDragEvent (TQt v3.3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIconDragEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1179"
|
|
>TQContextMenuEvent (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQContextMenuEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1183"
|
|
>TQCustomEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCustomEvent</TT
|
|
> is fully implemented. Any Python object can be
|
|
passed as the event data and its reference count is increased.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1187"
|
|
>TQDragEnterEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDragEnterEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1191"
|
|
>TQDragLeaveEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDragLeaveEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1195"
|
|
>TQDragMoveEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDragMoveEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1199"
|
|
>TQDropEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDropEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1203"
|
|
>TQFocusEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFocusEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1207"
|
|
>TQHideEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHideEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1211"
|
|
>TQIMComposeEvent (TQt v3.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIMComposeEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1215"
|
|
>TQIMEvent (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIMEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1219"
|
|
>TQKeyEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQKeyEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1223"
|
|
>TQMouseEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMouseEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1227"
|
|
>TQMoveEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMoveEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1231"
|
|
>TQPaintEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPaintEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1235"
|
|
>TQResizeEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQResizeEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1239"
|
|
>TQShowEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQShowEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1243"
|
|
>TQTabletEvent (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTabletEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1247"
|
|
>TQTimerEvent</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTimerEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1251"
|
|
>TQWheelEvent (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWheelEvent</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1255"
|
|
>TQEventLoop (TQt v3.1+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1257"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual int exec</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed to <TT
|
|
CLASS="LITERAL"
|
|
>exec_loop</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1263"
|
|
>TQFile</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1265"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool open</CODE
|
|
>(int m, FILE *f);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1273"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG readBlock</CODE
|
|
>(char *data, TQ_ULONG len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single <TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> parameter. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> is returned if there was no error, otherwise
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>None</TT
|
|
> is returned.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1284"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG readLine</CODE
|
|
>(char *data, TQ_ULONG maxlen);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single <TT
|
|
CLASS="LITERAL"
|
|
>maxlen</TT
|
|
> parameter. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> is returned if there was no error, otherwise
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>None</TT
|
|
> is returned.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1295"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static void setDecodingFunction</CODE
|
|
>(EncoderFn f);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1301"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static void setEncodingFunction</CODE
|
|
>(EncoderFn f);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1307"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG writeBlock</CODE
|
|
>(const char *data, TQ_ULONG len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> and not passed
|
|
as a parameter.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1317"
|
|
>TQFileDialog</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFileDialog</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1321"
|
|
>TQFileIconProvider</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFileIconProvider</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1325"
|
|
>TQFilePreview</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFilePreview</TT
|
|
> is fully implemented. However it cannot be
|
|
used from Python in the same way as it is used from C++ because PyTQt does not
|
|
support multiple inheritance involving more than one wrapped class. A trick
|
|
that seems to work is to use composition rather than inheritance as in the
|
|
following code fragment.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
>class FilePreview(TQFilePreview):
|
|
pass
|
|
|
|
class Preview(TQLabel):
|
|
def __init__(self, parent=None):
|
|
TQLabel.__init__(self, parent)
|
|
self.preview = FilePreview()
|
|
self.preview.previewUrl = self.previewUrl</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Note that TQFilePreview cannot be instantiated directly because it is abstract.
|
|
Thanks to Hans-Peter Jansen for this trick.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1331"
|
|
>TQFileInfo</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFileInfo</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1335"
|
|
>TQFont</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFont</TT
|
|
> is fully implemented, including the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> operators.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1341"
|
|
>TQFontDatabase (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFontDatabase</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1345"
|
|
>TQFontDialog (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1347"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static TQFont getFont</CODE
|
|
>(bool *ok, const TQFont &def, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>def</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>parent</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>name</TT
|
|
> parameters and returns a tuple containing the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQFont</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1364"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static TQFont getFont</CODE
|
|
>(bool *ok, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>parent</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>name</TT
|
|
> parameters
|
|
and returns a tuple containing the <TT
|
|
CLASS="LITERAL"
|
|
>TQFont</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1378"
|
|
>TQFontInfo</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFontInfo</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1382"
|
|
>TQFontMetrics</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1384"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQRect boundingRect</CODE
|
|
>(int x, int y, int w, int h, int flags, const TQString &str, int len = -1, int tabstops = 0, int *tabarray = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>tabarray</TT
|
|
> parameter is a Python list of integers.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1407"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQSize size</CODE
|
|
>(int flags, const TQString &str, int len = -1, int tabstops = 0, int *tabarray = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>tabarray</TT
|
|
> parameter is a Python list of integers.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1422"
|
|
>TQFrame</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQFrame</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1426"
|
|
>TQGManager (TQt v1.x)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGManager</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1430"
|
|
>TQChain (TQt v1.x)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQChain</TT
|
|
> is implemented as an opaque class.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1434"
|
|
>TQGrid (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGrid</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1438"
|
|
>TQGridView (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGridView</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1442"
|
|
>TQGroupBox</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGroupBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1446"
|
|
>TQHBox (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1450"
|
|
>TQHButtonGroup (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHButtonGroup</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1454"
|
|
>TQHeader</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHeader</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1458"
|
|
>TQHGroupBox (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHGroupBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1462"
|
|
>TQIconSet</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIconSet</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1466"
|
|
>TQIconFactory (TQt v3.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIconFactory</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1470"
|
|
>TQIconView (TQt v2.1+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1472"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQIconViewItem *makeRowLayout</CODE
|
|
>(TQIconViewItem *begin, int &y);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1480"
|
|
>TQIconViewItem (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIconViewItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1484"
|
|
>TQIconDrag (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIconDrag</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1488"
|
|
>TQIconDragItem (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIconDragItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1492"
|
|
>TQImage</A
|
|
></H3
|
|
><P
|
|
>The Python <TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> operators are
|
|
supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1497"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQImage</CODE
|
|
>(const char *xpm[]);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a list of strings as its parameter.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1503"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQImage</CODE
|
|
>(uchar *data, int w, int h, int depth, TQRgb *colorTable, int numColors, Endian bitOrder);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>colorTable</TT
|
|
> parameter is a list of TQRgb instances or
|
|
None. (TQt v2.1+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1522"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uchar *bits</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The return value is a <TT
|
|
CLASS="LITERAL"
|
|
>sip.voidptr</TT
|
|
> object which is only
|
|
useful if passed to another Python module.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1528"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQRgb *colorTable</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The return value is a <TT
|
|
CLASS="LITERAL"
|
|
>sip.voidptr</TT
|
|
> object which is only
|
|
useful if passed to another Python module.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1534"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQImage convertDepthWithPalette</CODE
|
|
>(int, TQRgb *p, int pc, int cf = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1545"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uchar **jumpTable</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The return value is a <TT
|
|
CLASS="LITERAL"
|
|
>sip.voidptr</TT
|
|
> object which is only
|
|
useful if passed to another Python module.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1551"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool loadFromData</CODE
|
|
>(const uchar *buf, uint len, const char *format = 0, ColorMode mode = Auto);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>buf</TT
|
|
> and not passed as
|
|
a parameter.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1565"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uchar *scanLine</CODE
|
|
>(int i);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The return value is a <TT
|
|
CLASS="LITERAL"
|
|
>sip.voidptr</TT
|
|
> object which is only
|
|
useful if passed to another Python module.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1572"
|
|
>TQImageIO</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1574"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static void defineIOHandler</CODE
|
|
>(const char *format, const char *header, const char *flags, image_io_handler read_image, image_io_handler write_image);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1588"
|
|
>TQImageTextKeyLang</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQImageTextKeyLang</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1592"
|
|
>TQInputDialog (TQt v2.1+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1594"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static TQString getText</CODE
|
|
>(const TQString &caption, const TQString &label, const TQString &text = TQString::null, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.
|
|
(TQt v2.1 - v2.3.1)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1613"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static TQString getText</CODE
|
|
>(const TQString &caption, const TQString &label, TQLineEdit::EchoModeecho, const TQString &text = TQString::null, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.
|
|
(TQt v2.2 - v2.3.1)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1634"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static TQString getText</CODE
|
|
>(const TQString &caption, const TQString &label, TQLineEdit::EchoModeecho = TQLineEdit::Normal, const TQString &text = TQString::null, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.
|
|
(TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1655"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static int getInteger</CODE
|
|
>(const TQString &caption, const TQString &label, int num = 0, int from = -2147483647, int to = 2147483647, int step = 1, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>int</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1680"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static double getDouble</CODE
|
|
>(const TQString &caption, const TQString &label, double num = 0, double from = -2147483647, double to = 2147483647, int step = 1, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>double</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1705"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static TQString getItem</CODE
|
|
>(const TQString &caption, const TQString &label, const TQStringList &list, int current = 0, bool editable = TRUE, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1728"
|
|
>TQInterlaceStyle (TQt v2.3.1+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1730"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void scrollBarMetrics</CODE
|
|
>(const TQTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>sb</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderMin</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>sliderMax</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderLength</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>buttonDim</TT
|
|
> values.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1749"
|
|
>TQIODevice</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQIODevice</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1753"
|
|
>TQKeySequence (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQKeySequence</TT
|
|
> is fully implemented including the operators
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>TQString()</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>int()</TT
|
|
>. A <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> instance or a Python
|
|
integer may be used whenever a <TT
|
|
CLASS="LITERAL"
|
|
>TQKeySequence</TT
|
|
> can be used.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1763"
|
|
>TQLabel</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQLabel</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1767"
|
|
>TQLayout</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQLayout</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1771"
|
|
>TQBoxLayout</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQBoxLayout</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1775"
|
|
>TQGLayoutIterator (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGLayoutIterator</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1779"
|
|
>TQGridLayout</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1781"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool findWidget</CODE
|
|
>(TQWidget *w, int *row, int *col);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>w</TT
|
|
> parameter and returns a tuple containing
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result, <TT
|
|
CLASS="LITERAL"
|
|
>row</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>col</TT
|
|
>. (TQt v2+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1795"
|
|
>TQHBoxLayout</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHBoxLayout</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1799"
|
|
>TQLayoutItem (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQLayoutItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1803"
|
|
>TQLayoutIterator (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1805"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQLayoutItem *next</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This is a wrapper around the <TT
|
|
CLASS="LITERAL"
|
|
>TQLayoutIterator</TT
|
|
>
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>++</TT
|
|
> operator.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1812"
|
|
>TQSpacerItem (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSpacerItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1816"
|
|
>TQVBoxLayout</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQVBoxLayout</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1820"
|
|
>TQWidgetItem (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWidgetItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1824"
|
|
>TQLCDNumber</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQLCDNumber</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1828"
|
|
>TQLibrary (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQLibrary</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1832"
|
|
>TQLineEdit</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1834"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int characterAt</CODE
|
|
>(int xpos, TQChar *chr);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>xpos</TT
|
|
> parameter and returns the int
|
|
result and the <TT
|
|
CLASS="LITERAL"
|
|
>chr</TT
|
|
> value as a tuple. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1844"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void del</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>delChar</TT
|
|
> in Python. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1850"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool getSelection</CODE
|
|
>(int *start, int *end);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns the bool result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>start</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>end</TT
|
|
> values as a tuple.
|
|
(TQt v3+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1860"
|
|
>TQList<type> (TQt v2)</A
|
|
></H3
|
|
><P
|
|
>Types based on the <TT
|
|
CLASS="LITERAL"
|
|
>TQList</TT
|
|
> template are automatically
|
|
converted to and from Python lists of the type.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1864"
|
|
>TQListBox</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1866"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool itemYPos</CODE
|
|
>(int index, int *yPos);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
> parameter and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and <TT
|
|
CLASS="LITERAL"
|
|
>yPos</TT
|
|
>.
|
|
(TQt v1.x)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1877"
|
|
>TQListBoxItem</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQListBoxItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1881"
|
|
>TQListBoxPixmap</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQListBoxPixmap</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1885"
|
|
>TQListBoxText</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQListBoxText</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1889"
|
|
>TQListView</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQListView</TT
|
|
> is fully implemented.</P
|
|
><P
|
|
>Note that to remove a child <TT
|
|
CLASS="LITERAL"
|
|
>TQListViewItem</TT
|
|
> you must first
|
|
call <TT
|
|
CLASS="LITERAL"
|
|
>takeItem()</TT
|
|
> and then <TT
|
|
CLASS="LITERAL"
|
|
>del()</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1897"
|
|
>TQListViewItem</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQListViewItem</TT
|
|
> is fully implemented.</P
|
|
><P
|
|
>Note that to remove a child <TT
|
|
CLASS="LITERAL"
|
|
>TQListViewItem</TT
|
|
> you must first
|
|
call <TT
|
|
CLASS="LITERAL"
|
|
>takeItem()</TT
|
|
> and then <TT
|
|
CLASS="LITERAL"
|
|
>del()</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1905"
|
|
>TQCheckListItem</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCheckListItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1909"
|
|
>TQListViewItemIterator (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQListViewItemIterator</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1913"
|
|
>TQLocale (TQt v3.3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1915"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>short toShort</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>short</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1923"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>ushort toUShort</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>ushort</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1931"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int toInt</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>int</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1939"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uint toUInt</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>uint</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1947"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG toLong</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>long</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1955"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_ULONG toULong</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>ulong</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1963"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>float toFloat</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>float</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1971"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>double toDouble</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>double</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN1979"
|
|
>TQMainWindow</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1981"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQTextStream &operator<<</CODE
|
|
>(TQTextStream &, const TQMainWindow &);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This operator is fully implemented. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1989"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQTextStream &operator>></CODE
|
|
>(TQTextStream &, TQMainWindow &);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This operator is fully implemented. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN1997"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool getLocation</CODE
|
|
>(TQToolBar *tb, ToolBarDock &dock, int &index, bool &nl, int &extraOffset);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>tb</TT
|
|
> parameter and returns a tuple of the
|
|
result, <TT
|
|
CLASS="LITERAL"
|
|
>dock</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>nl</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>extraOffset</TT
|
|
> values. (TQt v2.1.0+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2016"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQList<TQToolBar> toolBars</CODE
|
|
>(ToolBarDock dock);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a list of <TT
|
|
CLASS="LITERAL"
|
|
>TQToolBar</TT
|
|
> instances. (TQt v2.1.0+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2023"
|
|
>TQMemArray<type> (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
>Types based on the <TT
|
|
CLASS="LITERAL"
|
|
>TQMemArray</TT
|
|
> template are automatically
|
|
converted to and from Python lists of the type.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2027"
|
|
>TQMenuBar</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMenuBar</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2031"
|
|
>TQMenuData</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2033"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQMenuItem *findItem</CODE
|
|
>(int id, TQMenuData **parent);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2041"
|
|
>TQCustomMenuItem (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCustomMenuItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2045"
|
|
>TQMenuItem</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMenuItem</TT
|
|
> is an internal TQt class.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2049"
|
|
>TQMessageBox</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMessageBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2053"
|
|
>TQMetaObject</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2055"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int numClassInfo const</CODE
|
|
>(bool super = FALSE);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2061"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>const TQClassInfo *classInfo const</CODE
|
|
>(bool super = FALSE);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2067"
|
|
>TQMetaProperty</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMetaProperty</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2071"
|
|
>TQMimeSource (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMimeSource</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2075"
|
|
>TQMimeSourceFactory (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMimeSourceFactory</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2079"
|
|
>TQWindowsMime (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWindowsMime</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2083"
|
|
>TQMotifPlusStyle (TQt v2.2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2085"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getButtonShift</CODE
|
|
>(int &x, int &y);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> values. (TQt v2)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2095"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void scrollBarMetrics</CODE
|
|
>(const TQScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>sb</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderMin</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>sliderMax</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderLength</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>buttonDim</TT
|
|
> values.
|
|
(TQt v2)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2114"
|
|
>TQMotifStyle (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2116"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void scrollBarMetrics</CODE
|
|
>(const TQTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>sb</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderMin</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>sliderMax</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderLength</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>buttonDim</TT
|
|
> values.
|
|
(TQt v2)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2135"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void tabbarMetrics</CODE
|
|
>(const TQTabBar *t, int &hframe, int &vframe, int &overlap);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>t</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>hframe</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>vframe</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>overlap</TT
|
|
> values. (TQt v2)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2151"
|
|
>TQMovie</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2153"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQMovie</CODE
|
|
>(TQDataSource *src, int bufsize = 1024);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2161"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void pushData</CODE
|
|
>(const uchar *data, int length);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>length</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> and not
|
|
passed as a parameter. (TQt v2.2.0+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2171"
|
|
>TQMultiLineEdit</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2173"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void cursorPosition const</CODE
|
|
>(int *line, int *col);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>line</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>col</TT
|
|
> values. (TQt v1.x, TQt v2.x)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2183"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual void del</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>delChar</TT
|
|
> in Python. (TQt v1.x, TQt v2.x)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2189"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getCursorPosition const</CODE
|
|
>(int *line, int *col);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>line</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>col</TT
|
|
> values. (TQt v1.x, TQt v2.x)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2199"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool getMarkedRegion</CODE
|
|
>(int *line1, int *col1, int *line2, int *col2);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the bool result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>line1</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>col1</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>line2</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>col2</TT
|
|
> values.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2215"
|
|
>TQMutex (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMutex</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2219"
|
|
>TQMutexLocker (TQt v3.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQMutexLocker</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2223"
|
|
>TQNetworkOperation (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQNetworkOperation</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2227"
|
|
>TQNetworkProtocol (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQNetworkProtocol</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2231"
|
|
>TQNetworkProtocolFactoryBase (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQNetworkProtocolFactoryBase</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2235"
|
|
>TQObject</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2237"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool disconnect</CODE
|
|
>(const TQObject *receiver, const char *member = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2245"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool disconnect</CODE
|
|
>(const char *signal = 0, const TQObject *receiver = 0, const char *member = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2255"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static bool disconnect</CODE
|
|
>(const TQObject *sender, const char *signal, const TQObject *receiver, const char *member);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>At the moment PyTQt does not support the full behaviour of the corresponding TQt
|
|
method. In particular, specifying None (ie. 0 in C++) for the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>signal</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>receiver</TT
|
|
> parameters is not yet
|
|
supported.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2269"
|
|
>TQObjectCleanupHandler (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQObjectCleanupHandler</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2273"
|
|
>TQObjectList</A
|
|
></H3
|
|
><P
|
|
>This class isn't implemented. Whenever a <TT
|
|
CLASS="LITERAL"
|
|
>TQObjectList</TT
|
|
> is the
|
|
return type of a function or the type of an argument, a Python list of
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQObject</TT
|
|
> instances is used instead.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2278"
|
|
>TQPaintDeviceMetrics</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPaintDeviceMetrics</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2282"
|
|
>TQPaintDevice</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2284"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual bool cmd</CODE
|
|
>(int, TQPainter *, TQPDevCmdParam *);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2291"
|
|
>TQPainter</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2293"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQRect boundingRect</CODE
|
|
>(int x, int y, int w, int h, int flags, const char *str, int len = -1, char **intern = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>intern</TT
|
|
> parameter is not supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2314"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQRect boundingRect</CODE
|
|
>(const TQRect&, int flags, const char *str, int len = -1, char **intern = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>intern</TT
|
|
> parameter is not supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2328"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void drawText</CODE
|
|
>(int x, int y, int w, int h, int flags, const char *str, int len = -1, TQRect *br = 0, char **intern = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>intern</TT
|
|
> parameter is not supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2351"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void drawText</CODE
|
|
>(const TQRect&, int flags, const char *str, int len = -1, TQRect *br = 0, char **intern = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>intern</TT
|
|
> parameter is not supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2367"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void setTabArray</CODE
|
|
>(int *ta);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single parameter which is a list of tab stops.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2373"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int *tabArray</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a list of tab stops.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2378"
|
|
>TQPalette</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPalette</TT
|
|
> is fully implemented, including the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> operators.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2384"
|
|
>TQPixmap</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2386"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQPixmap</CODE
|
|
>(const char *xpm[]);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a list of strings as its parameter.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2392"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool loadFromData</CODE
|
|
>(const uchar *buf, uint len, const char *format = 0, ColorMode mode = Auto);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>buf</TT
|
|
> and not passed as
|
|
a parameter.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2406"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool loadFromData</CODE
|
|
>(const uchar *buf, uint len, const char *format, int conversion_flags);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2418"
|
|
>TQPixmapCache (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPixmapCache</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2422"
|
|
>TQPair<type,type> (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
>Types based on the <TT
|
|
CLASS="LITERAL"
|
|
>TQPair</TT
|
|
> template are automatically
|
|
converted to and from Python tuples of two elements.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2426"
|
|
>TQPen</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPen</TT
|
|
> is fully implemented, including the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> operators.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2432"
|
|
>TQPicture</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2434"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>const char *data</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2439"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void setData</CODE
|
|
>(const char *data, uint size);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>size</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> and not passed
|
|
as a parameter.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2449"
|
|
>TQPlatinumStyle (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2451"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void scrollBarMetrics</CODE
|
|
>(const TQTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>sb</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderMin</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>sliderMax</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderLength</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>buttonDim</TT
|
|
> values.
|
|
(TQt v2)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2470"
|
|
>TQPoint</A
|
|
></H3
|
|
><P
|
|
>The Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>+</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>+=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>-</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>-=</TT
|
|
>, unary <TT
|
|
CLASS="LITERAL"
|
|
>-</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>*</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>*=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>/</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>/=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>__nonzero__</TT
|
|
>
|
|
operators are supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2485"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCOORD &rx</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2490"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCOORD &ry</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2495"
|
|
>TQPointArray</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2497"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQPointArray</CODE
|
|
>(int nPoints, const TQCOORD *points);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single parameter which is a list of points.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2505"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void point</CODE
|
|
>(uint i, int *x, int *y);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the single parameter <TT
|
|
CLASS="LITERAL"
|
|
>i</TT
|
|
> and returns the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> values as a tuple.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2518"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool putPoints</CODE
|
|
>(int index, int nPoints, const TQCOORD *points);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes two parameters, <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
> and a list of points.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2529"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool putPoints</CODE
|
|
>(int index, int nPoints, int firstx, int firsty, ...);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2542"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setPoints</CODE
|
|
>(int nPoints, const TQCOORD *points);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single parameter which is a list of points.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2550"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setPoints</CODE
|
|
>(int nPoints, int firstx, int firsty, ...);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2561"
|
|
>TQPopupMenu</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2563"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int exec</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>exec_loop</TT
|
|
> in Python.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2569"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int exec</CODE
|
|
>(const TQPoint &pos, int indexAtPoint = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>exec_loop</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2578"
|
|
>TQPrintDialog (X11)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPrintDialog</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2582"
|
|
>TQPrinter</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPrinter</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2586"
|
|
>TQProcess (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQProcess</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2590"
|
|
>TQProgressBar</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQProgressBar</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2594"
|
|
>TQProgressDialog</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQProgressDialog</TT
|
|
> is fully implemented.
|
|
value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2598"
|
|
>TQPtrList<type> (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
>Types based on the <TT
|
|
CLASS="LITERAL"
|
|
>TQPtrList</TT
|
|
> template are automatically
|
|
converted to and from Python lists of the type.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2602"
|
|
>TQPushButton</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPushButton</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2606"
|
|
>TQRadioButton</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQRadioButton</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2610"
|
|
>TQRangeControl</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQRangeControl</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2614"
|
|
>TQRect</A
|
|
></H3
|
|
><P
|
|
>The Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>&</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>&=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>|</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>|=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>in</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>__nonzero__</TT
|
|
> operators are supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2625"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void coords</CODE
|
|
>(int *x1, int *y1, int *x2, int *y2);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple containing the four values.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2637"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void rect</CODE
|
|
>(int *x, int *y, int *w, int *h);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple containing the four values.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2649"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCOORD &rBottom</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2654"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCOORD &rLeft</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2659"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCOORD &rRight</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2664"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCOORD &rTop</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented. (TQt v2+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2669"
|
|
>TQRegExp</A
|
|
></H3
|
|
><P
|
|
>The Python <TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> operators are
|
|
supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2674"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int match</CODE
|
|
>(const char *str, int index = 0, int *len = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes <TT
|
|
CLASS="LITERAL"
|
|
>str</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
> parameters and
|
|
returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>int</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> value. (TQt v1.x)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2688"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int match</CODE
|
|
>(const TQString &str, int index = 0, int *len = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes <TT
|
|
CLASS="LITERAL"
|
|
>str</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
> parameters and
|
|
returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>int</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> value. (TQt v2+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2702"
|
|
>TQRegion</A
|
|
></H3
|
|
><P
|
|
>The Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>|</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>|=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>+</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>+=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>&</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>&=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>-</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>-=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>^</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>^=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>in</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>__nonzero__</TT
|
|
> operators are supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2719"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQArray<TQRect> rects</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2724"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void setRects</CODE
|
|
>(TQRect *rects, int num);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v2.2+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2732"
|
|
>TQScrollBar</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQScrollBar</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2736"
|
|
>TQScrollView</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2738"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void contentsToViewport</CODE
|
|
>(int x, int y, int &vx, int &vy);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> parameters and
|
|
returns a tuple containing the <TT
|
|
CLASS="LITERAL"
|
|
>vx</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>vy</TT
|
|
>
|
|
values. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2754"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void viewportToContents</CODE
|
|
>(int vx, int vy, int &x, int &y);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>vx</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>vy</TT
|
|
> parameters and
|
|
returns a tuple containing the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
>
|
|
values. (TQt v2+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2770"
|
|
>TQSemaphore (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSemaphore</TT
|
|
> is fully implemented. The <TT
|
|
CLASS="LITERAL"
|
|
>+=</TT
|
|
>
|
|
and <TT
|
|
CLASS="LITERAL"
|
|
>-=</TT
|
|
> operators have also been implemented, but require
|
|
Python v2.0 or later.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2776"
|
|
>TQSemiModal (TQt v1, v2)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSemiModal</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2780"
|
|
>TQSessionManager (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSessionManager</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2784"
|
|
>TQSettings (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2786"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool readBoolEntry</CODE
|
|
>(const TQString &key, bool def = 0, bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2799"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>double readDoubleEntry</CODE
|
|
>(const TQString &key, double def = 0, bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>double</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2812"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQString readEntry</CODE
|
|
>(const TQString &key, const TQString &def = TQString::null, bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2825"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQStringList readListEntry</CODE
|
|
>(const TQString &key, bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>TQStringList</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2836"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQStringList readListEntry</CODE
|
|
>(const TQString &key, const TQChar &separator, bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>TQStringList</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2849"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int readNumEntry</CODE
|
|
>(const TQString &key, int def = 0, bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> is not passed and the returned value is a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>int</TT
|
|
> result and the <TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> flag.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2862"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool writeEntry</CODE
|
|
>(const TQString &key, bool value);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2870"
|
|
>TQSGIStyle (TQt v2.2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2872"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void scrollBarMetrics</CODE
|
|
>(const TQScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>sb</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderMin</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>sliderMax</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderLength</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>buttonDim</TT
|
|
> values.
|
|
(TQt v2)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2891"
|
|
>TQSignalMapper</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSignalMapper</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2895"
|
|
>TQSimpleRichText (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSimpleRichText</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2899"
|
|
>TQSize</A
|
|
></H3
|
|
><P
|
|
>The Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>+</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>+=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>-</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>-=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>*</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>*=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>/</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>/=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>__nonzero__</TT
|
|
>
|
|
operators are supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2913"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCOORD &rheight</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2918"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCOORD &rwidth</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2923"
|
|
>TQSizeGrip (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSizeGrip</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2927"
|
|
>TQSizePolicy (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSizePolicy</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2931"
|
|
>TQSlider</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSlider</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2935"
|
|
>TQSocketNotifier</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSocketNotifier</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2939"
|
|
>TQSound (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSound</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2943"
|
|
>TQSpinBox</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2945"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual int mapTextToValue</CODE
|
|
>(bool *ok);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>int</TT
|
|
> result and the modified
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2953"
|
|
>TQSplashScreen (TQt v3.2.0+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSplashScreen</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2957"
|
|
>TQSplitter</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2959"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getRange</CODE
|
|
>(int id, int *min, int *max);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>id</TT
|
|
> parameter and returns the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>min</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>max</TT
|
|
> values as a tuple. (TQt v2+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2972"
|
|
>TQStatusBar</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQStatusBar</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2976"
|
|
>TQChar (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2978"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uchar &cell const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN2983"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uchar &row const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN2988"
|
|
>TQString</A
|
|
></H3
|
|
><P
|
|
>A Python string object (or Unicode object) can be used whenever a
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> can be used. A <TT
|
|
CLASS="LITERAL"
|
|
>TQString</TT
|
|
> can be
|
|
converted to a Python string object using the Python <TT
|
|
CLASS="LITERAL"
|
|
>str()</TT
|
|
>
|
|
function, and to a Python Unicode object using the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>unicode()</TT
|
|
> function.</P
|
|
><P
|
|
>The Python <TT
|
|
CLASS="LITERAL"
|
|
>+=</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>[]</TT
|
|
>
|
|
(for reading slices and individual characters), <TT
|
|
CLASS="LITERAL"
|
|
>in</TT
|
|
> and
|
|
comparison operators are supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3000"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQCharRef at</CODE
|
|
>(uint i);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3006"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQChar constref const</CODE
|
|
>(uint i);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3012"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQChar &ref</CODE
|
|
>(uint i);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v2+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3018"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQString &setUnicodeCodes</CODE
|
|
>(const ushort *unicode_as_shorts, uint len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v2.1+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3026"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQString &sprintf</CODE
|
|
>(const char *format, ...);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3033"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>short toShort</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>short</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3041"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>ushort toUShort</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>ushort</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3049"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int toInt</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>int</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3057"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uint toUInt</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>uint</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3065"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>long toLong</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>long</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3073"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>ulong toULong</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>ulong</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3081"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>float toFloat</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>float</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3089"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>double toDouble</CODE
|
|
>(bool *ok = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>double</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3097"
|
|
>TQStringList (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
>The Python <TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>[]</TT
|
|
> (for both reading and
|
|
writing slices and individual elements), <TT
|
|
CLASS="LITERAL"
|
|
>del</TT
|
|
> (for deleting
|
|
slices and individual elements), <TT
|
|
CLASS="LITERAL"
|
|
>+</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>+=</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>*</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>*=</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>in</TT
|
|
> operators are supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3110"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>Iterator append</CODE
|
|
>(const TQString &x);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This does not return a value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3116"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>Iterator prepend</CODE
|
|
>(const TQString &x);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This does not return a value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3122"
|
|
>TQStrList</A
|
|
></H3
|
|
><P
|
|
>This class isn't implemented. Whenever a <TT
|
|
CLASS="LITERAL"
|
|
>TQStrList</TT
|
|
> is the
|
|
return type of a function or the type of an argument, a Python list of strings
|
|
is used instead.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3126"
|
|
>TQStyle (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3128"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual void getButtonShift</CODE
|
|
>(int &x, int &y);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> values. (TQt v2)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3138"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual void scrollBarMetrics</CODE
|
|
>(const TQScrollBar *b, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Thus takes only the <TT
|
|
CLASS="LITERAL"
|
|
>b</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderMin</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>sliderMax</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderLength</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>buttonDim</TT
|
|
> values.
|
|
(TQt v2)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3157"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual void tabbarMetrics</CODE
|
|
>(const TQTabBar *t, int &hframe, int &vframe, int &overlap);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>t</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>hframe</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>vframe</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>overlap</TT
|
|
> values. (TQt v2)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3173"
|
|
>TQStyleOption (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQStyleOption</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3177"
|
|
>TQStyleSheet (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQStyleSheet</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3181"
|
|
>TQStyleSheetItem (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQStyleSheetItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3185"
|
|
>TQSyntaxHighlighter (TQt v3.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSyntaxHighlighter</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3189"
|
|
>TQTab</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTab</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3193"
|
|
>TQTabBar</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3195"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQList<TQTab> tabList</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a list of <TT
|
|
CLASS="LITERAL"
|
|
>TQTab</TT
|
|
> instances.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3201"
|
|
>TQTabDialog</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTabDialog</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3205"
|
|
>TQTableView (TQt 1.x, TQt 2.x)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3207"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool colXPos</CODE
|
|
>(int col, int *xPos);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>col</TT
|
|
> parameter and returns a tuple containing
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and <TT
|
|
CLASS="LITERAL"
|
|
>xPos</TT
|
|
>.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3218"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool rowYPos</CODE
|
|
>(int row, int *yPos);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>row</TT
|
|
> parameter and returns a tuple containing
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and <TT
|
|
CLASS="LITERAL"
|
|
>yPos</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3229"
|
|
>TQTabWidget (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTabWidget</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3233"
|
|
>TQTextBrowser (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTextBrowser</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3237"
|
|
>TQTextCodec (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3239"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual TQCString fromUnicode</CODE
|
|
>(const TQString &uc, int &lenInOut);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The returned value is a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>TQCString</TT
|
|
> result and the
|
|
updated <TT
|
|
CLASS="LITERAL"
|
|
>lenInOut</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3249"
|
|
>TQTextDecoder (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTextDecoder</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3253"
|
|
>TQTextEncoder (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3255"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual TQCString fromUnicode = 0</CODE
|
|
>(const TQString &uc, int &lenInOut);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The returned value is a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>TQCString</TT
|
|
> result and the
|
|
updated <TT
|
|
CLASS="LITERAL"
|
|
>lenInOut</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3265"
|
|
>TQTextEdit (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3267"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int charAt</CODE
|
|
>(const TQPoint &pos, int *para = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>pos</TT
|
|
> parameter and returns a tuple of the
|
|
value returned via the <TT
|
|
CLASS="LITERAL"
|
|
>para</TT
|
|
> pointer and the int result.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3277"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void del</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>delChar</TT
|
|
> in Python.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3283"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual bool find</CODE
|
|
>(const TQString &expr, bool cs, bool wo, bool forward = TRUE, int *para = 0, int *index = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>If the <TT
|
|
CLASS="LITERAL"
|
|
>para</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
> parameters are
|
|
omitted then the bool result is returned. If both are supplied (as integers)
|
|
then a tuple of the bool result and the modified values of
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>para</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
> is returned.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3303"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getCursorPosition</CODE
|
|
>(int *para, int *index);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the values returned via the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>para</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
> pointers.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3313"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getSelection</CODE
|
|
>(int *paraFrom, int *indexFrom, int *paraTo, int *indexTo, int selNum = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>selNum</TT
|
|
> parameter and returns a tuple of
|
|
the <TT
|
|
CLASS="LITERAL"
|
|
>paraFrom</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>indexFrom</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>paraTo</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>indexTo</TT
|
|
> values.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3332"
|
|
>TQTextStream</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3334"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQTextStream</CODE
|
|
>(FILE *fp, int mode);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3342"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQTextStream &readRawBytes</CODE
|
|
>(char *buf, uint len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3350"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQTextStream &writeRawBytes</CODE
|
|
>(const char *buf, uint len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3358"
|
|
>TQTextIStream (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3360"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQTextIStream</CODE
|
|
>(FILE *fp, int mode);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3368"
|
|
>TQTextOStream (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3370"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQTextOStream</CODE
|
|
>(FILE *fp, int mode);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3378"
|
|
>TQTextView (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTextView</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3382"
|
|
>TQThread (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQThread</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3386"
|
|
>TQTimer</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTimer</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3390"
|
|
>TQToolBar</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQToolBar</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3394"
|
|
>TQToolBox (TQt v3.2.0+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQToolBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3398"
|
|
>TQToolButton</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQToolButton</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3402"
|
|
>TQToolTip</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQToolTip</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3406"
|
|
>TQToolTipGroup</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQToolTipGroup</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3410"
|
|
>TQTranslator (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTranslator</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3414"
|
|
>TQTranslatorMessage (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTranslatorMessage</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3418"
|
|
>TQUrl (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQUrl</TT
|
|
> is fully implemented, including the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQString()</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
>
|
|
operators.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3425"
|
|
>TQUrlInfo (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQUrlInfo</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3429"
|
|
>TQUrlOperator (TQt v2.1+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3431"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual bool isDir</CODE
|
|
>(bool *ok);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>ok</TT
|
|
> value.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3439"
|
|
>TQUuid (TQt v3.0+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQUuid</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3443"
|
|
>TQValidator</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3445"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual State validate</CODE
|
|
>(TQString& input, int& pos);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The returned value is a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>State</TT
|
|
> result and the
|
|
updated <TT
|
|
CLASS="LITERAL"
|
|
>pos</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3455"
|
|
>TQDoubleValidator</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3457"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>State validate</CODE
|
|
>(TQString& input, int& pos);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The returned value is a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>State</TT
|
|
> result and the
|
|
updated <TT
|
|
CLASS="LITERAL"
|
|
>pos</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3467"
|
|
>TQIntValidator</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3469"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>State validate</CODE
|
|
>(TQString& input, int& pos);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The returned value is a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>State</TT
|
|
> result and the
|
|
updated <TT
|
|
CLASS="LITERAL"
|
|
>pos</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3479"
|
|
>TQRegExpValidator (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3481"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual State validate</CODE
|
|
>(TQString& input, int& pos);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The returned value is a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>State</TT
|
|
> result and the
|
|
updated <TT
|
|
CLASS="LITERAL"
|
|
>pos</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3491"
|
|
>TQValueList<type> (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
>Types based on the <TT
|
|
CLASS="LITERAL"
|
|
>TQValueList</TT
|
|
> template are automatically
|
|
converted to and from Python lists of the type.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3495"
|
|
>TQVariant (TQt v2.1+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3497"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQVariant</CODE
|
|
>(const char *val);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3503"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQVariant</CODE
|
|
>(const TQBitArray &val);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3509"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQVariant</CODE
|
|
>(const TQValueList<TQVariant> &val);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3515"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQVariant</CODE
|
|
>(const TQMap<TQString,TQVariant> &val);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3521"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQBitArray &asBitArray</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3526"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool &asBool</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3531"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>double &asDouble</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3536"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int &asInt</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3541"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQValueList<TQVariant> &asList</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3546"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQMap<TQString,TQVariant> &asMap</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3551"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>uint &asUInt</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3556"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQValueListConstIterator<TQVariant>listBegin const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3561"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQValueListConstIterator<TQVariant>listEnd const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3566"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQMapConstIterator<TQString,TQVariant>mapBegin const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3571"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQMapConstIterator<TQString,TQVariant>mapEnd const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3576"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQMapConstIterator<TQString,TQVariant>mapFind const</CODE
|
|
>(const TQString &key);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3582"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQValueListConstIterator<TQString>stringListBegin const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3587"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQValueListConstIterator<TQString>stringListEnd const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3592"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>const TQBitArray toBitArray const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3597"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>const TQValueList<TQVariant>toList const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3602"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>const TQMap<TQString,TQVariant>toMap const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3607"
|
|
>TQVBox (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQVBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3611"
|
|
>TQVButtonGroup (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQVButtonGroup</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3615"
|
|
>TQVGroupBox (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQVGroupBox</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3619"
|
|
>TQWaitCondition (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWaitCondition</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3623"
|
|
>TQWhatsThis</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWhatsThis</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3627"
|
|
>TQWidget</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3629"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQWExtra *extraData</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3634"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQFocusData *focusData</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3639"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void lower</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed to <TT
|
|
CLASS="LITERAL"
|
|
>lowerW</TT
|
|
> in Python.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3645"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void raise</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed to <TT
|
|
CLASS="LITERAL"
|
|
>raiseW</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3651"
|
|
>TQWidgetList</A
|
|
></H3
|
|
><P
|
|
>This class isn't implemented. Whenever a <TT
|
|
CLASS="LITERAL"
|
|
>TQWidgetList</TT
|
|
> is the
|
|
return type of a function or the type of an argument, a Python list of
|
|
instances is used instead.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3655"
|
|
>TQWidgetStack</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWidgetStack</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3659"
|
|
>TQWindow</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWindow</TT
|
|
> is fully implemented (TQt v1.x).</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3663"
|
|
>TQWindowsStyle (TQt v2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3665"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getButtonShift</CODE
|
|
>(int &x, int &y);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> values. (TQt v2)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3675"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void scrollBarMetrics</CODE
|
|
>(const TQTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>sb</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderMin</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>sliderMax</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>sliderLength</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>buttonDim</TT
|
|
> values.
|
|
(TQt v2)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3694"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void tabbarMetrics</CODE
|
|
>(const TQTabBar *t, int &hframe, int &vframe, int &overlap);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes only the <TT
|
|
CLASS="LITERAL"
|
|
>t</TT
|
|
> parameter and returns a tuple of the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>hframe</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>vframe</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>overlap</TT
|
|
> values. (TQt v2)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3710"
|
|
>TQWindowsXPStyle (TQt v3.0.1+, Windows)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWindowsXPStyle</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3714"
|
|
>TQWizard (TQt v2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWizard</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3718"
|
|
>TQWMatrix</A
|
|
></H3
|
|
><P
|
|
>The Python <TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>*=</TT
|
|
> operators are supported.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3724"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQWMatrix invert const</CODE
|
|
>(bool *invertible = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the <TT
|
|
CLASS="LITERAL"
|
|
>TQWMatrix</TT
|
|
>
|
|
result and the <TT
|
|
CLASS="LITERAL"
|
|
>invertible</TT
|
|
> value.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3732"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void map const</CODE
|
|
>(int x, int y, int *tx, int *ty);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> parameters and
|
|
returns a tuple containing the <TT
|
|
CLASS="LITERAL"
|
|
>tx</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>ty</TT
|
|
>
|
|
values.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3748"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void map const</CODE
|
|
>(float x, float y, float *tx, float *ty);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> parameters and
|
|
returns a tuple containing the <TT
|
|
CLASS="LITERAL"
|
|
>tx</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>ty</TT
|
|
>
|
|
values. (TQt v1.x)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3764"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void map const</CODE
|
|
>(double x, double y, double *tx, double *ty);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>x</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>y</TT
|
|
> parameters and
|
|
returns a tuple containing the <TT
|
|
CLASS="LITERAL"
|
|
>tx</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>ty</TT
|
|
>
|
|
values. (TQt v2+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3780"
|
|
>TQWorkspace (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWorkspace</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN3784"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtaxcontainer</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3787"
|
|
>TQAxBase (Windows, TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3789"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQAxObject</CODE
|
|
>(IUnknown *iface = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3795"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>long queryInterface</CODE
|
|
>(const TQUuid &uuid, void **iface);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3803"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>PropertyBag propertyBag const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3808"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void setPropertyBag</CODE
|
|
>(const PropertyBag &bag);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3814"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>unsigned long registerWeakActiveObject</CODE
|
|
>(const TQString &guid);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This is a utility method provided by PyTQt to make it easier to use
|
|
Mark Hammond's <TT
|
|
CLASS="LITERAL"
|
|
>win32com</TT
|
|
> module to manipulate objects
|
|
created by the <TT
|
|
CLASS="LITERAL"
|
|
>qtaxcontainer</TT
|
|
> module.</P
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>RegisterActiveObject()</TT
|
|
> COM function is called to
|
|
register the <TT
|
|
CLASS="LITERAL"
|
|
>TQAxBase</TT
|
|
> instance as a weak object with the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>guid</TT
|
|
> GUID. The revoke handle is returned.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3826"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static void revokeActiveObject</CODE
|
|
>(unsigned long rhandle);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This is a wrapper around the <TT
|
|
CLASS="LITERAL"
|
|
>RevokeActiveObject()</TT
|
|
> COM
|
|
function and is called to revoke the object registered using
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>registerWeakActiveObject()</TT
|
|
>. <TT
|
|
CLASS="LITERAL"
|
|
>rhandle</TT
|
|
> is
|
|
the revoke handle returned by <TT
|
|
CLASS="LITERAL"
|
|
>registerWeakActiveObject()</TT
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3836"
|
|
>TQAxObject (Windows, TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3838"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQAxObject</CODE
|
|
>(IUnknown *iface, TQObject *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3848"
|
|
>TQAxWidget (Windows, TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3850"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQAxWidget</CODE
|
|
>(IUnknown *iface, TQWidget *parent = 0, const char *name = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN3860"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtcanvas</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3863"
|
|
>TQCanvas (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvas</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3867"
|
|
>TQCanvasEllipse (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasEllipse</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3871"
|
|
>TQCanvasItem (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3875"
|
|
>TQCanvasItemList (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
>This class isn't implemented. Whenever a <TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasItemList</TT
|
|
> is
|
|
the return type of a function or the type of an argument, a Python list of
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasItem</TT
|
|
> instances is used instead.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3880"
|
|
>TQCanvasLine (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasLine</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3884"
|
|
>TQCanvasPixmap (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasPixmap</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3888"
|
|
>TQCanvasPixmapArray (TQt v2.2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3890"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQPixmapArray</CODE
|
|
>(TQList<TQPixmap> pixmaps, TQList<TQPoint> hotspots);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>pixmaps</TT
|
|
> argument is a Python list of TQPixmap instances,
|
|
and the <TT
|
|
CLASS="LITERAL"
|
|
>hotspots</TT
|
|
> argument is a Python list of TQPoint
|
|
instances. (TQt v2.2.0 - TQt v2.3.1)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3900"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQPixmapArray</CODE
|
|
>(TQValueList<TQPixmap> pixmaps, TQPointArray hotspots = TQPointArray());<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>The <TT
|
|
CLASS="LITERAL"
|
|
>pixmaps</TT
|
|
> argument is a Python list of TQPixmap instances.
|
|
(TQt v3+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3909"
|
|
>TQCanvasPolygon (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasPolygon</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3913"
|
|
>TQCanvasPolygonalItem (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasPolygonalItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3917"
|
|
>TQCanvasRectangle (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasRectangle</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3921"
|
|
>TQCanvasSpline (TQt v3.0+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasSpline</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3925"
|
|
>TQCanvasSprite (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasSprite</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3929"
|
|
>TQCanvasText (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasText</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3933"
|
|
>TQCanvasView (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCanvasView</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN3937"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtext</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3940"
|
|
>QextScintilla</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3942"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getCursorPosition</CODE
|
|
>(int *line, int *index);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the values returned by the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>line</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>index</TT
|
|
> pointers.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN3952"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void getSelection</CODE
|
|
>(int *lineFrom, int *indexFrom, int *lineTo, int *indexTo);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes no parameters and returns a tuple of the values returned by the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>lineFrom</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>indexFrom</TT
|
|
>,
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>lineTo</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>indexTo</TT
|
|
> pointers.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3968"
|
|
>QextScintillaAPIs</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaAPIs</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3972"
|
|
>QextScintillaBase</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaBase</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3976"
|
|
>QextScintillaCommand</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaCommand</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3980"
|
|
>QextScintillaCommandSet</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaCommandSet</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3984"
|
|
>QextScintillaDocument</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaDocument</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3988"
|
|
>QextScintillaLexer</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexer</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3992"
|
|
>QextScintillaLexerBash (TQScintilla v1.4+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerBash</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN3996"
|
|
>QextScintillaLexerBatch (TQScintilla v1.6+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerBatch</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4000"
|
|
>QextScintillaLexerCPP</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerCPP</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4004"
|
|
>QextScintillaLexerCSharp</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerCSharp</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4008"
|
|
>QextScintillaLexerCSS (TQScintilla v1.6+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerCSS</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4012"
|
|
>QextScintillaLexerDiff (TQScintilla v1.6+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerDiff</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4016"
|
|
>QextScintillaLexerHTML (TQScintilla v1.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerHTML</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4020"
|
|
>QextScintillaLexerIDL</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerIDL</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4024"
|
|
>QextScintillaLexerJava</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerJava</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4028"
|
|
>QextScintillaLexerJavaScript</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerJavaScript</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4032"
|
|
>QextScintillaLexerLua (TQScintilla v1.5+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerLua</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4036"
|
|
>QextScintillaLexerMakefile (TQScintilla v1.6+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerMakefile</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4040"
|
|
>QextScintillaLexerPerl</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerPerl</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4044"
|
|
>QextScintillaLexerPOV (TQScintilla v1.6+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerPOV</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4048"
|
|
>QextScintillaLexerProperties (TQScintilla v1.6+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerProperties</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4052"
|
|
>QextScintillaLexerPython</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerPython</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4056"
|
|
>QextScintillaLexerRuby (TQScintilla v1.5+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerRuby</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4060"
|
|
>QextScintillaLexerSQL (TQScintilla v1.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerSQL</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4064"
|
|
>QextScintillaLexerTeX (TQScintilla v1.6+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaLexerTeX</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4068"
|
|
>QextScintillaMacro</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaMacro</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4072"
|
|
>QextScintillaPrinter</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>QextScintillaPrinter</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN4076"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtgl</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4079"
|
|
>TQGL</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGL</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4083"
|
|
>TQGLContext</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGLContext</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4087"
|
|
>TQGLFormat</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGLFormat</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4091"
|
|
>TQGLWidget</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQGLWidget</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4095"
|
|
>TQGLColormap (TQt v3.0+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4097"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void setEntries</CODE
|
|
>(int count, const TQRgb *colors, int base = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN4107"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtnetwork</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4110"
|
|
>TQDns (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDns</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4114"
|
|
>TQFtp (TQt v2.2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4116"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG readBlock</CODE
|
|
>(char *data, TQ_ULONG maxlen);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single <TT
|
|
CLASS="LITERAL"
|
|
>maxlen</TT
|
|
> parameter. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> is returned if there was no error, otherwise
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>None</TT
|
|
> is returned.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4127"
|
|
>TQHostAddress (TQt v2.2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4129"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQHostAddress</CODE
|
|
>(TQ_UINT8 *ip6Addr);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4135"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQHostAddress</CODE
|
|
>(const Q_IPV6ADDR &ip6Addr);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4141"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>void setAddress</CODE
|
|
>(TQ_UINT8 *ip6Addr);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4147"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>Q_IPV6ADDR toIPv6Address const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4153"
|
|
>TQHttp (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4155"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG readBlock</CODE
|
|
>(char *data, TQ_ULONG maxlen);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single <TT
|
|
CLASS="LITERAL"
|
|
>maxlen</TT
|
|
> parameter. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> is returned if there was no error, otherwise
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>None</TT
|
|
> is returned.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4166"
|
|
>TQHttpHeader (TQt v3.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHttpHeader</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4170"
|
|
>TQHttpRequestHeader (TQt v3.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHttpRequestHeader</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4174"
|
|
>TQHttpResponseHeader (TQt v3.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQHttpResponseHeader</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4178"
|
|
>TQLocalFs (TQt v2.1+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQLocalFs</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4182"
|
|
>TQServerSocket (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQServerSocket</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4186"
|
|
>TQSocket (TQt v2.2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4188"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG readBlock</CODE
|
|
>(char *data, TQ_ULONG len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single <TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> parameter. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> is returned if there was no error, otherwise
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>Py_None</TT
|
|
> is returned.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4199"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG readLine</CODE
|
|
>(char *data, TQ_ULONG maxlen);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single <TT
|
|
CLASS="LITERAL"
|
|
>maxlen</TT
|
|
> parameter. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> is returned if there was no error, otherwise
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>Py_None</TT
|
|
> is returned.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4210"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG writeBlock</CODE
|
|
>(const char *data, TQ_ULONG len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> and not passed
|
|
as a parameter.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4220"
|
|
>TQSocketDevice (TQt v2.2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4222"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG readBlock</CODE
|
|
>(char *data, TQ_ULONG len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes a single <TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> parameter. The
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> is returned if there was no error, otherwise
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>None</TT
|
|
> is returned.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4233"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQ_LONG writeBlock</CODE
|
|
>(const char *data, TQ_ULONG len);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>len</TT
|
|
> is derived from <TT
|
|
CLASS="LITERAL"
|
|
>data</TT
|
|
> and not passed
|
|
as a parameter.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN4243"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtpe</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4246"
|
|
>TQPEApplication</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4248"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQApplication</CODE
|
|
>(int& argc, char **argv, Type type);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes two parameters, the first of which is a list of argument strings.
|
|
Arguments used by TQt are removed from the list.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4258"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int exec</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed to <TT
|
|
CLASS="LITERAL"
|
|
>exec_loop</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4264"
|
|
>AppLnk</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4266"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual TQString exec const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed to <TT
|
|
CLASS="LITERAL"
|
|
>exec_property</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4272"
|
|
>AppLnkSet</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>AppLnkSet</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4276"
|
|
>Config</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>Config</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4280"
|
|
>DateFormat</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>DateFormat</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4284"
|
|
>DocLnk</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4286"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQString exec const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed to <TT
|
|
CLASS="LITERAL"
|
|
>exec_property</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4292"
|
|
>DocLnkSet</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>DocLnkSet</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4296"
|
|
>FileManager</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>FileManager</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4300"
|
|
>FileSelector</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>FileSelector</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4304"
|
|
>FileSelectorItem</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>FileSelectorItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4308"
|
|
>FontDatabase</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>FontDatabase</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4312"
|
|
>Global</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4314"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>static void setBuiltinCommands</CODE
|
|
>(Command *);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4319"
|
|
>MenuButton</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>MenuButton</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4323"
|
|
>TQCopEnvelope</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCopEnvelope</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4327"
|
|
>TQDawg</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDawg</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4331"
|
|
>TQPEMenuBar</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPEMenuBar</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4335"
|
|
>TQPEToolBar</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQPEToolBar</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4339"
|
|
>Resource</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>Resource</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN4343"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtsql</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4346"
|
|
>TQDataBrowser (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4348"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual void del</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>delOnCursor</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4354"
|
|
>TQDataTable (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDataTable</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4358"
|
|
>TQDataView (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDataView</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4362"
|
|
>TQEditorFactory (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQEditorFactory</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4366"
|
|
>TQSql (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSql</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4370"
|
|
>TQSqlCursor (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4372"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual int del</CODE
|
|
>(bool invalidate = TRUE);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>delRecords</TT
|
|
> in Python.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4379"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual int del</CODE
|
|
>(const TQString &filter, bool invalidate = TRUE);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>delRecords</TT
|
|
> in Python.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4388"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool exec</CODE
|
|
>(const TQString &query);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>execQuery</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4395"
|
|
>TQSqlDatabase (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4397"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQSqlQuery exec</CODE
|
|
>(const TQString &query = TQString::null);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>execStatement</TT
|
|
> in Python.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4404"
|
|
>TQSqlDriver (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlDriver</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4408"
|
|
>TQSqlEditorFactory (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlEditorFactory</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4412"
|
|
>TQSqlError (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlError</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4416"
|
|
>TQSqlField (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlField</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4420"
|
|
>TQSqlFieldInfo (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlFieldInfo</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4424"
|
|
>TQSqlForm (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlForm</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4428"
|
|
>TQSqlIndex (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlIndex</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4432"
|
|
>TQSqlPropertyMap (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlPropertyMap</TT
|
|
> is fully implemented. However, because PyTQt
|
|
does not allow new properties to be defined, it is not possible to implement
|
|
custom editor widgets in Python and add them to a property map. This will
|
|
simple be ignored.</P
|
|
><P
|
|
>This problem may be addressed in a future release of PyTQt.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4437"
|
|
>TQSqlQuery (TQt v3+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4439"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>TQMap<TQString,TQVariant> boundValues const</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v3.2.0+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4444"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>virtual bool exec</CODE
|
|
>(const TQString &query);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>execQuery</TT
|
|
> in Python.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4451"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool exec</CODE
|
|
>();<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>execQuery</TT
|
|
> in Python. (TQt v3.1+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4457"
|
|
>TQSqlRecord (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlRecord</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4461"
|
|
>TQSqlRecordInfo (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlRecordInfo</TT
|
|
> is implemented as a Python list of
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>TQSqlFieldInfo</TT
|
|
> instances.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4466"
|
|
>TQSqlResult (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQSqlResult</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4470"
|
|
>TQSqlSelectCursor (TQt v3.2.0+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4472"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>int del</CODE
|
|
>(bool invalidate = TRUE);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>delRecords</TT
|
|
> in Python.</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4479"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool exec</CODE
|
|
>(const TQString &query);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This has been renamed <TT
|
|
CLASS="LITERAL"
|
|
>execQuery</TT
|
|
> in Python.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN4486"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qttable</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4489"
|
|
>TQTable (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTable</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4493"
|
|
>TQTableItem (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTableItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4497"
|
|
>TQCheckTableItem (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQCheckTableItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4501"
|
|
>TQComboTableItem (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQComboTableItem</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4505"
|
|
>TQTableSelection (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQTableSelection</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN4509"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtui</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4512"
|
|
>TQWidgetFactory (TQt v3+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQWidgetFactory</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><HR><H2
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN4516"
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>qtxml</TT
|
|
> Module Reference</A
|
|
></H2
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4519"
|
|
>TQDomImplementation (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomImplementation</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4523"
|
|
>TQDomNode (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomNode</TT
|
|
> is fully implemented, including the Python
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>==</TT
|
|
> and <TT
|
|
CLASS="LITERAL"
|
|
>!=</TT
|
|
> operators.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4529"
|
|
>TQDomNodeList (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomNodeList</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4533"
|
|
>TQDomDocument (TQt v2.2+)</A
|
|
></H3
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4535"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(const TQCString &buffer, bool namespaceProcessing, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>buffer</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>namespaceProcessing</TT
|
|
> parameters and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorMsg</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>errorLine</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorColumn</TT
|
|
> values. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4555"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(const TQByteArray &buffer, bool namespaceProcessing, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>buffer</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>namespaceProcessing</TT
|
|
> parameters and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorMsg</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>errorLine</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorColumn</TT
|
|
> values. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4575"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(const TQString &text, bool namespaceProcessing, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>text</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>namespaceProcessing</TT
|
|
> parameters and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorMsg</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>errorLine</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorColumn</TT
|
|
> values. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4595"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(const TQIODevice *dev, bool namespaceProcessing, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>dev</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>namespaceProcessing</TT
|
|
> parameters and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorMsg</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>errorLine</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorColumn</TT
|
|
> values. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4615"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(const TQCString &buffer, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>buffer</TT
|
|
> parameter only and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorMsg</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>errorLine</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorColumn</TT
|
|
> values. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4632"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(const TQByteArray &buffer, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>buffer</TT
|
|
> parameter only and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorMsg</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>errorLine</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorColumn</TT
|
|
> values. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4649"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(const TQString &text, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>text</TT
|
|
> parameter only and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorMsg</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>errorLine</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorColumn</TT
|
|
> values. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4666"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(const TQIODevice *dev, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>This takes the <TT
|
|
CLASS="LITERAL"
|
|
>dev</TT
|
|
> parameter only and returns a tuple
|
|
containing the <TT
|
|
CLASS="LITERAL"
|
|
>bool</TT
|
|
> result and the
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorMsg</TT
|
|
>, <TT
|
|
CLASS="LITERAL"
|
|
>errorLine</TT
|
|
> and
|
|
<TT
|
|
CLASS="LITERAL"
|
|
>errorColumn</TT
|
|
> values. (TQt v3+)</P
|
|
><DIV
|
|
CLASS="FUNCSYNOPSIS"
|
|
><P
|
|
></P
|
|
><A
|
|
NAME="AEN4683"
|
|
></A
|
|
><CODE
|
|
CLASS="FUNCDEF"
|
|
>bool setContent</CODE
|
|
>(TQXmlInputSource *source, TQXmlReader *reader, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);<P
|
|
></P
|
|
></DIV
|
|
><P
|
|
>Not yet implemented. (TQt v3.2.0+)</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4697"
|
|
>TQDomDocumentFragment (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomDocumentFragment</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4701"
|
|
>TQDomDocumentType (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomDocumentType</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4705"
|
|
>TQDomNamedNodeMap (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomNamedNodeMap</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4709"
|
|
>TQDomCharacterData (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomCharacterData</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4713"
|
|
>TQDomAttr (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomAttr</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4717"
|
|
>TQDomElement (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomElement</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4721"
|
|
>TQDomText (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomText</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4725"
|
|
>TQDomComment (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomComment</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4729"
|
|
>TQDomCDATASection (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomCDATASection</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4733"
|
|
>TQDomNotation (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomNotation</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4737"
|
|
>TQDomEntity (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomEntity</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4741"
|
|
>TQDomEntityReference (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomEntityReference</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><HR><H3
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="AEN4745"
|
|
>TQDomProcessingInstruction (TQt v2.2+)</A
|
|
></H3
|
|
><P
|
|
><TT
|
|
CLASS="LITERAL"
|
|
>TQDomProcessingInstruction</TT
|
|
> is fully implemented.</P
|
|
></DIV
|
|
></DIV
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
>
|