qt Module Reference

Qt (Qt v2+)

Qt is fully implemented.

Qt Constants

All constant values defined by Qt have equivalent constants defined to Python.

QPen

QPen is fully implemented.

QPaintDevice

virtual bool cmd(int, QPainter *, QPDevCmdParam *);

Not implemented.

static Display *x11AppDisplay();

Not implemented. (Qt v2+)

Display *x11Display const();

Not implemented.

QPixmap

QPixmap(const char *xpm[]);

This takes a list of strings as its parameter.

bool loadFromData(const uchar *buf, uint len, const char *format = 0, ColorMode mode = Auto);

len is derived from buf and not passed as a parameter.

bool loadFromData(const uchar *buf, uint len, const char *format, int conversion_flags);

Not implemented.

QBitmap

QBitmap is fully implemented.

QSize

QCOORD& rheight();

Not implemented.

QCOORD& rwidth();

Not implemented.

QSizePolicy (Qt v2+)

QSizePolicy is fully implemented.

QAccel

QAccel is fully implemented.

QAction (Qt v2.2+)

QAction is fully implemented.

QApplication

QApplication(int& argc, char **argv);

This takes one parameter which is a list of argument strings. Arguments used by Qt are removed from the list.

QApplication(int& argc, char **argv, bool GUIenabled);

Not implemented.

QApplication(int& argc, char **argv, Type type);

This takes two parameters, the first of which is a list of argument strings. Arguments used by Qt are removed from the list. (Qt v2.2+)

int exec();

This has been renamed to exec_loop in Python.

QBrush

QBrush is fully implemented.

QButton

QButton is fully implemented.

QButtonGroup

QButtonGroup is fully implemented.

QByteArray

A Python string can be used whenever a QByteArray can be used. A QByteArray can be converted to a Python string using the Python str() function.

QByteArray &assign(const char *data, uint size);

Not implemented.

char &at(uint i);

Not yet implemented.

int contains(const char &d);

Not yet implemented.

bool fill(const char &d, int size = -1);

Not yet implemented.

int find(const char &d, uint i = 0);

Not yet implemented.

void resetRawData(const char *data, uintsize);

Not implemented.

QByteArray &setRawData(const char *data, uintsize);

Not implemented.

QCanvas (Qt v2.2+)

QCanvas is fully implemented.

QCanvasEllipse (Qt v2.2+)

QCanvasEllipse is fully implemented.

QCanvasItem (Qt v2.2+)

QCanvasItem is fully implemented. However, it is not possible to create a sub-class of QCanvasItem. Instead you should sub-class from a more specific canvas item (i.e. QCanvasPolygonalItem, QCanvasSprite, QCanvasRectangle, QCanvasPolygon, QCanvasEllipse, QCanvasText or QCanvasLine).

QCanvasItemList (Qt v2.2+)

This class isn't implemented. Whenever a QCanvasItemList is the return type of a function or the type of an argument, a Python list of QCanvasItem instances is used instead.

QCanvasLine (Qt v2.2+)

QCanvasLine is fully implemented.

QCanvasPixmap (Qt v2.2+)

QCanvasPixmap is fully implemented.

QCanvasPixmapArray (Qt v2.2+)

QPixmapArray(QList<QPixmap> pixmaps, QList<QPoint> hotspots);

The pixmaps argument is a Python list of QPixmap instances, and the hotspots argument is a Python list of QPoint instances.

QCanvasPolygon (Qt v2.2+)

QCanvasPolygon is fully implemented.

QCanvasPolygonalItem (Qt v2.2+)

QCanvasPolygonalItem is fully implemented.

QCanvasRectangle (Qt v2.2+)

QCanvasRectangle is fully implemented.

QCanvasSprite (Qt v2.2+)

QCanvasSprite is fully implemented.

QCanvasText (Qt v2.2+)

QCanvasText is fully implemented.

QCanvasView (Qt v2.2+)

QCanvasView is fully implemented.

QCDEStyle (Qt v2+)

QCDEStyle is fully implemented.

QCheckBox

QCheckBox is fully implemented.

QClipboard

void *data const(const char *format);

Not yet implemented (Qt v1.x).

void setData(const char *format, void *);

Not yet implemented (Qt v1.x).

QColor

void hsv(int *h, int *s, int *v);

This takes no parameters and returns the h, s and v values as a tuple.

void rgb(int *r, int *g, int *b);

This takes no parameters and returns the r, g and b values as a tuple.

QColorDialog (Qt v2+)

QColorDialog is fully implemented.

QColorGroup

QColorGroup is fully implemented.

QComboBox

QComboBox is fully implemented.

QCommonStyle (Qt v2+)

virtual void getButtonShift(int &x, int &y);

This takes no parameters and returns a tuple of the x and y values.

virtual void tabbarMetrics(const QTabBar *t, int &hframe, int &vframe, int &overlap);

This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values.

QCString (Qt v2+)

A Python string can be used whenever a QCString can be used. A QCString can be converted to a Python string using the Python str() function.

QCString &sprintf(const char *format, ...);

Not implemented.

short toShort(bool *ok = 0);

Not yet implemented.

ushort toUShort(bool *ok = 0);

Not yet implemented.

int toInt(bool *ok = 0);

Not yet implemented.

uint toUInt(bool *ok = 0);

Not yet implemented.

long toLong(bool *ok = 0);

Not yet implemented.

ulong toULong(bool *ok = 0);

Not yet implemented.

float toFloat(bool *ok = 0);

Not yet implemented.

double toDouble(bool *ok = 0);

Not yet implemented.

QCursor

QCursor is fully implemented.

QDate

static bool isValid(int y, int m, int d);

This has been renamed to isValidDate in Python.

QDateTime

QDateTime is fully implemented.

QTime

static bool isValid(int h, int m, int s, int ms = 0);

This has been renamed to isValidTime in Python.

QDial (Qt v2.2+)

QDial is fully implemented.

QDialog

int exec();

This has been renamed to exec_loop in Python.

QDir

QDir is fully implemented.

QFileInfoList

This class isn't implemented. Whenever a QFileInfoList is the return type of a function or the type of an argument, a Python list of instances is used instead.

QDragObject

QDragObject is fully implemented.

QImageDrag

QImageDrag is fully implemented.

QStoredDrag

QStoredDrag is fully implemented.

QTextDrag

QTextDrag is fully implemented.

QUriDrag (Qt v2+)

QUriDrag is fully implemented.

QUrlDrag (Qt v1.x)

QUrlDrag is fully implemented.

QDropSite

QDropSite is fully implemented.

QEvent

QEvent is fully implemented.

Instances of QEvents are automatically converted to the correct sub-class.

QChildEvent

QChildEvent is fully implemented.

QCloseEvent

QCloseEvent is fully implemented.

QCustomEvent

QCustomEvent is fully implemented.

QDragEnterEvent

QDragEnterEvent is fully implemented.

QDragLeaveEvent

QDragLeaveEvent is fully implemented.

QDragMoveEvent

QDragMoveEvent is fully implemented.

QDragResponseEvent

QDragResponseEvent is fully implemented.

QDropEvent

QDropEvent is fully implemented.

QFocusEvent

QFocusEvent is fully implemented.

QHideEvent

QHideEvent is fully implemented.

QKeyEvent

QKeyEvent is fully implemented.

QMouseEvent

QMouseEvent is fully implemented.

QMoveEvent

QMoveEvent is fully implemented.

QPaintEvent

QPaintEvent is fully implemented.

QResizeEvent

QResizeEvent is fully implemented.

QShowEvent

QShowEvent is fully implemented.

QTimerEvent

QTimerEvent is fully implemented.

QWheelEvent (Qt v2+)

QWheelEvent is fully implemented.

QFile

static bool exists(const char *fileName);

This has been renamed to fileExists in Python.

static bool remove(const char *fileName);

This has been renamed to removeFile in Python.

bool open(int m, FILE *f);

Not implemented.

int readBlock(char *data, uint len);

This takes a single len parameter. The data is returned if there was no error, otherwise Py_None is returned.

int readLine(char *data, uint maxlen);

This takes a single maxlen parameter. The data is returned if there was no error, otherwise Py_None is returned.

static void setDecodingFunction(EncoderFn f);

Not yet implemented. (Qt v2+)

static void setEncodingFunction(EncoderFn f);

Not yet implemented. (Qt v2+)

int writeBlock(const char *data, uint len);

len is derived from data and not passed as a parameter.

QFileDialog

QFileDialog is fully implemented.

QFileIconProvider

QFileIconProvider is fully implemented.

QFilePreview

QFilePreview is fully implemented.

QFileInfo

QFileInfo is fully implemented.

QFont

QFont is fully implemented.

QFontDatabase (Qt v2.1+)

QValueList<int> pointSizes(const QString &family, const QString &style = QString::null, const QString &charSet = QString::null);

This returns a Python list of sizes.

QValueList<int> smoothSizes(const QString &family, const QString &style, const QString &charSet = QString::null);

This returns a Python list of sizes.

QValueList<int> standardSizes();

This returns a Python list of sizes.

QFontDialog (Qt v2+)

static QFont getFont(bool *ok, const QFont &def, QWidget *parent = 0, const char *name = 0);

This takes the def, parent and name parameters and returns a tuple containing the QFont result and the ok value.

static QFont getFont(bool *ok, QWidget *parent = 0, const char *name = 0);

This takes the parent and name parameters and returns a tuple containing the QFont result and the ok value.

QFontInfo

QFontInfo is fully implemented.

QFontMetrics

QRect boundingRect(int x, int y, int w, int h, int flags, const char *str, int len = -1, int tabstops = 0, int *tabarray = 0, char **intern = 0);

Not yet implemented.

QSize size(int flags, const char *str, int len = -1, int tabstops = 0, int *tabarray = 0, char **intern = 0);

Not yet implemented.

QFrame

QFrame is fully implemented.

QGManager (Qt v1.x)

QGManager is fully implemented.

QChain (Qt v1.x)

QChain is implemented as an opaque class.

QGrid (Qt v2+)

QGrid is fully implemented.

QGroupBox

QGroupBox is fully implemented.

QHBox (Qt v2+)

QHBox is fully implemented.

QHButtonGroup (Qt v2+)

QHButtonGroup is fully implemented.

QHeader

QHeader is fully implemented.

QHGroupBox (Qt v2+)

QHGroupBox is fully implemented.

QHostAddress (Qt v2.2+)

QHostAddress(Q_UINT8 *ip6Addr);

Not yet implemented.

void setAddress(Q_UINT8 *ip6Addr);

Not yet implemented.

QIconSet

QIconSet is fully implemented.

QIconView (Qt v2.1+)

void dropped(QDropEvent *e, const QValueList<QIconDragItem> lst);

Not yet implemented.

QIconViewItem *makeRowLayout(QIconViewItem *begin, int &y);

Not yet implemented.

QIconViewItem (Qt v2.1+)

void dropped(QDropEvent *e, const QValueList<QIconDragItem> lst);

Not yet implemented.

QImage

QImage(const char *xpm[]);

This takes a list of strings as its parameter.

uchar *bits();

Not implemented.

QRgb *colorTable();

Not implemented.

QImage convertDepthWithPalette(int, QRgb *p, int pc, int cf = 0);

Not implemented.

uchar **jumpTable();

Not implemented.

bool loadFromData(const uchar *buf, uint len, const char *format = 0, ColorMode mode = Auto);

len is derived from buf and not passed as a parameter.

uchar *scanLine(int i);

Not implemented.

QInputDialog (Qt v2.1+)

static QString getText(const QString &caption, const QString &label, const QString &text = QString::null, bool *ok = 0, QWidget *parent = 0, const char *name = 0);

The ok is not passed and the returned value is a tuple of the QString result and the ok flag.

static int getInteger(const QString &caption, const QString &label, int num = 0, int from = -2147483647, int to = 2147483647, int step = 1, bool *ok = 0, QWidget *parent = 0, const char *name = 0);

The ok is not passed and the returned value is a tuple of the int result and the ok flag.

static double getDouble(const QString &caption, const QString &label, double num = 0, double from = -2147483647, double to = 2147483647, int step = 1, bool *ok = 0, QWidget *parent = 0, const char *name = 0);

The ok is not passed and the returned value is a tuple of the double result and the ok flag.

static QString getItem(const QString &caption, const QString &label, const QStringList &list, int current = 0, bool editable = TRUE, bool *ok = 0, QWidget *parent = 0, const char *name = 0);

The ok is not passed and the returned value is a tuple of the QString result and the ok flag.

QInterlaceStyle (Qt v2.3+)

void scrollBarMetrics(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);

This takes only the sb parameter and returns a tuple of the sliderMin, sliderMax, sliderLength and buttonDim values.

QIODevice

QIODevice is fully implemented.

QLabel

QLabel is fully implemented.

QLayout

QLayout is fully implemented.

QBoxLayout

QBoxLayout is fully implemented.

QGLayoutIterator (Qt v2+)

QGLayoutIterator is fully implemented.

QGridLayout

bool findWidget(QWidget *w, int *row, int *col);

This takes the w parameter and returns a tuple containing the bool result, row and col. (Qt v2+)

QHBoxLayout

QHBoxLayout is fully implemented.

QLayoutItem (Qt v2+)

QLayoutItem is fully implemented.

QLayoutIterator (Qt v2+)

QLayoutIterator is fully implemented.

QSpacerItem (Qt v2+)

QSpacerItem is fully implemented.

QVBoxLayout

QVBoxLayout is fully implemented.

QWidgetItem (Qt v2+)

QWidgetItem is fully implemented.

QLCDNumber

QLCDNumber is fully implemented.

QLineEdit

QLineEdit is fully implemented.

QListBox

bool itemYPos(int index, int *yPos);

This takes the index parameter and returns a tuple containing the bool result and yPos. (Qt v1.x)

QListBoxItem

QListBoxItem is fully implemented.

QListBoxPixmap

QListBoxPixmap is fully implemented.

QListBoxText

QListBoxText is fully implemented.

QListView

QListView is fully implemented.

Note that to remove a child QListViewItem you must first call takeItem() and then del().

QListViewItem

QListViewItem is fully implemented.

Note that to remove a child QListViewItem you must first call takeItem() and then del().

QCheckListItem

QCheckListItem is fully implemented.

QMainWindow

bool getLocation(QToolBar *tb, ToolBarDock &dock, int &index, bool &nl, int &extraOffset);

This takes only the tb parameter and returns a tuple of the result, dock, index, nl and extraOffset values. (Qt v2.1.0+)

QList<QToolBar> toolBars(ToolBarDock dock);

This returns a list of QToolBar instances. (Qt v2.1.0+)

QMenuBar

QMenuBar is fully implemented.

QMenuData

QMenuItem *findItem(int id);

Not implemented.

QMenuItem *findItem(int id, QMenuData **parent);

Not implemented.

QMenuItem *findPopup(QPopupMenu *popup, int *index = 0);

Not implemented.

QCustomMenuItem (Qt v2.1+)

QCustomMenuItem is fully implemented.

QMessageBox

QMessageBox is fully implemented.

QMimeSource (Qt v2+)

QMimeSource is fully implemented.

QMimeSourceFactory (Qt v2+)

QMimeSourceFactory is fully implemented.

QMotifPlusStyle (Qt v2.2+)

void drawMenuBarItem(QPainter *p, int x, int y, int w, int h, QMenuItem *mi, const QColorGroup &g, bool enabled, bool activated);

Not implemented.

void drawPopupMenuItem(QPainter *p, bool checkable, int maxpmw, int tab, QMenuItem *mi, const QPalette &pal, bool act, bool enabled, int x, int y, int w, int h);

Not implemented.

void getButtonShift(int &x, int &y);

This takes no parameters and returns a tuple of the x and y values.

void scrollBarMetrics(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);

This takes only the sb parameter and returns a tuple of the sliderMin, sliderMax, sliderLength and buttonDim values.

QMotifStyle (Qt v2+)

void drawPopupMenuItem(QPainter *p, bool checkable, int maxpmw, int tab, QMenuItem *mi, const QPalette &pal, bool act, bool enabled, int x, int y, int w, int h);

Not implemented.

int extraPopupMenuItemWidth(bool checkable, int maxpmw, QMenuItem *mi, const QFontMetrics &fm);

Not implemented.

int popupMenuItemHeight(bool checkable, QMenuItem *mi, const QFontMetrics &fm);

Not implemented.

void scrollBarMetrics(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);

This takes only the sb parameter and returns a tuple of the sliderMin, sliderMax, sliderLength and buttonDim values.

void tabbarMetrics(const QTabBar *t, int &hframe, int &vframe, int &overlap);

This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values.

QMovie

QMovie(QDataSource *src, int bufsize = 1024);

Not implemented.

void pushData(const uchar *data, int length);

length is derived from data and not passed as a parameter. (Qt v2.2.0+)

QMultiLineEdit

void cursorPosition const(int *line, int *col);

This takes no parameters and returns a tuple of the line and col values.

virtual void del();

This has been renamed deleteChar in Python.

void getCursorPosition const(int *line, int *col);

This takes no parameters and returns a tuple of the line and col values.

bool getMarkedRegion(int *line1, int *col1, int *line2, int *col2);

This takes no parameters and returns a tuple of the line1, col1, line2 and col2 values.

QNetworkOperation (Qt v2.1+)

QNetworkOperation is fully implemented.

QNetworkProtocol (Qt v2.1+)

void newChildren(const QValueList<QUrlInfo> &i, QNetworkOperation *op);

Not yet implemented.

QNetworkProtocolFactoryBase (Qt v2.1+)

QNetworkProtocolFactoryBase is fully implemented.

QObject

bool connect(const QObject *sender, const char *signal, const char *member);

Not yet implemented.

bool disconnect(const QObject *receiver, const char *member = 0);

Not yet implemented.

bool disconnect(const char *signal = 0, const QObject *receiver = 0, const char *member = 0);

Not yet implemented.

virtual QMetaObject *metaObject();

Not implemented.

QObjectList

This class isn't implemented. Whenever a QObjectList is the return type of a function or the type of an argument, a Python list of QObject instances is used instead.

QPaintDeviceMetrics

QPaintDeviceMetrics is fully implemented.

QPainter

QRect boundingRect(int x, int y, int w, int h, int flags, const char *str, int len = -1, char **intern = 0);

The intern parameter is not supported.

QRect boundingRect(const QRect&, int flags, const char *str, int len = -1, char **intern = 0);

The intern parameter is not supported.

void drawText(int x, int y, int w, int h, int flags, const char *str, int len = -1, QRect *br = 0, char **intern = 0);

The intern parameter is not supported.

void drawText(const QRect&, int flags, const char *str, int len = -1, QRect *br = 0, char **intern = 0);

The intern parameter is not supported.

void setTabArray(int *ta);

This takes a single parameter which is a list of tab stops.

int *tabArray();

This returns a list of tab stops.

QPalette

QPalette is fully implemented.

QPicture

const char *data();

Not implemented.

void setData(const char *data, uint size);

size is derived from data and not passed as a parameter.

QPlatinumStyle (Qt v2+)

void drawPopupMenuItem = 0(QPainter *p, bool checkable, int maxpmw, int tab, QMenuItem *mi, const QPalette &pal, bool act, bool enabled, int x, int y, int w, int h);

Not implemented.

int extraPopupMenuItemWidth = 0(bool checkable, int maxpmw, QMenuItem *mi, const QFontMetrics &fm);

Not implemented.

int popupMenuItemHeight = 0(bool checkable, QMenuItem *mi, const QFontMetrics &fm);

Not implemented.

void scrollBarMetrics(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);

This takes only the sb parameter and returns a tuple of the sliderMin, sliderMax, sliderLength and buttonDim values.

QPoint

QCOORD& rx();

Not implemented.

QCOORD& ry();

Not implemented.

QPointArray

QPointArray(int nPoints, const QCOORD *points);

This takes a single parameter which is a list of points.

void point(uint i, int *x, int *y);

This takes the single parameter i and returns the x and y values as a tuple.

bool putPoints(int index, int nPoints, const QCOORD *points);

This takes two parameters, index and a list of points.

bool putPoints(int index, int nPoints, int firstx, int firsty, ...);

Not implemented.

bool setPoints(int nPoints, const QCOORD *points);

This takes a single parameter which is a list of points.

bool setPoints(int nPoints, int firstx, int firsty, ...);

Not implemented.

QPopupMenu

void drawItem(QPainter *p, int tab, QMenuItem *mi, bool act, int x, int y, int w, int h);

Not implemented. (Qt v2+)

int exec();

This has been renamed exec_loop in Python.

int exec(const QPoint &pos, int indexAtPoint = 0);

This has been renamed exec_loop in Python.

int itemHeight const(QMenuItem *mi);

Not implemented. (Qt v2+)

QPrintDialog

QPrintDialog is fully implemented (X11 only).

QPrinter

QPrinter is fully implemented.

QProgressBar

QProgressBar is fully implemented.

QProgressDialog

int minimumDuration();

This has been made a member function rather than a slot because it returns a value.

QPushButton

QPushButton is fully implemented.

QRadioButton

QRadioButton is fully implemented.

QRangeControl

QRangeControl is fully implemented.

QRect

void coords(int *x1, int *y1, int *x2, int *y2);

This takes no parameters and returns a tuple containing the four values.

void rect(int *x, int *y, int *w, int *h);

This takes no parameters and returns a tuple containing the four values.

QCOORD &rBottom();

Not implemented. (Qt v2+)

QCOORD &rLeft();

Not implemented. (Qt v2+)

QCOORD &rRight();

Not implemented. (Qt v2+)

QCOORD &rTop();

Not implemented. (Qt v2+)

QRegExp

int match(const char *str, int index = 0, int *len = 0);

This takes str and index parameters and returns a tuple of the int result and the len value. (Qt v1.x)

int match(const QString &str, int index = 0, int *len = 0);

This takes str and index parameters and returns a tuple of the int result and the len value. (Qt v2+)

QRegion

QArray<QRect> rects();

Not implemented.

void setRects(QRect *rects, int num);

Not yet implemented. (Qt v2.2+)

QScrollBar

QScrollBar is fully implemented.

QScrollView

void contentsToViewport(int x, int y, int &vx, int &vy);

This takes the x and y parameters and returns a tuple containing the vx and vy values. (Qt v2+)

void viewportToContents(int vx, int vy, int &x, int &y);

This takes the vx and vy parameters and returns a tuple containing the x and y values. (Qt v2+)

QSemiModal

QSemiModal is fully implemented.

QServerSocket (Qt v2.2+)

QSocketDevice *socketDevice();

Not yet implemented.

QSessionManager (Qt v2+)

QSessionManager is fully implemented.

QSimpleRichText (Qt v2+)

QSimpleRichText is fully implemented.

QSizeGrip (Qt v2+)

QSizeGrip is fully implemented.

QSlider

QSlider is fully implemented.

QSocket (Qt v2.2+)

int readBlock(char *data, uint len);

This takes a single len parameter. The data is returned if there was no error, otherwise Py_None is returned.

int readLine(char *data, uint maxlen);

This takes a single maxlen parameter. The data is returned if there was no error, otherwise Py_None is returned.

QSocketDevice *socketDevice();

Not yet implemented.

int writeBlock(const char *data, uint len);

len is derived from data and not passed as a parameter.

QSocketNotifier

QSocketNotifier is fully implemented.

QSpinBox

virtual int mapTextToValue(bool *ok);

This returns a tuple of the int result and the modified ok value.

QSplitter

void getRange(int id, int *min, int *max);

This takes the id parameter and returns the min and max values as a tuple. (Qt v2+)

void setSizes(QValueList<int> list);

This takes a single parameter which is a Python list of sizes. (Qt v2+)

QValueList<int> sizes const();

This returns a Python list of sizes. (Qt v2+)

QStatusBar

QStatusBar is fully implemented.

QChar (Qt v2+)

uchar &cell const();

Not implemented.

uchar &row const();

Not implemented.

QString

A Python string object (or Unicode object) can be used whenever a QString can be used. A QString can be converted to a Python string object using the Python str() function, and to a Python Unicode object using the Python unicode() function.

QCharRef at(uint i);

Not yet implemented. (Qt v2+)

int compare const(const QString &s);

Not implemented. (Qt v2+)

QChar constref const(uint i);

Not yet implemented. (Qt v2+)

QChar &ref(uint i);

Not yet implemented. (Qt v2+)

QString &setUnicodeCodes(const ushort *unicode_as_shorts, uint len);

Not yet implemented. (Qt v2.1+)

QString &sprintf(const char *format, ...);

Not implemented.

short toShort(bool *ok = 0);

Not yet implemented.

ushort toUShort(bool *ok = 0);

Not yet implemented.

int toInt(bool *ok = 0);

Not yet implemented.

uint toUInt(bool *ok = 0);

Not yet implemented.

long toLong(bool *ok = 0);

Not yet implemented.

ulong toULong(bool *ok = 0);

Not yet implemented.

float toFloat(bool *ok = 0);

Not yet implemented.

double toDouble(bool *ok = 0);

Not yet implemented.

QStringList (Qt v2+)

The Python len, [] (for read only) and in operators are supported.

Iterator append(const QString &x);

This does not return a value.

Iterator prepend(const QString &x);

This does not return a value.

QStrList

This class isn't implemented. Whenever a QStrList is the return type of a function or the type of an argument, a Python list of strings is used instead.

QStyle (Qt v2+)

virtual void drawPopupMenuItem = 0(QPainter *p, bool checkable, int maxpmw, int tab, QMenuItem *mi, const QPalette &pal, bool act, bool enabled, int x, int y, int w, int h);

Not implemented.

void drawMenuBarItem(QPainter *p, int x, int y, int w, int h, QMenuItem *mi, const QColorGroup &g, bool enabled, bool active);

Not implemented. (Qt v2.2+)

virtual int extraPopupMenuItemWidth = 0(bool checkable, int maxpmw, QMenuItem *mi, const QFontMetrics &fm);

Not implemented.

virtual void getButtonShift(int &x, int &y);

This takes no parameters and returns a tuple of the x and y values.

virtual int popupMenuItemHeight = 0(bool checkable, QMenuItem *mi, const QFontMetrics &fm);

Not implemented.

virtual void scrollBarMetrics(const QScrollBar *b, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);

Thus takes only the b parameter and returns a tuple of the sliderMin, sliderMax, sliderLength and buttonDim values.

virtual void tabbarMetrics(const QTabBar *t, int &hframe, int &vframe, int &overlap);

This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values.

QStyleSheet (Qt v2+)

QStyleSheet is fully implemented.

QStyleSheetItem (Qt v2+)

QStyleSheetItem is fully implemented.

QTab

QTab is fully implemented.

QTabBar

QList<QTab> tabList();

This returns a list of QTab instances.

QTabDialog

QTabDialog is fully implemented.

QTable (Qt v2.2+)

QTable is fully implemented.

QTableHeader (Qt v2.2+)

QTableHeader is fully implemented.

QTableItem (Qt v2.2+)

QTableItem is fully implemented.

QTableSelection (Qt v2.2+)

QTableSelection is fully implemented.

QTableView

bool colXPos(int col, int *xPos);

This takes the col parameter and returns a tuple containing the bool result and xPos.

bool rowYPos(int row, int *yPos);

This takes the row parameter and returns a tuple containing the bool result and yPos.

QTabWidget (Qt v2+)

QTabWidget is fully implemented.

QTextBrowser (Qt v2+)

QTextBrowser is fully implemented.

QTextCodec (Qt v2+)

virtual QCString fromUnicode(const QString &uc, int &lenInOut);

The returned value is a tuple of the QCString result and the updated lenInOut.

QTextDecoder (Qt v2+)

QTextDecoder is fully implemented.

QTextEncoder (Qt v2+)

virtual QCString fromUnicode = 0(const QString &uc, int &lenInOut);

The returned value is a tuple of the QCString result and the updated lenInOut.

QTextStream

QTextStream(FILE *fp, int mode);

Not implemented.

QTextStream &readRawBytes(char *buf, uint len);

Not yet implemented.

QTextStream &writeRawBytes(const char *buf, uint len);

Not yet implemented.

QTextIStream (Qt v2+)

QTextIStream(FILE *fp, int mode);

Not implemented.

QTextOStream (Qt v2+)

QTextOStream(FILE *fp, int mode);

Not implemented.

QTextView (Qt v2+)

QTextView is fully implemented.

QTimer

QTimer is fully implemented.

QToolBar

QToolBar is fully implemented.

QToolButton

QToolButton is fully implemented.

QToolTip

QToolTip is fully implemented.

QToolTipGroup

QToolTipGroup is fully implemented.

QTranslator (Qt v2+)

QTranslator is fully implemented.

QUrl (Qt v2.1+)

QUrl is fully implemented.

QUrlInfo (Qt v2.1+)

QUrlInfo is fully implemented.

QUrlOperator (Qt v2.1+)

virtual QList< QNetworkOperation> copy(const QString &from, const QString &to, bool move = FALSE);

This returns a Python list of QNetworkOperation instances.

virtual bool isDir(bool *ok);

This returns a tuple of the bool result and the ok value.

void newChildren(const QValueList<QUrlInfo> &i, QNetworkOperation *op);

Not yet implemented.

void startedNextCopy(const QValueList<QUrlInfo> &i);

Not yet implemented.

QValidator

virtual State validate(QString& input, int& pos);

The returned value is a tuple of the State result and the updated pos.

QDoubleValidator

State validate(QString& input, int& pos);

The returned value is a tuple of the State result and the updated pos.

QIntValidator

State validate(QString& input, int& pos);

The returned value is a tuple of the State result and the updated pos.

QVariant (Qt v2.1+)

QVariant(const QDataStream &s);

Not implemented.

QVariant(const QValueList<QVariant> &val);

Not implemented.

QVariant(const QMap<QString,QVariant> &val);

Not implemented.

bool &asBool();

Not implemented.

double &asDouble();

Not implemented.

int &asInt();

Not implemented.

QValueList<QVariant> &asList();

Not implemented.

QMap<QString,QVariant> &asMap();

Not implemented.

uint &asUInt();

Not implemented.

QValueListConstIterator<QVariant>listBegin const();

Not implemented.

QValueListConstIterator<QVariant>listEnd const();

Not implemented.

void load(QDataStream &s);

Not implemented.

QMapConstIterator<QString,QVariant>mapBegin const();

Not implemented.

QMapConstIterator<QString,QVariant>mapEnd const();

Not implemented.

QMapConstIterator<QString,QVariant>mapFind const(const QString &key);

Not implemented.

void save const(QDataStream &s);

Not implemented.

QValueListConstIterator<QString>stringListBegin const();

Not implemented.

QValueListConstIterator<QString>stringListEnd const();

Not implemented.

const QValueList<QVariant>toList const();

Not implemented.

const QMap<QString,QVariant>toMap const();

Not implemented.

QVBox (Qt v2+)

QVBox is fully implemented.

QVButtonGroup (Qt v2+)

QVButtonGroup is fully implemented.

QVGroupBox (Qt v2+)

QVGroupBox is fully implemented.

QWhatsThis

QWhatsThis is fully implemented.

QWidget

virtual void customEvent(QCustomEvent *e);

Not implemented. (Qt v2+)

QWExtra *extraData();

Not implemented.

QFocusData *focusData();

Not implemented.

void lower();

This has been renamed to lowerW in Python.

void raise();

This has been renamed to raiseW in Python.

QWidgetList

This class isn't implemented. Whenever a QWidgetList is the return type of a function or the type of an argument, a Python list of instances is used instead.

QWidgetStack

QWidgetStack is fully implemented.

QWindow

QWindow is fully implemented (Qt v1.x).

QWindowsStyle (Qt v2+)

void drawPopupMenuItem = 0(QPainter *p, bool checkable, int maxpmw, int tab, QMenuItem *mi, const QPalette &pal, bool act, bool enabled, int x, int y, int w, int h);

Not implemented.

int extraPopupMenuItemWidth = 0(bool checkable, int maxpmw, QMenuItem *mi, const QFontMetrics &fm);

Not implemented.

void getButtonShift(int &x, int &y);

This takes no parameters and returns a tuple of the x and y values.

int popupMenuItemHeight = 0(bool checkable, QMenuItem *mi, const QFontMetrics &fm);

Not implemented.

void scrollBarMetrics(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);

This takes only the sb parameter and returns a tuple of the sliderMin, sliderMax, sliderLength and buttonDim values.

void tabbarMetrics(const QTabBar *t, int &hframe, int &vframe, int &overlap);

This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values.

QWizard (Qt v2+)

QWizard is fully implemented.

QWMatrix

QWMatrix invert const(bool *invertible = 0);

This takes no parameters and returns a tuple of the QWMatrix result and the invertible value.

void map const(int x, int y, int *tx, int *ty);

This takes the x and y parameters and returns a tuple containing the tx and ty values.

void map const(float x, float y, float *tx, float *ty);

This takes the x and y parameters and returns a tuple containing the tx and ty values. (Qt v1.x)

void map const(double x, double y, double *tx, double *ty);

This takes the x and y parameters and returns a tuple containing the tx and ty values. (Qt v2+)

QWorkspace (Qt v2.1+)

QWorkspace is fully implemented.