26 #if defined (HAVE_CONFIG_H)
30 #include <QApplication>
47 #if defined (HAVE_QT_GRAPHICS)
49 gh_manager& gh_mgr = interp.get_gh_manager ();
51 autolock guard (gh_mgr.graphics_lock ());
53 qRegisterMetaType<graphics_object> (
"graphics_object");
55 gh_mgr.enable_event_processing (
true);
59 if (QThread::currentThread ()
60 != QApplication::instance ()->
thread ())
61 qt_gtk->moveToThread (QApplication::instance ()->
thread ());
73 octave_unused_parameter (interp);
74 octave_unused_parameter (oct_qobj);
Base class for Octave interfaces that use Qt.
void register_toolkit(const std::string &name)
void load_toolkit(const graphics_toolkit &tk)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void graphics_init(interpreter &interp, base_qobject &oct_qobj)