All constant values defined by Qt have equivalent constants defined to Python.
Qt is fully implemented.
QAccel is fully implemented.
QAction is fully implemented.
QActionGroup is fully implemented.
This takes one parameter which is a list of argument strings. Arguments used by Qt are removed from the list.
Not implemented.
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+)
This has been renamed to exec_loop in Python.
QAssistantClient is fully implemented.
QBitmap is fully implemented.
QBrush is fully implemented.
QButton is fully implemented.
QButtonGroup is fully implemented.
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.
Not implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not implemented.
Not implemented.
QCDEStyle is fully implemented.
QCheckBox is fully implemented.
This takes no parameters and returns the h, s and v values as a tuple.
This takes no parameters and returns the h, s and v values as a tuple.
This takes no parameters and returns the r, g and b values as a tuple.
This takes the initial, parent and name parameters and returns a tuple containing the QRgb result and the ok value.
QColorGroup is fully implemented.
QComboBox is fully implemented.
This takes no parameters and returns a tuple of the x and y values. (Qt v2)
This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values. (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.
Not implemented.
This returns a tuple of the short result and the ok value.
This returns a tuple of the ushort result and the ok value.
This returns a tuple of the int result and the ok value.
This returns a tuple of the uint result and the ok value.
This returns a tuple of the long result and the ok value.
This returns a tuple of the ulong result and the ok value.
This returns a tuple of the float result and the ok value.
This returns a tuple of the double result and the ok value.
QCursor is fully implemented.
This takes no parameters. The QDataStream result and the data read are returned as a tuple.
This takes only the l parameter. The QDataStream result and the data read are returned as a tuple.
len is derived from s and not passed as a parameter.
len is derived from s and not passed as a parameter.
This takes no parameters and returns the week number and the year number as a tuple. (Qt v3.1+)
QDateTime is fully implemented.
QTime is fully implemented.
QDateEdit is fully implemented.
QTimeEdit is fully implemented.
QDateTimeEdit is fully implemented.
QDesktopWidget is fully implemented.
QDial is fully implemented.
QDir is fully implemented.
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.
This takes the w parameter and returns the index of the QDockWIndow or -1 if the QDockArea does not contain the QDockWindow.
QDockWindow is fully implemented.
QColorDrag is fully implemented.
QDragObject is fully implemented.
QImageDrag is fully implemented.
QStoredDrag is fully implemented.
QTextDrag is fully implemented.
QUriDrag is fully implemented.
QUrlDrag is fully implemented.
QDropSite is fully implemented.
QErrorMessage is fully implemented.
QEvent is fully implemented.
Instances of QEvents are automatically converted to the correct sub-class.
QChildEvent is fully implemented.
QCloseEvent is fully implemented.
QContextMenuEvent is fully implemented.
QCustomEvent is fully implemented. Any Python object can be passed as the event data and its reference count is increased.
QDragEnterEvent is fully implemented.
QDragLeaveEvent is fully implemented.
QDragMoveEvent is fully implemented.
QDropEvent is fully implemented.
QFocusEvent is fully implemented.
QHideEvent is fully implemented.
QIMComposeEvent is fully implemented.
QIMEvent is fully implemented.
QKeyEvent is fully implemented.
QMouseEvent is fully implemented.
QMoveEvent is fully implemented.
QPaintEvent is fully implemented.
QResizeEvent is fully implemented.
QShowEvent is fully implemented.
QTabletEvent is fully implemented.
QTimerEvent is fully implemented.
QWheelEvent is fully implemented.
Not implemented.
This takes a single len parameter. The data is returned if there was no error, otherwise None is returned.
This takes a single maxlen parameter. The data is returned if there was no error, otherwise None is returned.
Not yet implemented. (Qt v2+)
Not yet implemented. (Qt v2+)
len is derived from data and not passed as a parameter.
QFileDialog is fully implemented.
QFileIconProvider is fully implemented.
QFilePreview is fully implemented.
QFileInfo is fully implemented.
QFont is fully implemented.
QFontDatabase is fully implemented.
This takes the def, parent and name parameters and returns a tuple containing the QFont result and the ok value.
This takes the parent and name parameters and returns a tuple containing the QFont result and the ok value.
QFontInfo is fully implemented.
QRect boundingRect
(int x, int y, int w, int h, int flags, const QString &str, int len = -1, int tabstops = 0, int *tabarray = 0);The tabarray parameter is a Python list of integers.
The tabarray parameter is a Python list of integers.
QFrame is fully implemented.
QGManager is fully implemented.
QChain is implemented as an opaque class.
QGrid is fully implemented.
QGridView is fully implemented.
QGroupBox is fully implemented.
QHBox is fully implemented.
QHButtonGroup is fully implemented.
QHeader is fully implemented.
QHGroupBox is fully implemented.
QIconSet is fully implemented.
QIconFactory is fully implemented.
QIconViewItem is fully implemented.
QIconDrag is fully implemented.
QIconDragItem is fully implemented.
This takes a list of strings as its parameter.
The colorTable parameter is a list of QRgb instances or None. (Qt v2.1+)
The return value is a sip.voidptr object which is only useful if passed to another Python module.
The return value is a sip.voidptr object which is only useful if passed to another Python module.
Not implemented.
The return value is a sip.voidptr object which is only useful if passed to another Python module.
len is derived from buf and not passed as a parameter.
The return value is a sip.voidptr object which is only useful if passed to another Python module.
QImageTextKeyLang is fully implemented.
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. (Qt v2.1 - v2.3.1)
static QString getText
(const QString &caption, const QString &label, QLineEdit::EchoModeecho, 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. (Qt v2.2 - v2.3.1)
static QString getText
(const QString &caption, const QString &label, QLineEdit::EchoModeecho = QLineEdit::Normal, 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. (Qt v3+)
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.
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 is fully implemented.
QKeySequence is fully implemented including the operators QString() and int(). A QString instance or a Python integer may be used whenever a QKeySequence can be used.
QLabel is fully implemented.
QLayout is fully implemented.
QBoxLayout is fully implemented.
QGLayoutIterator is fully implemented.
This takes the w parameter and returns a tuple containing the bool result, row and col. (Qt v2+)
QHBoxLayout is fully implemented.
QLayoutItem is fully implemented.
QLayoutIterator is fully implemented.
QSpacerItem is fully implemented.
QVBoxLayout is fully implemented.
QWidgetItem is fully implemented.
QLCDNumber is fully implemented.
QLibrary is fully implemented.
This takes only the xpos parameter and returns the int result and the chr value as a tuple. (Qt v3+)
This has been renamed delChar in Python. (Qt v2+)
This takes no parameters and returns the bool result and the start and end values as a tuple. (Qt v3+)
Types based on the QList template are automatically converted to and from Python lists of the type.
This takes the index parameter and returns a tuple containing the bool result and yPos. (Qt v1.x)
QListBoxItem is fully implemented.
QListBoxPixmap is fully implemented.
QListBoxText is fully implemented.
QListView is fully implemented.
Note that to remove a child QListViewItem you must first call takeItem() and then del().
QListViewItem is fully implemented.
Note that to remove a child QListViewItem you must first call takeItem() and then del().
QCheckListItem is fully implemented.
This operator is fully implemented. (Qt v3+)
This operator is fully implemented. (Qt v3+)
This takes only the tb parameter and returns a tuple of the result, dock, index, nl and extraOffset values. (Qt v2.1.0+)
This returns a list of QToolBar instances. (Qt v2.1.0+)
Types based on the QMemArray template are automatically converted to and from Python lists of the type.
QMenuBar is fully implemented.
QCustomMenuItem is fully implemented.
QMenuItem is an internal Qt class.
QMessageBox is fully implemented.
QMimeSource is fully implemented.
QMimeSourceFactory is fully implemented.
QWindowsMime is fully implemented.
This takes no parameters and returns a tuple of the x and y values. (Qt v2)
void scrollBarMetrics
(const QScrollBar *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. (Qt v2)
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. (Qt v2)
This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values. (Qt v2)
This takes no parameters and returns a tuple of the line and col values. (Qt v1.x, Qt v2.x)
This has been renamed delChar in Python. (Qt v1.x, Qt v2.x)
This takes no parameters and returns a tuple of the line and col values. (Qt v1.x, Qt v2.x)
This takes no parameters and returns a tuple of the line1, col1, line2 and col2 values.
QMutex is fully implemented.
QMutexLocker is fully implemented.
QNetworkOperation is fully implemented.
QNetworkProtocol is fully implemented.
QNetworkProtocolFactoryBase is fully implemented.
Not yet implemented.
Not yet implemented.
static bool disconnect
(const QObject *sender, const char *signal, const QObject *receiver, const char *member);At the moment PyQt does not support the full behaviour of the corresponding Qt method. In particular, specifying None (ie. 0 in C++) for the signal and receiver parameters is not yet supported.
Not yet implemented.
QObjectCleanupHandler is fully implemented.
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 is fully implemented.
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.
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.
This takes a single parameter which is a list of tab stops.
This returns a list of tab stops.
QPalette is fully implemented.
This takes a list of strings as its parameter.
len is derived from buf and not passed as a parameter.
Not implemented.
QPixmapCache is fully implemented.
Types based on the QPair template are automatically converted to and from Python tuples of two elements.
QPen is fully 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. (Qt v2)
This takes a single parameter which is a list of points.
This takes the single parameter i and returns the x and y values as a tuple.
This takes two parameters, index and a list of points.
Not implemented.
This takes a single parameter which is a list of points.
Not implemented.
QPrintDialog is fully implemented.
QPrinter is fully implemented.
QProcess is fully implemented.
QProgressBar is fully implemented.
QProgressDialog is fully implemented. value.
Types based on the QPtrList template are automatically converted to and from Python lists of the type.
QPushButton is fully implemented.
QRadioButton is fully implemented.
QRangeControl is fully implemented.
This takes no parameters and returns a tuple containing the four values.
This takes no parameters and returns a tuple containing the four values.
Not implemented. (Qt v2+)
Not implemented. (Qt v2+)
Not implemented. (Qt v2+)
Not implemented. (Qt v2+)
This takes str and index parameters and returns a tuple of the int result and the len value. (Qt v1.x)
This takes str and index parameters and returns a tuple of the int result and the len value. (Qt v2+)
QScrollBar is fully implemented.
This takes the x and y parameters and returns a tuple containing the vx and vy values. (Qt v2+)
This takes the vx and vy parameters and returns a tuple containing the x and y values. (Qt v2+)
QSemaphore is fully implemented. The += and -= operators have also been implemented, but require Python v2.0 or later.
QSemiModal is fully implemented.
QSessionManager is fully implemented.
Not implemented.
The ok is not passed and the returned value is a tuple of the double result and the ok flag.
The ok is not passed and the returned value is a tuple of the QString result and the ok flag.
The ok is not passed and the returned value is a tuple of the QStringList result and the ok flag.
The ok is not passed and the returned value is a tuple of the QStringList result and the ok flag.
The ok is not passed and the returned value is a tuple of the int result and the ok flag.
Not implemented.
void scrollBarMetrics
(const QScrollBar *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. (Qt v2)
QSignalMapper is fully implemented.
QSimpleRichText is fully implemented.
QSizeGrip is fully implemented.
QSizePolicy is fully implemented.
QSlider is fully implemented.
QSocketNotifier is fully implemented.
QSound is fully implemented.
This returns a tuple of the int result and the modified ok value.
This takes the id parameter and returns the min and max values as a tuple. (Qt v2+)
QStatusBar is fully implemented.
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.
Not yet implemented. (Qt v2+)
Not yet implemented. (Qt v2+)
Not yet implemented. (Qt v2+)
Not yet implemented. (Qt v2.1+)
Not implemented.
This returns a tuple of the short result and the ok value.
This returns a tuple of the ushort result and the ok value.
This returns a tuple of the int result and the ok value.
This returns a tuple of the uint result and the ok value.
This returns a tuple of the long result and the ok value.
This returns a tuple of the ulong result and the ok value.
This returns a tuple of the float result and the ok value.
This returns a tuple of the double result and the ok value.
The Python len, [] (for both reading and writing slices and individual elements), del (for deleting slices and indivual elements), +, +=, *, *=, ==, != and in operators are supported.
This does not return a value.
This does not return a value.
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.
This takes no parameters and returns a tuple of the x and y values. (Qt v2)
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. (Qt v2)
This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values. (Qt v2)
QStyleOption is fully implemented.
QStyleSheet is fully implemented.
QStyleSheetItem is fully implemented.
QSyntaxHighlighter is fully implemented.
QTab is fully implemented.
QTabDialog is fully implemented.
This takes the col parameter and returns a tuple containing the bool result and xPos.
This takes the row parameter and returns a tuple containing the bool result and yPos.
QTabWidget is fully implemented.
QTextBrowser is fully implemented.
The returned value is a tuple of the QCString result and the updated lenInOut.
QTextDecoder is fully implemented.
The returned value is a tuple of the QCString result and the updated lenInOut.
This takes only the pos parameter and returns a tuple of the value returned via the para pointer and the int result.
This has been renamed delChar in Python.
virtual bool find
(const QString &expr, bool cs, bool wo, bool forward = TRUE, int *para = 0, int *index = 0);If the para and index 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 para and index is returned.
This takes no parameters and returns a tuple of the values returned via the para and index pointers.
This takes only the selNum parameter and returns a tuple of the paraFrom, indexFrom, paraTo and indexTo values.
QTextView is fully implemented.
QThread is fully implemented.
QTimer is fully implemented.
QToolBar is fully implemented.
QToolButton is fully implemented.
QToolTip is fully implemented.
QToolTipGroup is fully implemented.
QTranslator is fully implemented.
QTranslatorMessage is fully implemented.
QUrl is fully implemented.
QUrlInfo is fully implemented.
This returns a tuple of the bool result and the ok value.
The returned value is a tuple of the State result and the updated pos.
The returned value is a tuple of the State result and the updated pos.
The returned value is a tuple of the State result and the updated pos.
The returned value is a tuple of the State result and the updated pos.
Types based on the QValueList template are automatically converted to and from Python lists of the type.
Not implemented.
Not yet implemented. (Qt v3+)
Not yet implemented.
Not yet implemented.
Not yet implemented. (Qt v3+)
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not yet implemented. (Qt v3+)
Not yet implemented.
Not yet implemented.
QVBox is fully implemented.
QVButtonGroup is fully implemented.
QVGroupBox is fully implemented.
QWaitCondition is fully implemented.
QWhatsThis is fully implemented.
Not implemented.
Not implemented.
This has been renamed to lowerW in Python.
This has been renamed to raiseW in Python.
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 is fully implemented.
QWindow is fully implemented (Qt v1.x).
This takes no parameters and returns a tuple of the x and y values. (Qt v2)
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. (Qt v2)
This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values. (Qt v2)
QWindowsXPStyle is fully implemented.
QWizard is fully implemented.
This takes no parameters and returns a tuple of the QWMatrix result and the invertible value.
This takes the x and y parameters and returns a tuple containing the tx and ty values.
This takes the x and y parameters and returns a tuple containing the tx and ty values. (Qt v1.x)
This takes the x and y parameters and returns a tuple containing the tx and ty values. (Qt v2+)
QWorkspace is fully implemented.