Python Bindings for Qt (v2.3) | ||
---|---|---|
Prev |
Qt is fully implemented.
All constant values defined by Qt have equivalent constants defined to Python.
QPen 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.
QBitmap is fully implemented.
QSizePolicy is fully implemented.
QAccel is fully implemented.
QAction 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.
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.
QCanvas is fully implemented.
QCanvasEllipse is fully implemented.
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).
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 is fully implemented.
QCanvasPixmap is fully implemented.
The pixmaps argument is a Python list of QPixmap instances, and the hotspots argument is a Python list of QPoint instances.
QCanvasPolygon is fully implemented.
QCanvasPolygonalItem is fully implemented.
QCanvasRectangle is fully implemented.
QCanvasSprite is fully implemented.
QCanvasText is fully implemented.
QCanvasView is fully 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 r, g and b values as a tuple.
QColorDialog is fully implemented.
QColorGroup is fully implemented.
QComboBox is fully implemented.
This takes no parameters and returns a tuple of the x and y values.
This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values.
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.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
QCursor is fully implemented.
QDateTime is fully implemented.
This has been renamed to isValidTime in Python.
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.
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.
QEvent is fully implemented.
Instances of QEvents are automatically converted to the correct sub-class.
QChildEvent is fully implemented.
QCloseEvent is fully implemented.
QDragEnterEvent is fully implemented.
QDragLeaveEvent is fully implemented.
QDragMoveEvent is fully implemented.
QDragResponseEvent is fully implemented.
QDropEvent is fully implemented.
QFocusEvent is fully implemented.
QHideEvent 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.
QTimerEvent is fully implemented.
QWheelEvent is fully implemented.
This has been renamed to fileExists in Python.
This has been renamed to removeFile in Python.
Not implemented.
This takes a single len parameter. The data is returned if there was no error, otherwise Py_None is returned.
This takes a single maxlen parameter. The data is returned if there was no error, otherwise Py_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.
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.
This returns a Python list of sizes.
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 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 is fully implemented.
QGManager is fully implemented.
QChain is implemented as an opaque class.
QGrid 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.
Not yet implemented.
This takes a list of strings as its parameter.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
len is derived from buf and not passed as a parameter.
Not 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.
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.
QIODevice is fully implemented.
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.
QLineEdit is fully implemented.
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 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+)
QMenuBar is fully implemented.
QCustomMenuItem is fully implemented.
QMessageBox is fully implemented.
QMimeSource is fully implemented.
QMimeSourceFactory is fully implemented.
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.
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.
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.
Not implemented.
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.
This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values.
This takes no parameters and returns a tuple of the line and col values.
This has been renamed deleteChar in Python.
This takes no parameters and returns a tuple of the line and col values.
This takes no parameters and returns a tuple of the line1, col1, line2 and col2 values.
QNetworkOperation is fully implemented.
Not yet implemented.
QNetworkProtocolFactoryBase 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.
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.
Not implemented.
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.
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.
Not implemented. (Qt v2+)
This has been renamed exec_loop in Python.
This has been renamed exec_loop in Python.
Not implemented. (Qt v2+)
QPrintDialog is fully implemented (X11 only).
QPrinter is fully implemented.
QProgressBar is fully implemented.
This has been made a member function rather than a slot because it returns a value.
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+)
QSemiModal is fully implemented.
QSessionManager is fully implemented.
QSimpleRichText is fully implemented.
QSizeGrip is fully implemented.
QSlider is fully implemented.
This takes a single len parameter. The data is returned if there was no error, otherwise Py_None is returned.
This takes a single maxlen parameter. The data is returned if there was no error, otherwise Py_None is returned.
Not yet implemented.
len is derived from data and not passed as a parameter.
QSocketNotifier 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+)
This takes a single parameter which is a Python list of sizes. (Qt v2+)
This returns a Python list of sizes. (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 implemented. (Qt v2+)
Not yet implemented. (Qt v2+)
Not yet implemented. (Qt v2+)
Not yet implemented. (Qt v2.1+)
Not implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
Not yet implemented.
The Python len, [] (for read only) 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.
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.
This takes no parameters and returns a tuple of the x and y values.
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.
This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values.
QStyleSheet is fully implemented.
QStyleSheetItem is fully implemented.
QTab is fully implemented.
QTabDialog is fully implemented.
QTable is fully implemented.
QTableHeader is fully implemented.
QTableItem is fully implemented.
QTableSelection 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.
QTextView 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.
QUrl is fully implemented.
QUrlInfo is fully implemented.
This returns a Python list of QNetworkOperation instances.
This returns a tuple of the bool result and the ok value.
Not yet implemented.
Not yet implemented.
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.
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 implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
Not implemented.
QVBox is fully implemented.
QVButtonGroup is fully implemented.
QVGroupBox is fully implemented.
QWhatsThis is fully implemented.
Not implemented. (Qt v2+)
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).
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.
Not implemented.
This takes no parameters and returns a tuple of the x and y values.
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.
This takes only the t parameter and returns a tuple of the hframe, vframe and overlap values.
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.