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,
73 btn->setCheckable (
true);
74 btn->setAutoFillBackground (
true);
78 btn->setIcon (QIcon (QPixmap::fromImage (img)));
79 btn->setIconSize (QSize (cdat.
columns (), cdat.
rows ()));
93 case uicontrol::properties::ID_CDATA:
99 btn->setIcon (QIcon (QPixmap::fromImage (img)));
100 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)