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.
pytqt/sip/qt/qtmod.sip

287 lines
6.9 KiB

// This is the SIP interface definition for the qt module of PyTQt.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
// This file is part of PyTQt.
//
// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%Module qt 2
%Plugin PyTQt3
%Include versions.sip
%Include copying.sip
unsigned PYTQT_VERSION;
const char *PYTQT_VERSION_STR;
%ModuleCode
static unsigned PYTQT_VERSION = 0x031201;
static const char *PYTQT_VERSION_STR = "3.18.1";
%End
// Hook into the VendorID package if it is enabled.
%Feature VendorID
%If (VendorID)
%ModuleCode
#include <vendorid.h>
%End
%PreInitialisationCode
if (!vendorid_check())
{
PyErr_SetString(PyExc_RuntimeError, "PyTQt cannot be used with this Python interpreter");
return;
}
%End
%End
%DefaultMetatype qt.pyqtWrapperType
%DefaultSupertype qt.pyqtWrapper
// Include the interface definitions for each class.
// These contain enum and type definitions that need to be defined before they
// are used so they do not seem to be classes.
%Include qglobal.sip
%Include qnamespace.sip
%Include qwindowdefs.sip
%Include qpen.sip
%Include qpaintdevice.sip
%Include qpixmap.sip
%Include qbitmap.sip
%Include qsize.sip
%Include qsizepolicy.sip
%Include qaccel.sip
%Include qaction.sip
%Include qapplication.sip
%Include qarray.sip
%Include qassistantclient.sip
%Include qbrush.sip
%Include qbutton.sip
%Include qbuttongroup.sip
%Include qbytearray.sip
%Include qcdestyle.sip
%Include qcheckbox.sip
%Include qclipboard.sip
%Include qcolor.sip
%Include qcolordialog.sip
%Include qcolorgroup.sip
%Include qcombobox.sip
%Include qcommonstyle.sip
%Include qcstring.sip
%Include qcursor.sip
%Include qdatastream.sip
%Include qdatetime.sip
%Include qdatetimeedit.sip
%Include qdesktopwidget.sip
%Include qdial.sip
%Include qdialog.sip
%Include qdir.sip
%Include qdockarea.sip
%Include qdockwindow.sip
%Include qdragobject.sip
%Include qdrawutil.sip
%Include qdropsite.sip
%Include qerrormessage.sip
%Include qevent.sip
%Include qeventloop.sip
%Include qfile.sip
%Include qfiledialog.sip
%Include qfileinfo.sip
%Include qfont.sip
%Include qfontdatabase.sip
%Include qfontdialog.sip
%Include qfontinfo.sip
%Include qfontmetrics.sip
%Include qframe.sip
%Include qgmanager.sip
%Include qgrid.sip
%Include qgridview.sip
%Include qgroupbox.sip
%Include qhbox.sip
%Include qhbuttongroup.sip
%Include qheader.sip
%Include qhgroupbox.sip
%Include qiconset.sip
%Include qiconview.sip
%Include qimage.sip
%Include qinputdialog.sip
%Include qinterlacestyle.sip
%Include qiodevice.sip
%Include qkeycode.sip
%Include qkeysequence.sip
%Include qlabel.sip
%Include qlayout.sip
%Include qlcdnumber.sip
%Include qlibrary.sip
%Include qlineedit.sip
%Include qlist.sip
%Include qlistbox.sip
%Include qlistview.sip
%Include qlocale.sip
%Include qmainwindow.sip
%Include qmemarray.sip
%Include qmenubar.sip
%Include qmenudata.sip
%Include qmessagebox.sip
%Include qmetaobject.sip
%Include qmime.sip
%Include qmotifplusstyle.sip
%Include qmotifstyle.sip
%Include qmovie.sip
%Include qmutex.sip
%Include qmultilinedit.sip
%Include qnetworkprotocol.sip
%Include qobject.sip
%Include qobjectcleanuphandler.sip
%Include qobjectlist.sip
%Include qpaintdevicemetrics.sip
%Include qpainter.sip
%Include qpair.sip
%Include qpalette.sip
%Include qpicture.sip
%Include qpixmapcache.sip
%Include qplatinumstyle.sip
%Include qpoint.sip
%Include qpointarray.sip
%Include qpopupmenu.sip
%Include qprintdialog.sip
%Include qprinter.sip
%Include qprocess.sip
%Include qprogressbar.sip
%Include qprogressdialog.sip
%Include qptrlist.sip
%Include qpushbutton.sip
%Include qradiobutton.sip
%Include qrangecontrol.sip
%Include qrect.sip
%Include qregexp.sip
%Include qregion.sip
%Include qscrollbar.sip
%Include qscrollview.sip
%Include qsemaphore.sip
%Include qsemimodal.sip
%Include qsessionmanager.sip
%Include qsettings.sip
%Include qsgistyle.sip
%Include qsignalmapper.sip
%Include qsimplerichtext.sip
%Include qsizegrip.sip
%Include qslider.sip
%Include qsocketnotifier.sip
%Include qsound.sip
%Include qspinbox.sip
%Include qsplashscreen.sip
%Include qsplitter.sip
%Include qstatusbar.sip
%Include qstring.sip
%Include qstringlist.sip
%Include qstrlist.sip
%Include qstyle.sip
%Include qstylefactory.sip
%Include qstylesheet.sip
%Include qsyntaxhighlighter.sip
%Include qtabbar.sip
%Include qtabdialog.sip
%Include qtableview.sip
%Include qtabwidget.sip
%Include qtextbrowser.sip
%Include qtextcodec.sip
%Include qtextedit.sip
%Include qtextstream.sip
%Include qtextview.sip
%Include qthread.sip
%Include qtimer.sip
%Include qtoolbar.sip
%Include qtoolbox.sip
%Include qtoolbutton.sip
%Include qtooltip.sip
%Include qtranslator.sip
%Include qurl.sip
%Include qurlinfo.sip
%Include qurloperator.sip
%Include quuid.sip
%Include qvalidator.sip
%Include qvaluelist.sip
%Include qvariant.sip
%Include qvbox.sip
%Include qvbuttongroup.sip
%Include qvgroupbox.sip
%Include qwaitcondition.sip
%Include qwhatsthis.sip
%Include qwidget.sip
%Include qwidgetlist.sip
%Include qwidgetstack.sip
%Include qwindow.sip
%Include qwindowsstyle.sip
%Include qwindowsxpstyle.sip
%Include qwizard.sip
%Include qwmatrix.sip
%Include qworkspace.sip
// The build file templates.
%Makefile qt.pro.in
# The project file for the qt module.
#
# Copyright (c) 2007
# Riverbank Computing Limited <info@riverbankcomputing.co.uk>
#
# This file is part of PyTQt.
#
# This copy of PyTQt is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2, or (at your option) any later
# version.
#
# PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
TEMPLATE = lib
TARGET = @BLX_TARGET_LIB@
DESTDIR = @PYQT_MODDIR@
CONFIG += @BLX_CONFIG_LIB@ @PYQT_WARN@
INCLUDEPATH = @BLX_INCLUDEPATH@
DEFINES = @BLX_DEFINES@
LIBS += @PYQT_QASSISTANTCLIENT_LIB@ @BLX_LIBS@
macx:QMAKE_LFLAGS += -framework Python
SOURCES = $B
HEADERS = $H
%End