26 #if defined (HAVE_CONFIG_H)
30 #include <QPushButton>
43 octave::interpreter& interp,
44 const graphics_object& go)
61 octave::interpreter& interp,
62 const graphics_object& go,
68 btn->setAutoFillBackground (
true);
72 btn->setIcon (QIcon (QPixmap::fromImage (img)));
73 btn->setIconSize (QSize (cdat.
columns (), cdat.
rows ()));
87 case uicontrol::properties::ID_CDATA:
93 btn->setIcon (QIcon (QPixmap::fromImage (img)));
94 btn->setIconSize (QSize (cdat.
columns (), cdat.
rows ()));
static Object * parentObject(octave::interpreter &interp, const graphics_object &go)
virtual Container * innerContainer(void)=0
octave_idx_type rows(void) const
octave_idx_type columns(void) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
T::properties & properties(graphics_object obj)
QImage makeImageFromCData(const octave_value &v, int width, int height)