summaryrefslogtreecommitdiffstats
path: root/scribus/plugins/scriptplugin/scripter2/scripter2_qtclass_qwidget.cpp
blob: 4a25c897367938b9cd1eeb957cafc85b07b2b0f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
For general Scribus (>=1.3.2) copyright and licensing information please refer
to the COPYING file provided with the program. Following this notice may exist
a copyright and/or license notice that predates the release of Scribus 1.3.2
for which a new license (GPL+exception) is in place.
*/
#include "cmdvar.h"

#include <QWidget>



void export_QWidget()
{
	using namespace boost::python;

	class_<QWidget,bases<QObject>,boost::noncopyable>(
			"QWidget",
			"A generic Qt widget")
		.def("show", &QWidget::show)
		.def("hide", &QWidget::hide);
}