27 #include <QChildEvent>
28 #include <QVBoxLayout>
43 setFocusPolicy (Qt::ClickFocus);
67 canvasWidget->lower ();
68 canvasWidget->show ();
69 canvasWidget->setGeometry (0, 0, width (), height ());
84 foreach (
QObject* qObj, children ())
86 if (qObj->isWidgetType ())
105 if (xevent->child ()->isWidgetType ())
106 qobject_cast<QWidget*> (xevent->child ())->setMouseTracking (hasMouseTracking ());
virtual QWidget * qWidget(void)=0
virtual Matrix get_boundingbox(bool=false, const Matrix &=Matrix()) const
void resizeEvent(QResizeEvent *event)
octave_value get(bool all=false) const
void childEvent(QChildEvent *event)
std::string string_value(bool force=false) const
static Object * fromQObject(QObject *obj)
graphics_object get_ancestor(const std::string &type) 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)
base_properties & properties(void)