Back to index

scribus-ng  1.3.4.dfsg+svn20071115
scripter2_qtclass_qwidget.cpp
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #include "cmdvar.h"
00008 
00009 #include <qwidget.h>
00010 
00011 
00012 
00013 void export_QWidget()
00014 {
00015        using namespace boost::python;
00016 
00017        class_<QWidget,bases<QObject>,boost::noncopyable>(
00018                      "QWidget",
00019                      "A generic Qt widget")
00020               .def("show", &QWidget::show)
00021               .def("hide", &QWidget::hide);
00022 }
00023 
00024