<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/features.doc:36 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>The Feature Definition File</title> <style type="text/css"><!-- fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } a:visited { color: #672967; text-decoration: none } body { background: #ffffff; color: black; } --></style> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr bgcolor="#E5E5E5"> <td valign=center> <a href="index.html"> <font color="#004faf">Home</font></a> | <a href="classes.html"> <font color="#004faf">All Classes</font></a> | <a href="mainclasses.html"> <font color="#004faf">Main Classes</font></a> | <a href="annotated.html"> <font color="#004faf">Annotated</font></a> | <a href="groups.html"> <font color="#004faf">Grouped Classes</font></a> | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>The Feature Definition File</h1> <p> By modifying the configured <tt>ntqconfig.h</tt> file from src/tools, you can define a subset of the full TQt functionality that you wish to be available in your installation. The -qconfig option to configure is used to select the configuration. <p> Note that such modification is only supported on TQt/Embedded platforms, where reducing the size of TQt is important and the application set is often fixed. <p> The <tt>ntqconfig.h</tt> definition file simply defines macros to disable features. Some features are dependent on other features and these dependencies are expressed in <tt>ntqfeatures.h</tt>. <p> The available options are: <p> <center><table cellpadding="4" cellspacing="2" border="0"> <tr bgcolor="#a2c511"> <th valign="top">Macro <th valign="top">Disables <th valign="top">Set automatically by <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Images (<a href="qimageio.html">TQImageIO</a>) <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_IMAGEIO_BMP <td valign="top">Microsoft Bitmap image file format. <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_IMAGEIO_PPM <td valign="top">Portable Pixmap image file format. <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_IMAGEIO_XBM <td valign="top">X11 Bitmap image file format. <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_IMAGEIO_XPM <td valign="top">X11 Pixmap image file format. <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_IMAGEIO_PNG <td valign="top">Portable Network Graphics image file format. <td valign="top"> <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Animation <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_ASYNC_IO <td valign="top">Asynchronous I/O (<a href="ntqasyncio.html">TQAsyncIO</a>) <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_ASYNC_IMAGE_IO <td valign="top">Asynchronous Image I/O and GIF image support (<a href="qimagedecoder.html">TQImageDecoder</a>, ...) <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_MOVIE <td valign="top">Animation support (<a href="ntqmovie.html">TQMovie</a>) <td valign="top">QT_NO_ASYNC_IO, QT_NO_ASYNC_IMAGE_IO <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Fonts <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_TRUETYPE <td valign="top">TrueType (TTF and TTC) font file format, only used by TQt/Embedded. <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_BDF <td valign="top">Bitmap Distribution Format (BDF) font file format, only used by TQt/Embedded. <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_FONTDATABASE <td valign="top">Font database. <td valign="top"> <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> <a href="i18n.html#internationalization">Internationalization</a> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_I18N <td valign="top">Conversions between Unicode and 8-bit encodings. <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_UNICODETABLES <td valign="top">Large tables defining such things as upper and lowercase conversions for all Unicode characters. <td valign="top"> <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> MIME <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_MIME <td valign="top">Multipurpose Internet Mail Extensions, an Internet standard for encoding and tagging typed data (eg. text, images, colors) (<a href="qmimesource.html">TQMimeSource</a>) <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_RICHTEXT <td valign="top">HTML-like text (<a href="ntqstylesheet.html">TQStyleSheet</a>, <a href="ntqlabel.html">TQLabel</a>) <td valign="top">QT_NO_MIME <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_DRAGANDDROP <td valign="top">Drag-and-drop data between applications (<a href="ntqdragobject.html">TQDragObject</a>) <td valign="top">QT_NO_MIME <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_CLIPBOARD <td valign="top">Cut-and-paste data between applications (<a href="ntqclipboard.html">TQClipboard</a>) <td valign="top">QT_NO_MIME <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Sound <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_SOUND <td valign="top">Playing audio files (<a href="ntqsound.html">TQSound</a>) <td valign="top"> <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Scripting <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_PROPERTIES <td valign="top">Scripting TQt-based applications. <td valign="top"> <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> TQt/Embedded-specific <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_QWS_CURSOR <td valign="top">The cursor sprite on TQt/Embedded. Pen-operated devices would not normally need this feature. <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_QWS_DEPTH_8GRAYSCALE <td valign="top" colspan="1" rowspan="1"> 8 bits per pixel: 256 levels of gray. Incompatible with TQWS_DEPTH_8. <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_QWS_DEPTH_8 <td valign="top" colspan="1" rowspan="1"> 8 bits per pixel: 216-color cube with 40 auxiliary colors. Incompatible with TQWS_DEPTH_8GRAYSCALE. <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_QWS_DEPTH_15 <td valign="top" colspan="1" rowspan="1"> 15 bits per pixel: 32 levels for each of red, green and blue. <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_QWS_DEPTH_16 <td valign="top" colspan="1" rowspan="1"> 16 bits per pixel: 64 levels of green, 32 levels for red and for blue. <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_QWS_DEPTH_32 <td valign="top" colspan="1" rowspan="1"> 32 bits per pixel: 256 levels for each of red, green and blue. <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_QWS_MACH64 <td valign="top">Mach64 accelerated driver (demonstration only). <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_QWS_VFB <td valign="top">Virtual framebuffer running on X11 (see reference documentation). <td valign="top"> <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Networking <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_NETWORKPROTOCOL <td valign="top">Abstract multi-protocol data retrieval, with local file retrieval included (<a href="ntqnetworkprotocol.html">TQNetworkProtocol</a>) <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_NETWORKPROTOCOL_FTP <td valign="top">FTP-protocol data retrieval. <td valign="top">QT_NO_NETWORKPROTOCOL <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_NETWORKPROTOCOL_HTTP <td valign="top">HTTP-protocol data retrieval. <td valign="top">QT_NO_NETWORKPROTOCOL <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Painting/drawing <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_COLORNAMES <td valign="top">Color names such as "red", used by some <a href="ntqcolor.html">TQColor</a> constructors and by some HTML documents (<a href="ntqcolor.html">TQColor</a>, <a href="ntqstylesheet.html">TQStyleSheet</a>) <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_TRANSFORMATIONS <td valign="top">Used by a number of classes in TQt. With this, rotation and scaling are possible. Without it you can only do coordinate translation (<a href="ntqwmatrix.html">TQWMatrix</a>) <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_PSPRINTER <td valign="top">PostScript printer support. <td valign="top"> <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_PRINTER <td valign="top">Printer support (<a href="ntqprinter.html">TQPrinter</a>) <td valign="top">QT_NO_PSPRINTER (Unix only) <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_PICTURE <td valign="top">Save TQt drawing commands to a files (<a href="ntqpicture.html">TQPicture</a>) <td valign="top"> <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Widgets <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_WIDGETS <td valign="top">Disabling this disables all widgets except <a href="ntqwidget.html">TQWidget</a>. <td valign="top"> <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_TEXTVIEW <td valign="top">HTML document viewing (<a href="ntqtextview.html">TQTextView</a>) <td valign="top">QT_NO_WIDGETS, QT_NO_RICHTEXT <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_TEXTBROWSER <td valign="top">HTML document browsing (<a href="ntqtextbrowser.html">TQTextBrowser</a>) <td valign="top">QT_NO_TEXTVIEW <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_ICONVIEW <td valign="top">Labelled icons (<a href="ntqiconview.html">TQIconView</a>) <td valign="top">QT_NO_WIDGETS, QT_NO_DRAGANDDROP <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_LISTVIEW <td valign="top">Lists of information (<a href="ntqlistview.html">TQListView</a>) <td valign="top">QT_NO_WIDGETS <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_CANVAS <td valign="top">Object canvas (<a href="ntqcanvas.html">TQCanvas</a>) <td valign="top">QT_NO_WIDGETS <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_DIAL <td valign="top">Value control (<a href="ntqdial.html">TQDial</a>) <td valign="top">QT_NO_WIDGETS <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_WORKSPACE <td valign="top">MDI (Multiple Document Interface) (<a href="ntqworkspace.html">TQWorkspace</a>) <td valign="top">QT_NO_WIDGETS <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_LCDNUMBER <td valign="top">LCD-like number display (<a href="ntqlcdnumber.html">TQLCDNumber</a>) <td valign="top">QT_NO_WIDGETS <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> GUI Styles <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_STYLE_WINDOWS <td valign="top">Microsoft Windows style (<a href="ntqwindowsstyle.html">TQWindowsStyle</a>) <td valign="top">QT_NO_WIDGETS <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_STYLE_MOTIF <td valign="top">OSF <a href="motif-extension.html#Motif">Motif</a> style (<a href="ntqmotifstyle.html">TQMotifStyle</a>) <td valign="top">QT_NO_WIDGETS <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_STYLE_CDE <td valign="top">Open Group CDE style (<a href="ntqcdestyle.html">TQCDEStyle</a>) <td valign="top">QT_NO_STYLE_MOTIF <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_STYLE_AQUA <td valign="top">MacOS X style (TQAquaStyle) <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_STYLE_PLATINUM <td valign="top">MacOS 9 style (<a href="ntqplatinumstyle.html">TQPlatinumStyle</a>) <td valign="top">QT_NO_WIDGETS <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_STYLE_SGI <td valign="top">SGI style (<a href="ntqsgistyle.html">TQSGIStyle</a>) <td valign="top">QT_NO_STYLE_MOTIF <tr bgcolor="#a2c511"> <th valign="top" colspan="3" rowspan="1"> Dialogs <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_DIALOGS <td valign="top">Disabling this disables all common dialogs <a href="ntqwidget.html">TQWidget</a>. <td valign="top">QT_NO_WIDGETS <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_FILEDIALOG <td valign="top">The file selection dialog (<a href="ntqfiledialog.html">TQFileDialog</a>) <td valign="top">QT_NO_DIALOGS, QT_NO_NETWORKPROTOCOL, QT_NO_LISTVIEW <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_FONTDIALOG <td valign="top">The font selection dialog (<a href="ntqfontdialog.html">TQFontDialog</a>) <td valign="top">QT_NO_DIALOGS, QT_NO_FONTDATABASE <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_COLORDIALOG <td valign="top">The color selection dialog (<a href="ntqcolordialog.html">TQColorDialog</a>) <td valign="top">QT_NO_DIALOGS <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_INPUTDIALOG <td valign="top">Text input dialog (<a href="ntqinputdialog.html">TQInputDialog</a>) <td valign="top">QT_NO_DIALOGS <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_MESSAGEBOX <td valign="top">Message/prompting dialog (<a href="ntqmessagebox.html">TQMessageBox</a>) <td valign="top">QT_NO_DIALOGS <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_PROGRESSDIALOG <td valign="top">Long-computation progress dialog (<a href="ntqprogressdialog.html">TQProgressDialog</a>) <td valign="top">QT_NO_DIALOGS <tr bgcolor="#d0d0d0"> <td valign="top">QT_NO_TABDIALOG <td valign="top">Tabbed-pages dialog (<a href="ntqtabdialog.html">TQTabDialog</a>) <td valign="top">QT_NO_DIALOGS <tr bgcolor="#f0f0f0"> <td valign="top">QT_NO_WIZARD <td valign="top">Multi-step dialog (<a href="ntqwizard.html">TQWizard</a>) <td valign="top">QT_NO_DIALOGS </table></center> <p> <!-- eof --> <p><address><hr><div align=center> <table width=100% cellspacing=0 border=0><tr> <td>Copyright © 2007 <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a> <td align=right><div align=right>TQt 3.3.8</div> </table></div></address></body> </html>