23 #if defined (HAVE_CONFIG_H) 27 #include <QChildEvent> 28 #include <QVBoxLayout> 43 setFocusPolicy (Qt::ClickFocus);
66 canvasWidget->lower ();
67 canvasWidget->show ();
68 canvasWidget->setGeometry (0, 0, width (), height ());
83 foreach (
QObject *qObj, children ())
85 if (qObj->isWidgetType ())
113 if (xevent->added ())
115 QObject *obj = xevent->child ();
117 if (obj && obj->isWidgetType ())
122 widget->setMouseTracking (hasMouseTracking ());
virtual QWidget * qWidget(void)=0
std::string string_value(bool force=false) const
void resizeEvent(QResizeEvent *event)
virtual Matrix get_boundingbox(bool=false, const Matrix &=Matrix()) const
void childEvent(QChildEvent *event)
bool valid_object(void) const
octave_value get(bool all=false) const
static Object * fromQObject(QObject *obj)
base_properties & get_properties(void)
graphics_object object(void) const
static Canvas * create(const std::string &name, QWidget *parent, const graphics_handle &handle)
static graphics_object get_object(double val)
Canvas * canvas(const graphics_handle &handle, bool create=true)
Container(QWidget *parent)
graphics_object get_ancestor(const std::string &type) const